Forum Discussion
I am also curious about this + if there is any way to make the junit report prettier.
- Lucian6 years agoCommunity Hero
Up!
I am very interested in this. Can anyone help? Other custom reportings don't seem to help since I want to be able to navigate through the report exactly as it is now except for a few more details in the content.
Olga_T, please heeeeelp! :P
- Olga_T6 years agoSmartBear Alumni (Retired)
Hi all,
I'll do my best, Lucian :smileywink:
I have just asked one of our engineers, Nastya_Khovrina, for assistance, and she has replied that, unfortunately, you cannot customize JUnit-Style reports.
You can customize only printable reports: https://support.smartbear.com/readyapi/docs/testing/reports/customizing.html
When using printable reports, ReadyAPI will output endpoints, as well as requests and response content for failed SOAP and REST test steps if the "Complete error logs" option is enabled: https://www.screencast.com/t/yl82E21jwI
I hope this helps,
- JHunt6 years agoCommunity Hero
Are we talking about the JUnit-Style Report in SoapUI Open Source TestRunner (which produces an XML), or the JUnit-Style HTML Report in ReadyAPI?
Talking only for the Open Source (XML) version...
You could have your TestCases update their own properties. Then enable the option to include test properties in the JUnit-Style report.
For instance, run a Groovy script at the end of each test that does:
testRunner.testCase.setPropertyValue("MySomething", "ItsValue")
In the XML report, you will have
<testcase time="0.062" name="TestCase 1"> <properties> <property name="Blah" value="Blah123"/> </properties> </testcase>
Related Content
Recent Discussions
- 6 days agoruchisingh