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

Control what to show/ hide in request/ response bodies #1181

Closed
Batsh opened this issue Feb 11, 2024 · 3 comments
Closed

Control what to show/ hide in request/ response bodies #1181

Batsh opened this issue Feb 11, 2024 · 3 comments

Comments

@Batsh
Copy link

Batsh commented Feb 11, 2024

In my project there are many requests that contain Base64 which can be a very large string that could cause ANR when trying to see the details of APIs calls.

it would be nice if we can replace large strings with a truncated value like this for example:
image:[truncated]

@cortinico
Copy link
Member

That you can already do today by setting a .maxContentLength(...) as suggested here

https://github.com/ChuckerTeam/chucker#configure-

@Batsh
Copy link
Author

Batsh commented Feb 13, 2024

@cortinico this doesn't solve the issue I'm facing.

redactHeaders() works for headers, but there is no method to redact request body or response values that can take much space in the body

@cortinico
Copy link
Member

redactHeaders() works for headers, but there is no method to redact request body or response values that can take much space in the body

I mentioned maxContentLength(), not redactHeaders()

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