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

Add an option to match only the generated payload #1009

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Hazegard
Copy link

@Hazegard Hazegard commented Nov 1, 2024

When the server is run with the wildcard option, the client currently displays all interactions. This PR introduces an option to restrict the client to display only interactions that match the currently generated payloads.

Note: The "matcher" and "filter" code has been slightly reworked to support both custom matchers and those derived from generated payloads, utilizing the newly added option.

When the server is run using the wildcard option,
the client displays all interactions. This option allows
the client to only match and displays the currently
generated payloads.
@ehsandeep ehsandeep changed the base branch from main to dev November 1, 2024 22:43
Copy link
Member

@Mzack9999 Mzack9999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hazegard Thanks for this PR. Would it be possible to provide more context about the use case? Have you considered disabling the wildcard option server side, as it will use memory and network for interactions that will be later just discarded?
I'm trying to better understand the context to consider if making this the default behavior and changing the option to something like -wildcard-interactions on the client side to just show wildcard if requested.

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

Successfully merging this pull request may close these issues.

2 participants