10 June 2009 - 3.0-beta-2 |
Included with the SoapUI 2.5.1 Release are soapUI Projects containing TestSuites/TestCases for validating WSTF scenario implementations. Current TetsRequest are configured for SOAP 1.1 versions of WSTF scenarios part (see the Interface property of particular TestRequest). This can be reverted to soap1.2 version by changing the operation of the request to soap12binding which already is included in Projects as one of the interfaces.
Two different projects, for two scenarios are added
The project is divided into TestSteps and TestCases as specified in WSTF specification and every TestRequest has assertions in order to validate the given scenario.
XML project file which can be used for remote or local project import can be found at http://www.soapui.org/wstf/projects/WSTF-SC002-Scenario-soapui-project.xml.
This project is testing properly implemented WS-Addressing scenarios. It is divided into TestSteps and TestCases as specified in WSTF specification. For "Sync" tests, TestCases consist of only one TestRequest which have properly defined assertions in order to validate given scenario. For "Async" tests, due to the need to test response on a new connection there is a property named publicIp defined on the Project level that must manually be set to a publicly accessible IP address. Main TestRequest has "wsa:replyTo" (for example for "1.4 Async Echo + Wsa TestCase") or "wsa:FaultTo" (1.6 Async Faulting Echo + Wsa TestCase) use this "publicIp" property for indicating where to redirect the response.
Also there are more TestSteps defined for this kind of TestCases. Last TestStep in every "Async" test is a MockResponse TestStep which have appropriate assertions defined. It is important for MockResponse to have properly set "Handle Response", "Handle Fault" and "Start Step" set to previous TestRequest.
XML project file which can be used for project import can be found at http://www.soapui.org/wstf/projects/WSTF-SC003-Scenario-soapui-project.xml.