Forum Discussion

dev16's avatar
dev16
Contributor
7 years ago

How to modify or replace Request URL in post method

Hi

In first step..login post .. i am getting token id and in second step post method where i need to create one record 

so my doubt is ...in first login post i am using "http://www.abc.com/public/login" and in second step post method where need to create one record where i need to add request URL "http://www.abc.com/addresss/number=27" 

I am generally using clone Testcase option where i m copying first login test case 

so now i want to modify or replace the new second Request URL

 

plz guide me

 

Thanks

mahadev

 

6 Replies

    • dev16's avatar
      dev16
      Contributor

      Thanks , will see this video

      In my Test Case 1 .. i am right click on test step where select the Add STEP options and select the REST Request then getting one pop up "Specify name for new step" ..then enter Rest request step1 and click on OK button then again get one pop up to "select Rest method to invoke for request"...drop down ...with included login URL ( "http://www.abc.com/public/login")

       

      So Here if i need to add other Request URL or end point like  "http://www.abc.com/api/medicalinfo"

      So how i can add this new URL.

       

      Thanks

      Mahadev

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        Are you using ".wadl" or "swagger" definition for your API?