Skip to content
DevTest Solutions - 8.0.1
Documentation powered by DocOps

Generate a Web Service Baseline

Last update January 22, 2015

Use the following procedure to generate a web service baseline from a set of transactions in the CAI database.

Web services with attachments are supported.

Signed SOAP messages are supported on all platforms except IBM WebSphere Application Server 8.5. However, CAI does not save SSL information to the baseline. If the SSL information is required, configure the following fields in the generated baseline:

  • SSL Keystore File
  • SSL Keystore Password
  • SSL Key Alias
  • SSL Key Password

These fields are located in the Web Service Execution (XML) step.

This feature supports transport-level security, which is a point-to-point security model. This feature does not support signed message-level security, which is an end-to-end security model.

Follow these steps:

  1. Add one or more web service transaction frames to the shelf.
  2. Open the shelf.
  3. Click Create Baseline.
  4. To change the default name, select the name and make your edits, then click save button to save.
  5. Click the plus sign that appears to the left of the name.

  6. If the creation mode fields are available, select an option:
    • Stateful

      Create a baseline that contains one or more test cases that apply to an entire conversation or session, instead of simply one of its transactions. This option is not available for merged transactions.

    • Consolidated

      Create a baseline that contains a single test case and a data set.

    • Expanded

      Create a baseline that contains a suite of tests (one for each transaction) and a suite document for running the tests.

  7. Specify the type of step that is included in the test case:
    • Use Application Test Steps

      The test case includes a step that corresponds to the transaction frame that you added to the shelf. For example, selecting a SOAP frame results in a test case that includes a Web Service Execution (XML) step.

    • Use Transaction Frame Step

      The test case includes an Execute Transaction Frame step.

  8. (Optional) Configure the baseline to use magic dates.
    • Apply magic dates to test cases

      Converts the date strings in the baseline test case or suite to variable definition strings. For example, instead of a string that contains a specific date and time, the string can contain a function that specifies seven days from the current date and time. This behavior is equivalent to the doDateDeltaFromCurrent form of magic dates in CA Service Virtualization. If this option is unsupported, the option does not appear.

  9. (Optional) Specify a test case to be used as a template for the baseline.
  10. Click Create.
  11. Select the project where the baseline will be created.
  12. (Optional) Edit name prefix. The default prefix is the user name.
  13. Select an option to keep or delete the transactions in the shelf once the baseline is created.
  14. Click Create.
Was this helpful?

Please log in to post comments.