Codeception / Codeception/module-rest

Add parameter to not log Response during executing REST requests

Offen
#83 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
60
Forks
30
Ø Merge
22 Std. 37 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.