This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hello, in your javascript file you can do this
context.setVariable('request.header.','');example
for a header called "new-header", applied to the Request object:if
(myFunction()) { // truthy
context.setVariable('request.header.new-header','any-value-...
I'm not an expert but Im guessing this property is mainly for XPATH or
JSONPath expressions. For other variable mappings, any variable that
referenced either can be exist or not exist and both way it is
considered resolved. See xpath and jsonpath exp...
Hi, this is actually how ExtractVariables policy works. Whether you set
IgnoreUnresolvedVariable true or false it wont throw an error for
variables you'r not passing, it treat them as null which is resolved.