Forum Discussion

abhi_057's avatar
abhi_057
Visitor
4 years ago
Solved

Unable to set endpoint separately for two REST request steps

I have a need of setting different endpoints for two REST steps of a test case.    I am using below groovy in setup script of Test case:    testRunner.testCase.getTestStepByName("http_request_200...
  • HimanshuTayal's avatar
    4 years ago

    abhi_057 :

     

    You can use below command to set Endpoint for particular step:

     

    testRunner.testCase.getTestStepByName("SOAP Request").setPropertyValue("Endpoint","testing")

    Hope it will help you in resolving your error.