SOAtest can automatically create a test suite from an XML schema. To do so:

  1. Choose the SOA > XML Schema option in one of the available test creation wizards. For details on accessing the wizards, see:
  2. In the XML Schema wizard page, specify the location of the schema from which you want to generate tests.
  3. Select the type of test you would like to create:
  4. For creating test clients that use HTTP, enter the URL of the web service endpoint in the Endpoint field, then click Next.
  5. On the Elements page, select one or more elements from which to generate your tests, then click Next. SOAtest only recognizes element definitions defined at the top level (that is, as the child of the root schema element).
  6. Specify whether you want to reference an existing environment or create a new one.
  7. Click Next. The Policy Enforcement dialog opens.
  8. Enable Apply Policy Configuration. This will create WSDL and functional tests that will enforce the assertions defined in the specified policy configuration.
  9. Click Next to advance to the Layout dialog.
  10. (Optional) Enable Organize as Positive and Negative Unit Tests to create both positive and negative tests for each operation since it is important to test situations where we send expected data as well as unexpected data to the server. The default value is configured to Sort Tests Alphabetically.
  11. (Optional) Enable Asynchronous and choose Parlay, Parlay X, SCP, or WS-Addressing to create asynchronous test suites. For more information on asynchronous testing, see Creating Asynchronous Tests.
  12. Click Finish.

SOAtest will generate a new test suite is created based on the XML Schema and functional test type you selected.