-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Inside the user manual, it says that you are able to easily add custom namespaces to Tiger via
TigerJexlExecutor.registerAdditionalNamespace(<namespace-prefix>, <namespace class or object)
This is taken from "Chapter 6.10.3 Adding custom namespaces"
But this does not work how we expect it to work. We would like to add a custom namespace which is able to be called inside the tiger config at the very start of the testsuite to manipulate the headers from requests going through the proxy.
The example code we want to use is as follows:
Proxy:
type: tigerProxy
tigerProxyConfiguration:
modifications:
- condition: "isRequest"
targetElement: "$.header['X-Flow-Id']"
replaceWith: "!{perf:uuid()}"
Other values are omitted for clarity. We have the custom namespace called "perf" which we want to use inside the "replaceWith" block. This does not resolve though because the namespace is not loaded yet.
ma3me
Metadata
Metadata
Assignees
Labels
No labels