Sanika
7 years agoNew Contributor
how to make the req URL variable for http testcase (to carry out the test in different environments)
Hi everyone.. I am new to SOAP UI (using open source) and trying to explore the available options.
I need to create a test step HTTP Request for which I need to provide URL. The URL contains environment name hence I want to set it up as a variable.
Ex: URL is
https://api.<environment name>.base.be/ocapi/oauth/userdetails
How do I achieve this?
For SOAP and REST requests that I worked on earlier, I could use ${#Project#envName} to make environment name variable in the Endpoint URL, by setting the value as Project level parameter. However I am not able to do the same for Request URL
Thank you Lucian for the solution.
Issue was with the Request Properties where the variable wasn't set correctly.