GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — allure-java/allure-rest-assured at main · MohabMohie/allure-java

Expand file tree

/

allure-rest-assured

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

allure-rest-assured

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 

README.md

Outline

allure-rest-assured

REST Assured filter integration for Allure Java.

Use this module when your API tests use REST Assured and you want each request and response to be visible near the step that produced it in Allure Report.

Supported Versions

  • Allure Java 3.x requires Java 17 or newer.
  • This module targets REST Assured 6.x.
  • The current build validates against REST Assured 6.0.0.

Installation

Gradle:

dependencies {
    testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
    testImplementation("io.qameta.allure:allure-rest-assured")
}

Maven, with allure-bom imported in dependency management:

<dependency>
    <groupId>io.qameta.allure</groupId>
    <artifactId>allure-rest-assured</artifactId>
    <scope>test</scope>
</dependency>

Setup

Register io.qameta.allure.restassured.AllureRestAssured as a REST Assured filter.

given()
        .filter(new AllureRestAssured())
        .when()
        .get("/orders");

You can customize sensitive data handling before registering the filter:

AllureRestAssured allure = new AllureRestAssured()
        .configureHttpExchange(exchange -> exchange
                .redactHeader("X-Api-Key")
                .redactCookie("SESSION")
                .setMaxBodySize(64 * 1024));

Report Output

  • Request method, URL, headers, cookies, form parameters, and body.
  • Response status, status text, headers, body, and timing.
  • Redacted REST Assured blacklisted headers and any custom redaction rules you configure.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.