SOAtest can automatically create a test suite, with a REST Client tool for each defined resource element, from a WADL.
To automatically create a test suite from a valid WADL:

  1. Choose the REST > WADL option in one of the available test creation wizards. For details on accessing the wizards, see:
  2. In the WADL wizard, enter a valid URL for the desired WADL in the WADL URL field, or click Browse to locate a WADL file on the local file system.
  3. If you want to create a separate test suite that generates a series of tests to verify the WADL (Schema Validity, Semantic Validity, WSDL Regression), enable Create tests to validate and enforce policies on the WADL.
  4. Click Next. The Create Environment dialog opens.
  5. (Optional) Specify whether you want to reference an existing environment or create a new one.
    • To create a new environment:
      1. Enable Create a new environment for your project.
      2. Enter an Environment Name and Variable Prefix
    • To reference an existing environment, enable Reference an existing environment then specify the appropriate environment file.
    • For more information on environments, see Configuring Testing in Different Environments.
  6. Click Finish.

SOAtest will generate a test suite with one REST Client tool for each resource element defined in the WADL you entered. Host, protocol, and port settings will be populated from the WADL. If a default value is specified in the WADL, it will be used in the created tool.

If you enabled Create tests to validate and enforce policies on the WADL, SOAtest automatically creates the following WSDL tests:

  • Test 1: Schema Validity: Runs XML validation on the WADL against WADL schemas from W3C.
  • Test 2: Semantic Validity: Checks the correctness of the WADL by parsing and consuming it like an actual service consumer would, but with stricter adherence to standards.
  • Test 3: WADL Regression: Creates a regression control for the WADL so that changes in the WSDL document can be detected.
  • No labels