Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2021.1

...

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:

...

  1. Start completing the wizard as normal.
  2. 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 on in the first wizard page.
  3. 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.
  4. Enter or browse to the desired policy configuration file.
    Image Removed
    Image Added

    • 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, defaultsoa.soapolicypolicy, is a collection of industry-wide best practices.
  5. 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.