This answer depends in your execution template. During execution, a variable replacement value will be realized in the following order. While this can be modified by changing your generation template, this is the standard contract
- We lookup the key as a system/environment variable. Regardless of the lookup type (data, context, secret, etc), this is the first step. If this value is set, it is always used
- We lookup the key as a context variable. Following the same pattern as #1, we can override any lookup with a context variable.
- Finally, we use the defined lookup (secret,data,environment, etc).
For templates based off of Java you can use the -D command line parameter to set a variable. For example, if I had context variable named myValue and I wanted to set that to true at runtime I would do something like this for a suite named Actions.
java -DmyValue="true" -jar Actions.jar
cm