Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
loveshjain opened this issue Sep 7, 2020 · 4 comments
Closed
1 task

Comments

@loveshjain
Copy link

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 [email protected]

Other information

@ristoporila
Copy link

I am looking for a way to implement this as well. Would be a useful feature.

@baev
Copy link
Member

baev commented Nov 12, 2020

If you'll provide a PR I would glad to merge it

@Phoenix124
Copy link
Contributor

@baev you could close this Issue due new feature #1016

@baev
Copy link
Member

baev commented Mar 12, 2024

fixed via #1016

@baev baev closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants