Skip to content

Allure Rest Assured plugin does not attach Request form params in the report #469

Description

@loveshjain

I'm submitting a ...

  • feature request

What is the current behavior?

The report only attach url, method, headers, body, cookies of a request but does not attach the form params.

https://github.com/allure-framework/allure-java/blob/master/allure-rest-assured/src/main/java/io/qameta/allure/restassured/AllureRestAssured.java#L80

What is the expected behavior?

The report should display form params as well or should have capability to customize what all things of a request we want in the report

What is the motivation / use case for changing the behavior?

My request has form params and I would like them to be displayed in report as part of the request attachment.

                  given()
			.header("content-type", "valid content type")
			.formParam("abcd", "abcd")
			.formParam("xyz", "xyz")

https://github.com/allure-framework/allure-java/blob/master/allure-rest-assured/src/main/java/io/qameta/allure/restassured/AllureRestAssured.java#L80

image

Allure version 2.2.0
allure-rest-assured 2.13.5
Generate report using allure-maven@2.13.5

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions