Codeception / Codeception/module-rest

Add parameter to not log Response during executing REST requests

Open
#83 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
60
Forks
30
Avg merge
22h 37m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.