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

Add capability to log request details #33

Closed
bheemreddy181 opened this issue Nov 16, 2022 · 5 comments
Closed

Add capability to log request details #33

bheemreddy181 opened this issue Nov 16, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request waiting for feedback Waiting for feedback from issue submitter

Comments

@bheemreddy181
Copy link

Can we log both requests and response for the log function ?

@basdijkstra
Copy link
Owner

Well, not yet, but that’s something that I could implement (logging requests). Consider it done! Thank you for the suggestion.

@basdijkstra basdijkstra self-assigned this Nov 16, 2022
@basdijkstra basdijkstra added the enhancement New feature or request label Nov 16, 2022
@basdijkstra basdijkstra changed the title [Question] Log requests along with response Add capability to log request details Nov 16, 2022
@basdijkstra basdijkstra added in progress This issue is currently being worked on waiting for feedback Waiting for feedback from issue submitter and removed in progress This issue is currently being worked on labels Nov 16, 2022
@basdijkstra
Copy link
Owner

basdijkstra commented Nov 16, 2022

Added in ab5ebf6

@bheemreddy181, your feedback please? It works exactly the same as for response details, but there's an extra option to just print the endpoint.

Here's the docs: https://github.com/basdijkstra/rest-assured-net/wiki/Usage-Guide#logging-request-details

If you're happy with this, I'll probably create a 1.2.0 release tomorrow for you and others to test and use.

@bheemreddy181
Copy link
Author

do we need to add multiple log.all one for request and one for response ? @basdijkstra

@basdijkstra
Copy link
Owner

Yes.

@bheemreddy181
Copy link
Author

Sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for feedback Waiting for feedback from issue submitter
Projects
None yet
Development

No branches or pull requests

2 participants