...
Once the policy has been defined, policy enforcement tests can be created within SOAtest to reference the related rules , or assertions. From the SOAtest test creation wizard, you can create the following types of policy enforcement tests:
...
- Start completing the wizard as normal.
- If you would like to create WSDL/Schema policy enforcement tests, select the Create tests to validate and enforce policies on the WSDL check box in on the first wizard page.
- When you reach the Policy Enforcement wizard page, select the Apply Policy Configuration check box. This will create WSDL and functional tests that will enforce the assertions defined in the specified policy configuration.
- Enter or browse to the desired policy configuration file.
- You can reference a local file or a file on Team Server (deprecated).
- If you do not have a custom policy configuration, you can use the default policy enforcement tests that reference the default rules sets included with SOAtest. The default policy configuration, soadefault.policysoapolicy, is a collection of industry-wide best practices.
- Click the Finish button.
...
Once the policy enforcement tests have been run, a report can be generated in HTML or XML format which will contain all the error messages for each policy enforcement violation. To view a report, right-click the desired error message and select View Report> Detailed/Summary/Structure from the shortcut menu. The report will display in a Web browser.