Hi All,
I was exploring the possibility of capturing the Raw Requests and responses in the Junit style HTML report that is generated after the test execution. In my previous company our team had written a library and did some scripting in groovy in tear down steps to generate an custom HTML report file and also capture the raw requests and responses from each REST step. But I was looking if there is any in built mechanism or settings in SOAP UI pro that captures the same in the report that is automatically generated after an execution of a test case / test suite.
Thanks,
Arjun
Solved! Go to Solution.
You can get help from below link on how to add request and response in junit reports
Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓
You can get help from below link on how to add request and response in junit reports
Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓
Thanks for the pointers @HimanshuTayal . I think the solution in the link that you shared is applicable only to the Printable style of report. I am looking at appending requests and responses to the J unit report.
But the J unit HTML report however does not go to the granular and detailed level of displaying each test step does it ? It only displays the test cases in each test suite and whether it passed or failed. Since that is the case I guess I cannot expect the raw request and response to be captured in J unit report.
Hi @arjunrao , please check out this article for more info about JUnit-style HTML reports:
https://support.smartbear.com/readyapi/docs/testing/reports/existing/html.html
Also, the following article mentions that "JUnit-Style HTML reports – Use them to get a simple overview of functional test results in the HTML format."
So, yes, you are correct. This is just an overview.
Thanks @sonya_m .
Never mind I used some of the resources in the links shared above and added some of my own custom groovy scripting to generate a HTML report. Closing this topic.
@arjunrao Glad to hear this! Would you mind sharing the custom script you created so that anyone facing the same task would find it here? That would be awesome!
User | Count |
---|---|
7 | |
6 | |
6 | |
2 | |
1 |
Subject | Author | Latest Post |
---|---|---|