SOAP UI in Atollon Environment
Run SOAP Query
- To create first SOAP queries, you have to create New SOAP Project
- As a Project Name you can add any project summary. In Initial WSDL field you have to add URL to your WSDL. Each host has it's own set of WSDLs, use the WSDL of target or test server, where you're running the service, ie https://instancename.atollon.com/main.wsdl
- List of WSDLs can be found on this wiki.
- If you leave option to create sample requests when adding the WSDL to the project, you can double-click on "Request 1" below each SOAP function in Navigator and modify the function's parameters. Usually you should delete any parameters that you don't want to use, fill-in the server name and session and adjust URI. The URI is https://instancename.atollon.com/soap (on below screenshot you can see https://sailor.atollon.com/soap).
- After you adjust URI & function content, you can run the query and get response in the right panel.
Test Automation
- Property transfer requires to have XPath written in namespace prefix independent way like: //*[local-name() = 'Envelope']/*[local-name() = 'Body']/*[local-name() = 'LoginResponse']/session/text() or //*:Envelope/*:Body/*:LoginResponse/userId/text()
- Contains Assertion Content regex have to match whole multi-line responce like: (?s).*?<result>OK</result>.*
Installation
- Download at http://www.soapui.org/