Previous Topic: webMethods BaselinesNext Topic: webMethods Baseline Test Cases


Generate a webMethods Baseline

Use the following procedure to generate a webMethods Integration Server baseline from a set of transactions in the CAI database.

webMethods Integration Server includes the concepts of a flow service and a pipeline. A flow service lets you encapsulate a group of services and manage the flow of data among them. The pipeline is a data structure that contains the input and output values for a flow service. You can add steps to a flow service to perform such actions as invoking services and changing data in the pipeline.

The flow service is the unit that is baselined.

Follow these steps:

  1. Add a webMethods Integration Server transaction frame 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.

 

Example: Update User

The following graphic shows a path graph that includes webMethods Integration Server frames. The flow service in this example is named updateUser. The purpose is to send updated information for a user to a database.

Screen capture of path graph with WebMethods frames.

Note: If you select any of the webMethods Integration Server frames, you can view the pipeline data in the transaction detail dialog.

When a path graph has multiple webMethods Integration Server frame, you must select one frame for baselining. Typically, you select the entry point. In this example, you would select the leftmost webMethods Integration Server frame.