Forum Discussion
Hi, you could use notepad++ to edit the soapui project and change it that way. Make sure you make a backup first.
This is the easiest way. In my testprojects I use properties and apply them to the interface and every soap call I maken en have it combined with the environment option. Changing an endpoint is than very easy.
With kind regards,
Ed van Asseldonk
Thanks, I appreciate the tip using and editor to edit the project file.
Can you provide more details about how you use properties to deal with this ?
Thanks,
CFR.
- Radford8 years agoSuper Contributor
Have a look at the Ready API Environments functionality. I believe that this is what you are after, built in functionality to allow you to switch between different environments that you configure.
Once you set up them up, each environment can have its own SOAP and REST endpoints, plus you can configure JDBC connections and project level variables per environment as well. You can then switch between environments via the GUI or the -E command line parameter if using the TestRunner.bat file.
- charlesfradley8 years agoContributor
Thanks but I am not working with JDBC connections.
That environment properties does not seem to help me.
Smartbear tech support showed me that there is an endpoint editor under the Project "tab" button ... which displays all the APIs in that location, and there you can click on the "Endpoints" button which opens the endpoint editor.
After editing the endpoint it is necessary to click the "Assign" link.
It is a little confusing because even after assigning the new endpoint to all the requests and test cases, Ready-API still shows the old endpoint in the project description information.
Thanks,
CFR.
.
- Radford8 years agoSuper Contributor
I'm glad that you have found a solution that meets your needs.
It might be worth logging a support call about the endpoint details not getting updated in the description.
Just to clarify though, the Environments feature can be used to update endpoint URLs. I use the feature to update SOAP web service URLs (specifically the server name), One environment for the development servers, one for acceptance servers, etc. I only mentioned Project Properties and JDBC connections for completeness.
Related Content
- 6 years agomisior88
Recent Discussions
- 9 hours agoabhinaykumar15