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

[FEATURE] add insertion_point_base_key to skip some parameters #240

Open
cgct opened this issue Jan 3, 2025 · 0 comments
Open

[FEATURE] add insertion_point_base_key to skip some parameters #240

cgct opened this issue Jan 3, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@cgct
Copy link

cgct commented Jan 3, 2025

What is the problem you are trying to solve?

We may not need to test all parameters and need to skip some special parameters, such as: cookie=, action=

How are you currently being hindered by this problem?

Currently, there is only this variable insertion_point_base_value for give insert point

How would you like this problem to be solved?

I suggest adding this variable to represent the parameter name insertion_point_base_key

Any additional details?

The effect I want to achieve is as follows

given query or body insertion point then
    if {base.request.url.path} matches ".*api.*" then
        if not({insertion_point_base_key} matches "(cookie|action|token)") then
	        if {insertion_point_base_value} matches "^\d+$" then
			    send payload called one_quote:
			        appending: {addition}
	        end if
	end if 
    end if
@cgct cgct added the enhancement New feature or request label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant