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

Serenity Rest Assured not printing the rest query in the index.html report #1414

Closed
silviya123 opened this issue Oct 17, 2018 · 10 comments
Closed

Comments

@silviya123
Copy link

Version tested:
serenity Core Version=2.0.7
serenity Rest Version=2.0.7
serenity Cucumber Version=1.9.18

Test scenario:

Post a SOAP request.//with proxy
given().headers(headermap).proxy("sample-xxxxxx.test.xxxxx.com.au", 8080).when().body(payLoadWithRequestData).post(endPointUrl);

The request is getting posted and getting the correct response. But the RestQuery is not printed in the index.html.

I checked the same for another request which doesn't have proxy and the RestQuery is present in the index.html with all the details.(Header,request,respone,cookies)

Could you please assist.

@wakaleo
Copy link
Member

wakaleo commented Oct 17, 2018

I can't reproduce this; could you be more precise about what you mean by "the RestQuery is not printed in the index.html"?

@silviya123
Copy link
Author

Hi John,

I mean the Rest Query is not displayed in the generated Serenity report.
And this is occurring only when a request has proxy added to it.

Thanks
Silviya

@wakaleo
Copy link
Member

wakaleo commented Oct 17, 2018

Can you provide a sample project that reproduces the issue?

@silviya123
Copy link
Author

mp-001_api_test.zip

Attached the project, along with the target folder

@silviya123
Copy link
Author

Hi John,

Could you please help on this.

Thanks
Silviya

@wakaleo
Copy link
Member

wakaleo commented Oct 25, 2018

It is on the backlog, and will most likely get looked at eventually. But since this is an open source project, there is no SLA or guarantee of response. If this is an urgent problem, you may want to consider some of the commercial support options: https://johnfergusonsmart.com/serenity-bdd-mentoring/#support

@silviya123
Copy link
Author

Ok Thanks John. As a workaround we are now using recordReportData() and it working as expected.

Thanks
Silviya

@wakaleo
Copy link
Member

wakaleo commented Oct 29, 2018

@silviya123 That is a good work-around. I had a quick look and it looks like it is not a trivial fix, so may take some time.

@wakaleo wakaleo closed this as completed Feb 12, 2022
@karthikmkulkarni
Copy link

@wakaleo is this fix done ? if so can you please help me the serenity version to be used for the same? Thanks in advance!
@silviya123

@wakaleo
Copy link
Member

wakaleo commented Apr 8, 2022

I don't think any work has been done on this.

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

3 participants