Forum Discussion
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.
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
Related Content
- 7 months agoDGISQ