Example - Integrate Allure Report
Explore how to integrate Allure reporting with REST and SOAP API automation tests. Understand attaching requests and responses to reports using Rest Assured filters and manual attachment in Spring WS SOAP, improving test result clarity.
We'll cover the following...
We'll cover the following...
Attaching request and response in allure report
In addition to the already-discussed dependencies for Allure like allure-testng, which adds every step of the test execution to the report, we can customize the report further and add a few additional capabilities to the report, like attaching the request and response.
Rest Assured
The following dependency will help to attach the requests and responses to the report while using Rest Assured:
Gradle
compile 'io.qameta.allure:allure-rest-assured:2.13.2'
Maven
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-rest-assured</artifactId>
<version>2.13.2</version>
< ...