htroost
8 years agoNew Contributor
Solved
How to override Environment value for parameter when env key name matches param name?
I am testing an API that requires an API key in the header.
There was an environment variable called ApiKey; let's say its value was xxxxx.
When I tried to override this header for an unhappy path test, I couldn't. While the override value remained in the header box, the environment value was what was actually was actually sent.
When I tried deleting the environment value, it still overrode my custom value, but just with a blank.
Help?
It turns out that the issue was a set request headers script at the project level that overrode local settings. >.<