Forum Discussion

sntreadyapi's avatar
8 years ago

How to change the status of a test step/test case to 'Warning' instead of success or failure?

Hi,

 

I am using ReadyAPI to test some Restful APIs. I want some test steps to change the status to 'Warning' based on certain conditions. I am able to change the test case status to 'Warning' by writing a tear down script. But this test case is not listed in the HTML report. 

 

How do I change the test case/test step status to 'Warning' and get it listed in the Junit style HTML report?