How to disable base-64 encoding of request body and response body when using the runner #2141
-
I'm executing the runner with runner = schemathesis.runner.from_schema(
schema
) I would like to see the request body and response body when a test fails, but it is base64-encoded. Alternatively, how can I generate a cassette without using the CLI? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I added some helper methods for payload decoding in #2163 ( Hm, there is no direct integration between |
Beta Was this translation helpful? Give feedback.
-
Awesome! Thanks a lot for adding those methods. |
Beta Was this translation helpful? Give feedback.
I added some helper methods for payload decoding in #2163 (
deserialize_body
)Hm, there is no direct integration between
CassetteWriter
and the runner :(It is mostly a matter of refactoring so they can be used together