Codeception / Codeception/module-rest

Add parameter to not log Response during executing REST requests

Aperta
#83 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
60
Fork
30
Merge medio
22h 37m
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.