sonya_m
Alumni
5 years ago[TechCorner Challenge #9] A script to include custom details to the report
Hi ReadyAPI Community!
I bring more challenges π
If you have the "Complete error logs" option enabled, the printable report includes the Raw request and Raw response for the failed test steps. But, you may need to get this info for passed test steps, as well.
Currently, there is no built-in option in ReadyAPI to show raw request and response of passed test steps in the printable (Jasper) report.
Task: Write a Groovy script for the "TestRunListener.afterStep" event that will post the raw request URL and the full raw response to the printable report.
Difficulty:
Here is an example:
Check out the TechCorner Leaderboard here.
Good luckπ