alibaba82
15 years agoSuper Contributor
print assertion name, status, and message via groovy
Hello,
I have a testcase tear down script, which need to print the assertion name, status, and error message (if any)
testcase example
data source
soap step 1
rest step 1
jdbc step 1
data source loop
so printing out something like this to a file would be desired
row=1
soap step 1
-- soap assertion - passed
rest step 1
-- contain assertions - failed - some message
jdbc step 1
-- xpath assertion - failed - some message
row=2
soap step 1
-- soap assertion - passed
rest step 1
-- contain assertions - passed
jdbc step 1
-- xpath assertion - failed - some message
Thanks
I have a testcase tear down script, which need to print the assertion name, status, and error message (if any)
testcase example
data source
soap step 1
rest step 1
jdbc step 1
data source loop
so printing out something like this to a file would be desired
row=1
soap step 1
-- soap assertion - passed
rest step 1
-- contain assertions - failed - some message
jdbc step 1
-- xpath assertion - failed - some message
row=2
soap step 1
-- soap assertion - passed
rest step 1
-- contain assertions - passed
jdbc step 1
-- xpath assertion - failed - some message
Thanks