This topic section explains how to configure and apply the WS-I tool in SOAtest and Virtualize. This tool checks WSDL conformance to WS-I's Basic Profile 2.0 (for SOAP 1.2) or 1.2 (for SOAP 1.1). It can also be added to the Traffic Object output of a SOAP Client for validating SOAP message conformance. This tool requires the Validate license in Virtualize to be used inside virtual assets.
Sections include:
Table of Contents | ||
---|---|---|
|
Understanding WS-I
This tool checks WSDL conformance to:
...
As a test suite tool, it allows you to check WSDLs as part of your functional test scenario. As an output to a test suite’s SOAP Client tool, it can validate SOAP messages. To check interoperability during static analysis, use the "Check WS-I Interoperability" rule, which is in the Interoperability category. This rule has the same customization options as the WS-I tool.
Download and Installation
- Download the WS-I Testing Tools for Basic Profiles 1.2 and 2.0 from http://www.ws-i.org/Profiles/BPTestToolsProcess-1.2-2.0-Final.zip.
- Copy the zip file to
<SOATEST_INSTALL>\plugins\com.parasoft.ptest.libs.web_<VERSION>\root\wsi
.
Analyzing SOAP Messages for WS-I Conformance
The WS-I tool can be added to the Traffic Object output of a SOAP Client for validating SOAP message conformance.
Customizing WS-I
You can customize the following options for all configurations:
...
- Suppress request assertion failures: When enabled (default), any Basic Profile violations for the SOAP request are ignored.
Conformance Report Output
The WS-I tool produces an output file that contains the conformance report for the Web service corresponding to the WSDL you entered. This conformance report displays the test results for the assertions that have been processed. Also, the conformance report displays the conformance level for each test assertion that was processed and may list detailed information for any errors that were encountered. The report also contains a summary of the test assertions results that indicate if the Web service passed or failed the conformance test.
...
For more information on the WS-I tool specifications, or for more information on WS-I conformance reports, see http://www.ws-i.org.
Related Tutorials
The following tutorial lesson demonstrates how to use this tool:
...