Previous Topic: Web HTTP BaselinesNext Topic: Web HTTP Baseline Test Cases


Generate a Web HTTP Baseline

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

Signed Web HTTP transactions are supported. However, CAI does not save SSL information to the baseline. If the SSL information is required, configure the following fields in the generated baseline:

These fields are located in the HTTP/HTML Request step.

Follow these steps:

  1. Add one or more Web HTTP 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 LISA--icon_save_check_icon--ICO to save.
  5. Click the downward-facing arrow.
  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. Click Create.