How can I read the value of a global variable into the portman-config.json file? #649
Closed
nileshvaghasiya
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I set a global variable from a response in one collection, like this:
Created .js file and then call into extendTests in config file.
Now, I'm trying to read that variable's value in another collection's API using the following:
"overwriteRequestPathVariables": [
{
"key": "registerId",
"value": "{{registerId}}",
"overwrite": true
},
However, the global variable's value isn't being passed correctly. Can anyone help me figure out why this is happening?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions