I have Rest Assured-TestNG based automation suite and it uses Extent Reports. I need a way to make all the logs from Rest Assured also to be logged into Extent Reports.
I am using log4j for logging Rest Assured requests and responses into files and console, can these logs be feed into Extent Reports?
Is there any way to do it?
Following sample code generates the Extent Reports and Logs the details. Please not you will need the following dependencies as well to successfully execute.
Make sure the above dependencies are updated in the pom
Here is the sample output I received using the above piece of code: