Any one of these methods can be used to feed an external Endpoint to SoapUI.
- SoapUI GUI Exclusively
- Command Line Test Runner (functional, load, security)
- Custom Groovy Script
Once the method is selected, the SoapUI objects will need to be configured to use the supplied Endpoint.
This algorithm applies whether it is done with code or with the SoapUI Gui.
Ensure the following parameters are defined as global or project level Properties
-
These properties can be loaded into SoapUI from a properties file
-
Typical Values
Endpoint(s) Authentication server (if used) DB connection variables (if used) Any other items unique to your test environment
Regardless of whether done in code or in the GUI, the following would need to happen -
- Set Endpoint and Custom Properties at the highest level that makes sense. (for most projects this will be global or project level)
- Configure the Interface to point to a Property Expansion that points to the custom property ex. ${#Project#Endpoint}
- Configure all TestStep Requests to use the Property Expansion