Forum Discussion
Go to Projects tab. Add 'New REST Service from URI' two times using different url as you needed multiple.
Now you go to Environments, REST Services tab. You should be able to see both in one Environment.
Hope this helps.
Unfortunately this solution is not solving anything really. Yes I see two url's in my environment now. But how I can specify that for some test cases I need url #1 and for the rest url #2? There is no such way.
When I specify an environment for my test suite-- an url will be selected automatically and it is always a first url in the env list.
- SiriChandana6 years agoOccasional Visitor
1. Go to Projects tab. Add all the Rest Services which you are using under one project (ex: www.abc.com and www.xyz.com). Go to Service Viewer-> Endpoints tab. Will be able to view the relevant end point URL there.
2. Go to SoapUI and create a test step for each specific service used ( ex. www.abc.com) by going to the particular Test Case -> Add Step -> Rest Request and select the relevant Rest Request from the existing rest methods(ex: www.abc.com).
3. Now add the different environments(Test or Dev) as required and define the rest service end points accordingly.
4. Choose the environment as required while running the script
Hope this helps!
Thanks & Regards,
Siri