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 parameter to not log Response during executing REST requests #83

Open
JGladykowski-modus opened this issue May 8, 2018 · 1 comment

Comments

@JGladykowski-modus
Copy link

REST requests (ex. sendPOST) always output response , through execute method: $this->debugSection("Response", $printedResponse);

However our tests do a lot of requests, and in return get whole body of web page, which pollutes log.

This is why I would like to add parameter, which suppresses printing whole response. If such contribution would be welcomed, I can provide pull request.

@SamMousa
Copy link
Contributor

That output is only enabled in debug mode?
If changes are needed here, would it not make most sense to introduce some kind of debug verbosity setting instead of creating individual flags?

@Naktibalda Naktibalda transferred this issue from Codeception/Codeception Jun 21, 2022
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

2 participants