Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WANALYZER and version Analyzer_23.1.1

You can create test suites and some tests manually in the Regression Test tool. But the effective SOAP operations calls have to be defined using the E2E Trace Analyzer and imported afterwards. In many cases you will already have tested the service in question e.g. at development time and you have got tests defined in the E2E Trace Analyzer anyway.

After opening the PState Builder project, the E2E Analyzer displays lots of test cases of this project in the Trace Analyzer. These test cases were delivered with the examples.

Figure: PState Project Opened in E2E Analyzer

While building up a sample test scenario, we will be working on pstatePurchaseOrder.PurchaseOrderExample.PurchaseOrderExample.

Deploy the PurchaseOrderExample service to localhost and check if the service is running (see Starting and Stopping xUML Services).

Noteinfo
iconfalse

Disable Trace for all test cases you want to use for regression testing.

Tracing information, that is provided by the E2E xUML Runtime, contains a large amount of data and most of it is not relevant for testing purposes. It also contains date-time information and internal ids, that may change from time to time and that will get into the reference data with tracing enabled.
For information on how to disable trace on a test case, refer to Modifying the Tracing Settings.


Run all test cases of the purchase order example (for more information on how to do that refer to the Builder User's Guide). The result of these test case runs will be used as reference data in the Regression Test tool. For more information on how to run a test case with the Trace Analyzer refer to Running a Test.

When running the test cases regard the fact, that they are depending on each other, e.g. you need to create an order before adding items to it, and so on. For example, use the following order of test case runs:

  1. Create Purchase Order 1 and 2
  2. Add Item 1 and 2
  3. Add Gratifications for Wishes Unlimited
  4. Get All Purchase Orders
  5. Get Purchase Order 1
  6. Check Out Order 1 and 2
  7. Get Purchase Orders from 1970-11-01
  8. Close Purchase Order 1 and 2