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

Expression based filters #36

Open
LakiG opened this issue Mar 24, 2023 · 0 comments
Open

Expression based filters #36

LakiG opened this issue Mar 24, 2023 · 0 comments

Comments

@LakiG
Copy link
Collaborator

LakiG commented Mar 24, 2023

The filter feature has a parameter - size, which validates the length of string/size of array/no of pairs in the object.
At the moment, it supports equality between the "filter" size and the "response" size.

Add support to define expression-based conditions in filter size (and other new parameters in future).

Example. A test case could be to pass only if the response size is greater than 2. The filter size can be defined as -

filter:
  size: size>2
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

1 participant