Forum Discussion
Create Testsuite and add your test cases for Get and Post requests.
Thanks for the suggestion. This "creates a new REST service and a REST Request test step for it."
When I specify the URL as ${#Project#Endpoint}${#Project#basepath}/resource it tells me I have an invalid URL. If I use a "real" URL, then edit the path later, it generates extra slashes that I can't remove.
Grr.
- MojoLA7 years agoOccasional Contributor
Example: I created a new TestSuite and a new REST method, as a POST, and gave it a URL of http://localhost:8080/playlist/findPlaylist
So now I have an empty TestCase. I can edit the Endpoint to be ${#Project#Endpoint} but there's no way to edit the resource field to make it ${#Project#basepath}/findPlaylist.
no luck.
- PaulMS7 years agoSuper Contributor
If a resource has 2 methods with identical names the first method is selected when adding the request to a testcase.
You can right click to rename the methods e.g. findPlaylist POST and findPlaylist GET. That doesn't change the findPlaylist resource path only the name.
Related Content
Recent Discussions
- 18 hours agogroovyguy