Forum Discussion
nmrao
6 years agoChampion Level 3
Assertion message will be part of the report, not the log.info
- vijayk16 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
- 7 years ago
- 8 years ago
Recent Discussions
- 14 days ago
- 21 days ago