rabisankar
14 years agoNew Contributor
How to change the endpint url automatically
Hi,
I am new to SOAP UI.
I have multiple interfaces inside my project.
I have created a test suite with a test case for each operations in these Interfaces.
Now when my services move from DEV to TEST to PROD environment, how can I reuse these test cases without changing endpoint urls manually?
Detail scenario:
Interface1(wsdl1) has op1, op2 and op3
Interface2(wsdl2) has op4, op5 and op6
create a project and add both these wsdls
now create a test suite
Add test case1 -> test step1 -> Req for op1 (endpoint url for this is http://TestHost:8181/endpoint1)
Add test case2 -> test step1 -> Req for op2 (endpoint url for this is http://TestHost:8181/endpoint1)
Add test case3 -> test step1 -> Req for op3 (endpoint url for this is http://TestHost:8181/endpoint1)
Add test case4 -> test step1 -> Req for op4 (endpoint url for this is http://TestHost:8181/endpoint2)
Add test case5 -> test step1 -> Req for op5 (endpoint url for this is http://TestHost:8181/endpoint2)
Add test case6 -> test step1 -> Req for op6 (endpoint url for this is http://TestHost:8181/endpoint2)
Now when my services move to PROD environment, host and port will change for these urls.
How can I achieve this without modifying manually?
Please help me.
Thanks,
Rabi
I am new to SOAP UI.
I have multiple interfaces inside my project.
I have created a test suite with a test case for each operations in these Interfaces.
Now when my services move from DEV to TEST to PROD environment, how can I reuse these test cases without changing endpoint urls manually?
Detail scenario:
Interface1(wsdl1) has op1, op2 and op3
Interface2(wsdl2) has op4, op5 and op6
create a project and add both these wsdls
now create a test suite
Add test case1 -> test step1 -> Req for op1 (endpoint url for this is http://TestHost:8181/endpoint1)
Add test case2 -> test step1 -> Req for op2 (endpoint url for this is http://TestHost:8181/endpoint1)
Add test case3 -> test step1 -> Req for op3 (endpoint url for this is http://TestHost:8181/endpoint1)
Add test case4 -> test step1 -> Req for op4 (endpoint url for this is http://TestHost:8181/endpoint2)
Add test case5 -> test step1 -> Req for op5 (endpoint url for this is http://TestHost:8181/endpoint2)
Add test case6 -> test step1 -> Req for op6 (endpoint url for this is http://TestHost:8181/endpoint2)
Now when my services move to PROD environment, host and port will change for these urls.
How can I achieve this without modifying manually?
Please help me.
Thanks,
Rabi