Forum Discussion
nmrao
Champion Level 3
Assertion message will be part of the report, not the log.info
vijayk1
6 years agoOccasional Contributor
- nmrao6 years agoChampion Level 3Glad to know that it helped.
- prajakta5 years agoOccasional Contributor
Can you please elaborate how to send ?
- vijayk15 years agoOccasional Contributor
response= testRunner.testCase.getTestStepByName("TestStep name").getPropertyValue("Response")
parsedResponse = new JsonSlurper().parseText(response)
def X=parsedResponse.TESTValue // value you need to assert or check
assert (X == '1234' ) : response // this will post complete response in reportHope this help.
Related Content
- 10 years ago
Recent Discussions
- 5 days ago