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
- nmrao8 years agoChampion Level 3Are those are properties set in that test case? or do you need to pass them from here?
- 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?
Related Content
- 10 years ago
- 4 years ago
Recent Discussions
- 2 days ago
- 2 days ago