-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Redirect endpoint url is not displaying in Serenity Report #2037
Comments
I’m not sure this is possible - Serenity simply reports what you provide to RestAssured, not what happens when you send the request over the network. Could you add a screenshot of the reports to show what you mean? |
I THINK he relates to something i just stumbled upon today too: When you do a GET request you see above the REST Query section all details, complete URL of the request (for testing / reproducing an failure,...) But with POST you see just the basic URL but no information about which form params have been sent (please note that this applies only to url encoded from submissions, where the data is in params(), if you place it in body for plain POJO/JSON calls its displayed.... So its probably a feature request? But one that would make really sense! ;) |
@wakaleo BTW i did a small utility to add the requests as cURL commands. Its PoC but might be something to consider to add to mainline as it would make reproducing bugs really really easy ;) The reporter is alpha and by far not feature complete.... How to use
cURLReporter class
|
Serenithy version 2.0.83
for generate token i need to use redirecturl. i use the below code for generate token. But in report it is displaying only the base url not showing the redirect url and other information
Response response =
given()
.header("Authorization",:)
.contentType("application/x-www-form-urlencoded")
.params("grant_type","authorization_code") .params("redirect_uri",REDIRECT_URL)
.params("response_type","code")
.params("code", AUTHORIZATION_CODE)
.auth()
.preemptive()
.basic(CLIENT_ID, CLIENT_SECRET)
.when()
.post(BASE_URI+"/oauth2/token");
The text was updated successfully, but these errors were encountered: