Search code examples
cucumberrest-assured

How do I generate reports using RestAssured with cucumber


I'm new to Cucumber and RestAssured framework.

I want to generate reports using RestAssured with cucumber in my project.

Please let me know if you need any more information on this regard.


Solution

  • RestAssured does not provide you reporting options. However if you are using Maven then go for surefire plugin report (add it as dependency to your POM.xml) and it will help you pull in reports based on the junit tests that you run.

    Else, Serenity framework combined with Rest Assured provides very detailed reports infact it logs all the requests and responses intuitively. This guide will help integrating serenity with rest assured.