teak
9 years agoContributor
how to set environment variable to use in loadtestrunner
Hi, i am trying to read an environment variable in a groovy script: def host = context.expand('${#Env#API_HOST}') i set the environment variable: export API_HOST="https://api.host.com" ...
- 9 years ago
i started soapui from the terminal rather than the launhcer in os x and it worked.
i then ran loadtestrunner and it worked as well.
i had to start soapui from a session with the environment variable set first.