William_Willafo
16 years agoOccasional Contributor
WADL Import Gives Duplicate Method Names
We have a number of web services with a single GET method for a resource, but several POST methods. The POSTs are distinguished by the XML sent to the resource.
When I import a WADL for these services, a method is created for each POST, as expected. However, they are all named POST. When I then generate test cases, it creates a test case for each method, but all the test cases actually reference the first method.
The workaround is simply to rename the POST methods to unique names, but shouldn't the importer do that for us?
When I import a WADL for these services, a method is created for each POST, as expected. However, they are all named POST. When I then generate test cases, it creates a test case for each method, but all the test cases actually reference the first method.
The workaround is simply to rename the POST methods to unique names, but shouldn't the importer do that for us?