Forum Discussion
stewmoon
Occasional Contributor
Lucian
Thank you for responding to the question. I must admit, I was dissapointed initially thinking I would never get a response. You are correct with the thought that the endpoints and the name of the services are not saved as project properties, so I am unable to find a solution to set them.
In case anyone else sees this and wonders what the solution was. My work around for this problem is to within the Endpoint reference multiple soapui project properties, (whose values will be set by a Project.Run Groovy script). That way if a change is required it will only need to be changed in one place (The Groovy Script).
It will look something like this:
Endpoint:
https://${Project#ServiceName}-${Project#branchName}.com
Lucian
6 years agoCommunity Hero
I am pretty sure it can be done directly by working with the rest service but I am not sure how. The service object has a method called 'setEndpoint' (I thought I did it when I saw it) but it only takes an endpoint object as parameter - so you cannot pass a string url for instance...
I will probably look more into it because I got very curious about this but I can't promise anything. I am quite busy lately.
I will probably look more into it because I got very curious about this but I can't promise anything. I am quite busy lately.
Related Content
Recent Discussions
- 19 hours agodipsthorat
- 23 hours agoisbiat
- 2 days agoarmygrad