Ask a Question

How to enhance the report in jenkins to get test step level failures


How to enhance the report in jenkins to get test step level failures

Hi All. I'm using ReadyAPI 3.0 

My Expectation is:

   Right now, I'm running my automation in jenkins. I have used couple of "Run Test Step" approach. Let say, 

            Test Case A ---> Run Test Step (will call test case B).

            Test case B ---> Run Test Step (Will call test case C). If any failures happens in B or C. I'm only getting "test failed due to run test step" instead is it possible to get the exact failure of B or C in Test Case A? I've tried some listener it does the job, but it printing the logs in jenkins console level. I would like to have in a email format that readyAPI already generating. So I can use that to send developers. Is there anyway for that ? if not any alternate approach would br highly appreciated. Thanks

Community Hero

What does the listener do ?

SmartBear Alumni (Retired)

@arunbharath, if the issue still persists, could you please provide more information?

This will help the community understand what is going on in your lab better.

Sonya Mihaljova
Community and Education Specialist

Hi nmrao. Sorry for late reply. Listener printing test step result in the jenkins console log. but I would like to have it in the readyAPI generated report.

Hi sonya_m. I'm looking for test-step level readyapi reports instead of test case level. I'm using "RUN TEST CASE" to call different test cases into a single case. But readyAPI is only generating test case level report, So I'm not getting any clue what is happening in the called testcases if any failure happens. So I'm looking for any suggestions or solutions to get the test-step level failures in the report.

SmartBear Alumni (Retired)

Hi @arunbharath ,

You can command ReadyAPI to generate an external report containing the details about failed test steps by specifying the -F or -R command-line options in the runner's command line. ReadyAPI supports the following formats: PDF, XLS, HTML, RTF, CSV, TXT and XML, and all of them should include the information you need. Please refer to the following help topics for details:
Preconfigured Report Styles 
Command-Line Arguments 

How does it work for you?


Customer Care Team

Did my reply answer your question? Please give Kudos or Accept it as a Solution to help others.

Hi Julia. I tried the way you said, but it still providing reports on testcase level instead of test step level

Showing results for 
Search instead for 
Did you mean: