Skip to main content

SOAP UI in Atollon Environment

Run SOAP Query

  • To create first SOAP queries, you have to create New SOAP Project

- download at http://www.soapui.org/soapui-new-soap-project.png

soapui-new-soap-project-2.png

  • If you leave option to create sample requests when adding the WSDL to the project, you can double-click Fileon ->"Request New1" below each SOAP Projectfunction in Navigator and fillmodify firstthe cellfunction's withparameters. whateverUsually you should delete any parameters that you don't want to use, fill-in the server name ofand projectsession and secondadjust cellURI. withThe forURI exampleis https://river.atollon.com/main.wsdl; click OK
  • double-click main (for main.wsdl) in Navigator, under Service Endpoints set Endpoint to https://fangtooth.instancename.atollon.com/soap
  •  (on
  • SOAPbelow testscreenshot suityou example can see https://gitlab.sailor.atollon.com/zima/soap_testsoap).
  • After you adjust URI & function content, you can run the query and get response in the right panel.

soapui-new-soap-project---list-lang.png

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