Scenarios

Test scenarios are used to simulate various transaction processes, such as authorisation, reversals, or completion advice. When a scenario is created, you can use them when running standard tests, either individually or as part of a scenario group.

 

From the Scenarios page you can create test scenarios that are used on the Payment Simulator Tool.

  • Click Scenarios to view a list of scenarios on the platform.

Figure 4: Scenarios page - listing current test scenarios

Create a Scenario

To create a scenario:

  1. Click Create Scenario.

  2. Enter the name of the scenario in the Scenario Name field. This should be a descriptive name that describes the nature of the scenario, such as Ecommerce Auth Test or STIP Advice Test.

    For details on example scenarios, see Example Test Scenarios

  3. Select the card you want to use from the Select Card field.

  4. Enter the test parameters for the first step of the scenario. For the first step, you should select available options such as Authorisation or STIP Advice. Select the appropriate Message Type and Interface Type and other required fields for the transaction.

  5. Click Add Step to create a subsequent step. For subsequent steps, you can choose from Incremental Auth, Full Reversal, Partial Reversal, Completion Advice, or STIP Advice.

    The Message Type can be:

    • Dual, which processes transactions in two distinct steps (authorisation and settlement).

    • Single, which processes transactions in a single message.

    • Non-Financial, which are tests that do not directly involve monetary transactions but are essential for ensuring that systems function correctly.

    • Interface Type, which focuses on verifying the interactions between different software components, particularly where data exchange occurs. For example Card on File or Contact Chip.

    For more information on the differences between dual and single message systems, see Dual vs. Single Message Systems.

  6. Add Expected Response Fields. You need to add at least one field. You can create a custom field by specifying a field name and value, then click Add.

  7. Enter an optional request in the Request Fields section. This allows you to enter any specific field values you want to include in the test request. When you click Request Fields, the template will update based on the interface type, transaction type, and selected card network. If you need a custom field not available in the template, you can manually add it by entering the field name and value, then clicking Add.

  8. Click Create to create the scenario.

Edit a Scenario

To edit an existing test scenario:

  1. Click Edit for the scenario you want to edit.

  2. Amend the details of the scenario as required. You can access the Expected Response Fields and Request Fields for each step of the test scenario, allowing you to adjust the fields as needed.

  3. Click Save.

Delete a Scenario

To delete a scenario, click Delete next to the scenario name. A window displays. Click Delete to confirm the deletion of the scenario.