Forum Discussion
Thanks RAO for the response . I have tried this earlier and now also and got the same result.Let me share more details that might help in providing suggestions to this issue.
When I invoke the rest method through groovy script, it looks like it is not passing parameter values.
request: GET /DataVisionService/dh/login// HTTP/1.1
DEBUG:Receiving response: HTTP/1.1 404 Not Found
But when i execute the same request by clicking run button, it is successfully passing parameters and executing the request correctly.
DEBUG:Sending request: GET /DataVisionService/dh/login/userid/password HTTP/1.1
DEBUG:Receiving response: HTTP/1.1 200 OK
Please find the attached screenshot of parameter substitution.
Thanks,
Ravindra
- ravibabu_it8 years agoOccasional Contributor
I am creating and setting properties values in the test case during run time..I checked and those properties are set correctly. Manually I have refereed those values in rest method as ${#TestCase#userid} .Please let me know if you need any more information. Thanks once again for looking into the issue.
myTestCase.setPropertyValue(inputtagList,inputValueList)
def x = myTestCase.getPropertyValue(inputtagList)
log.info " x: $x"Thanks,
Ravindra
- nmrao8 years agoChampion Level 3Hmm..
Is it possible for you to use "Run Test Case" step instead? Just to see if that is working?- ravibabu_it8 years agoOccasional Contributor
I am not sure how to do that one. Let me research on the syntax and get back to you. Incase if you have syntax handy, please share. Appreciate your support.
Related Content
- 2 years ago
- 10 years ago
Recent Discussions
- 2 days ago
- 2 days ago