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

Filter response keys before print result to the screen #1550

Open
1 task done
d0niek opened this issue Jan 8, 2024 · 1 comment · May be fixed by #1602
Open
1 task done

Filter response keys before print result to the screen #1550

d0niek opened this issue Jan 8, 2024 · 1 comment · May be fixed by #1602
Labels
enhancement New feature or enhancement new Needs triage. Comments are welcome!

Comments

@d0niek
Copy link

d0niek commented Jan 8, 2024

Checklist

  • I've searched for similar feature requests.

Enhancement request

It would be nice to have an option which allows to remove some key(s) from response before it will be print to the screen.


Problem it solves

I'm always frustrated when I have to scroll my screen up every time when the response is long. In some testcase(s) I'm interesting in a specific json key(s) and response header but some of the key(s) has really looong content and I don't care of it.


Additional information, screenshots, or code examples

It would be nice to have an option --filter-keys foo,bar.boo which will remove those keys from response before it will be well formatted.

@d0niek d0niek added enhancement New feature or enhancement new Needs triage. Comments are welcome! labels Jan 8, 2024
@lavanyagarg112
Copy link

I have implemented this feature (PR: #1602)!
It is still marked as draft as I need to modify to adhere to code style, etc as per the checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement new Needs triage. Comments are welcome!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants