Can we customize the junit report to print messages sent through ex. groovy script?
I am also curious about this + if there is any way to make the junit report prettier.
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!
Hi all,
I'll do my best, @Lucian
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,
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>
By any Luck, if you got the solution or any way to do styling in JUnit HTML report please do share it, as many of us wants to do the same.
Thanks,
Himanshu Tayal
From what I understand this is not possible.
I am working on a project to create a custom html report. I will create a git project and anyone will be invited to join...
Here it is: https://github.com/lucadln/soapui/tree/master/ReadyAPI/Reporting
I will work on it and post the results here someday...
Thanks a lot for sharing