alvinkhow
5 years agoOccasional Contributor
Generate test step status to DataSink
I have create one test case with more than 100 test data for different condition/scenario in DataSource.
At test step 3, i have add an assertion "Json_status" and "Json_statusMsg" to validate the test result in rest response..
So, how to add the test result (passed/failed) for each row test data based on status of assertion in test step 3 to property "finalTestResults" in DataSink.
Do it in simple way and finally managed to get expected result
${=testRunner.results[testRunner.results.size()-1].status}