The best way to ensure the correct functionality of your Web service is to start by creating unit tests for each individual operation implemented by your service. Performing unit testing allows you to catch errors at the component level, making development errors easier to identify and fix. The SOAtest test creation wizard will automatically create a test client for each operation defined within your WSDL. You can then move these tests into separate test suites. Creating one test suite for each test case allows you to organize and structure your testing environment to maximize readability and reusability.

When you complete this section of the tutorial, your test suite should resemble the  "Unit Tests" test suite in the SOAtestTutorial.tst file.

In this tutorial:

  • No labels