timaharrison
10 years agoOccasional Contributor
Groovyscript to set Service Endpoint row or assign WSS configuration
I have a number webservices tests that need to run across different environments. Presently I use another editor within the automated test to edit substrings within the project xml to to assign the endpoint and set environment specific WSS incoming and outpgoing security.
I've searched within this forum and others for a way to do this using Groovyscript. I can import the values as properties and transfer them, doing a setEndpoint sets the endpoint fine, but the WSS security values do not change. I need to be able to tell SoapUI to use the entire row (in the service endpoint) or to pick up/assign a particular incoming/outgoing security configuration. Either of these would make this work for me.