Assertion teststep fails with error "Failed- null/empty response body"
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2016
06:57 AM
08-15-2016
06:57 AM
Assertion teststep fails with error "Failed- null/empty response body"
I am creating assertion teststep for JSONPath match for existing JSON content (read from file using Groovy) with the one from Response of the GET request. If checked in assertion UI with 'Test' functionality it shows 'Matches content' & even Response content is verified using "Select from Current".
So it mean though the response is available assertion teststep shows empty response body which is causing the failure.
The same thing works if I put the assertion of GET Req. teststep but for certain mechanism I have to use via assertion test step.
Thanks.
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2016
07:39 AM
08-15-2016
07:39 AM
Hi,
Right click on TestCase > Options > Uncheck Discard results if passed.
Thanks
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
