Skip to content
DevTest Solutions - 8.0.1
Documentation powered by DocOps

Generate an EJB Baseline

Last update January 22, 2015

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

Follow these steps:

  1. Add one or more EJB 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. If the following fields are available for editing, configure them:
    • JNDI Factory
      The JNDI factory class to use when generating EJB baseline tests.
    • JNDI URL
      The JNDI URL to use when generating EJB baseline tests.
    • Security Principal
      The JNDI user to use when generating EJB baseline tests.
    • Security Credentials
      The JNDI password to use when generating EJB baseline tests.
  11. Click Create.
  12. Select the project where the baseline will be created.
  13. (Optional) Edit name prefix. The default prefix is the user name.
  14. Select an option to keep or delete the transactions in the shelf once the baseline is created.
  15. Click Create.
Was this helpful?

Please log in to post comments.