# 4.1 Scenario Editor

The Appvance Scenario Editor is a graphical tool that enables you to create and modify Test Scenarios.

# Types of Tests

# Types of Tests

## Types of Tests

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/xc8FpDf9IvlqdfjU-tmp266720p0.png)

The following scenario test types are available:

- [Unit Test](#Unit)
- [Functional Test](#Function)
- Bulk Scenario
- Bulk Performance
- [Database Test](#Database)
- [Performance Test](#Load)
- [Load Test](#Load)
- App Penetration Test
- Soak Test
- Shock Test
- Synthetic APM Test
 
### <a name="Unit"></a>Unit Test 

Unit tests are used to test small, discreet parts of an application. Utilize your favorite domain-specific language (Selenium, C#, Java) at the API level or UX level.

Below is the list of Script types that a user can select in the test case panel when working with Unit Testing.

- Appium TestNG
- Command Line
- Command Line Resource
- Java
- JRuby
- Service Suite (Services Workbench)
- TestNG
- API Test
 
### <a name="Function"></a>Functional Testing 

Also known as a regression test or smoke test, is used to ensure that the existing functionality of an application works as new features are added. Run all your functional tests in series or parallel. Record tests in minutes and parameterizes them without any coding needed.

Below is the list of Script types that a user can select in the test case panel when working with Functional Testing.

- Appium-testNG
- Test Designer
- Mobile Designer
- Appvance Java Technology
- Command Line
- Command Line Resource
- Groovy
- HAR
- Java
- JMeter
- JRuby
- Selenium
- Service Suite (Service Workbench)
- SoapUI
- SQL
- TestNG
- API Test
 
SoapUI support was removed in release 5.2.0 of AIQ.

For a **Functional Test**, the user can choose how many times to **Repeat this test-case** option from the **Test Management** Panel

Providing a value in "Repeat this use case", the test case that is defined will run the specified number of times sequentially.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/sUZ41ogSjDRGPX03-tmp-awl-jnv.png)With functional testing, users also have options to control how many test cases to run concurrently with the options "Max Concurrent users globally" and "Max concurrent users per test node".

Assume a scenario is created with 3 test cases (Appvance Designer scripts) and "Max concurrent users per test node" is set to 2, After saving and clicking Play scenario, While running this scenario navigate to the Active Virtual Users tab on the controller window and select Enabled check-box, user can see two users executing and 1 user in waiting for status.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/mABVgNw6OAAiJViD-tmp0zzie64d.png)Also, users can set a maximum number of concurrent executions considering all test nodes using the "Max concurrent users globally" option.

**NOTE:** Normally all test cases in a functional test will run concurrently.

### <a name="Database"></a>Database Test 

Database tests enable you to run SQL scripts to validate your DB with every build.

Please refer to this chapter for more information: Database Testing in Appvance IQ.

### <a name="Load"></a>Load and Performance Test 

**Performance Tests:** Simulate millions of users with real use cases from beginning to end (from the UX to the back end). Identify performance issues including client-side code. Runs using use cases already created for functional tests.

**Load Tests:** Simulate users, usually at the API level, over varying and increasing loads. Ability to use existing frameworks like SoapUI, JMeter, etc.

Load and Performance tests operate the test cases in one or more virtual users as many times as possible in a given amount of test time or with Different Completion Criteria available. By running a load test at several levels of virtual users, AIQ identifies the Scalability Index of your application's scalability.

Choose one or more virtual user levels to operate the test. Click Add virtual user level to add a level and Define an Iteration.

Below are some of the bookkeeping activities for your test scenario, none of these fields are required fields.

Author Name - The name of the author of the test scenario details can be saved, this detail is also shown in the CSV iteration summary report.

Links - Any link details can be mentioned here.

Versions - Can be used for version control.

Categories - This is a project category, once entered shall be shown on Analyze and Play pages

<u>Include Scenario</u> - Include Scenario is a useful feature. You can have one in include per each possible database you want to use, or per each set of predefined locations or cloud configurations.

You can have a predefined set of scenario files that typically have only details of Locations and Logs.

When you want to run tests in so and so locations and so and so Database details, all those can be created as individual files and can be included here and those scenarios shall be run in those mentioned locations and logs will be stored in the mentioned databases.

Example Include Scenario file below:

<div class="codeSnippet" id="bkmrk-copy-%3Ctestscenario-x">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False">```
<testscenario xmlns="www.pushtotest.com/tm5" <br></br>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <br></br>  xsi:schemaLocation="www.pushtotest.com/XSD/testscenario.xsd" version="3"><br></br><testnodes><br></br><node name="cloudhost" location="http://localhost:8080/TMServer/ws/TestNode"/><br></br></testnodes><br></br><logs><br></br><log type="database"><br></br><opt name="hibernate.connection.username" value="appvance"/><br></br><opt name="hibernate.connection.password" value="appvance"/><br></br><opt name="hibernate.connection.url" value="jdbc:oracle:thin:@smoketestutp30oracle.cjzzvczxudhc.us-east-1.rds.amazonaws.com:1521:ORCL"/><br></br><opt name="hibernate.default_schema" value="utp"/><br></br><opt name="hibernate.connection.driver_class" value="oracle.jdbc.OracleDriver"/><br></br></log><br></br></logs><br></br></testscenario>
```

 </div> </div><div id="bkmrk--3"></div>

# Bulk Scenario

What if there are 100's or 1000's test designer or HAR scripts and we need to browse each of them in Scenario Editor to run them as Functional or performance Tests, which is of course a tedious task to do, to browse all those 100 or 1000's of scripts individually.

The answer for the above limits would be **Bulk Scenario** where you could browse the entire directory at once and you could execute all those 100's or 1000s of scripts either in sequence or in parallel without having to browse each of those scripts individually.

Bulk Scenario is a scenario type in Scenario Editor that lets you browse the root directory and a directory inside the root directory where the scripts are located.

Bulk Scenario supports executing the following script types:

- Designer Scripts
- Java Scripts
- HAR
- Jmeter
 
A separate script type called **Bulk Test Designer** and **Bulk HAR** is added to support browsing the directory.

To begin with, Navigate to Scenario Editor and chose **Bulk Scenario** as the Scenario Type.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/L71ipI1Jzo0wU1ds-tmpu89bms1o.png)It is important to choose the **Root folder** under the **Test Management** tab

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/BV89y0aJ2rqI9mNs-tmp5mck6pr9.png)So why do you have to choose the Root folder for the Bulk Scenario?

Bulk Scenario would be executing the scripts which are based on the root folder, All the .ds, .csv or any supporting files are relative to this root folder, not to the scenario file.

Another reason is to have control, all the scripts and supporting files should be under the root folder so the bulk scenario has much more control concerning the directories that you choose.

The next step is choosing **Bulk Test Designer** or the **Bulk HAR** as the script type under Script Type and choosing the directory with all the scripts.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/u1K440ADrv5vAmJb-tmp6jecib17.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/4VjTcd4ulXFHGwkw-tmpah-2v1ff.png)Save the Test case and save the scenario and play. This will execute all the files in the selected folder. It's that simple!

<u>Some common questions you might get:</u>

What if there are 100 scripts in the folder and there is a combination of .ds and .js, how do I execute only .ds or .js scripts?

If you had noticed in the test case, After selecting Bulk Test Designer, you could choose the language, And also there is a field called **RegEx** where you could provide a regular expression matching either ds or js.

Example:

\*.ds will match all the designer scripts.

\*.js will match all the JS scripts.

What if there are different nested folders inside the chosen folder?

The bulk scenario will execute all the scripts inside those nested folders as well.

What if the script is data-driven and all those supporting files (.CSV) are in the same folder as the designer scripts?

Data-driven scripts work the same way as working with the normal Test designer script types. Just to go Resources tab and create the required DPL (Even if there are several DPLs to be created), after defining the DPLs, you could come back to the test cases panel and mention those DPLs below the test cases.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/4jkAmHokXBONJcxu-tmp13gyrb1p.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/QgWkrKwA8BWa1fnr-tmp4hs7hvif.png)My scripts use include files and those included files are in the same folder as the main script? How do I make sure the Bulk scenario executes only the main scripts and does not repeat to execute the same included scripts?

Make sure to make use of Regular expression matching to execute only the main scripts like main\*.ds - This way it will exclude executing all the scripts matching the regular expressions and ignore the ones that do not match.

<div id="bkmrk--6"></div>

# Requests per Second and Transactions Per Second

When running load or performance tests, you see the requests per second (RPS), transactions per second (TPS), or a successful number of transactions per second (Success TPS) as part of the execution reports.

These options were added in the 5.0.0 release of AIQ.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ul0C7u6k6Ls2hbvR-tmps-6mr0xx.png)

The graphic above shows the RPS, TPS, and Success TPS details for a scenario execution. While the graphs for RPS and TPS are similar, they are not identical. Requests per second (RPS) is a different measurement than transactions per second (TPS). This is because a single transaction may consist of several requests. For example, a single login operation may contain five HTTP requests that can be grouped together as a single transaction.

<div id="bkmrk--1"></div>

# Monitoring Scenarios

Appvance Monitor is an agent-based service that observes CPU, network, and memory utilization. Appvance Monitor logs observed values to the repository for analysis in the results charts. The Monitoring tab identifies the location of Appvance Monitor services running on the Test Nodes and Hosts. A Host is a server running your application server or database server.

# Monitoring Scenarios

Appvance Monitor is an agent-based service that observes CPU, network, and memory utilization. Appvance Monitor logs observed values to the repository for analysis in the results charts. The Monitoring tab identifies the location of Appvance Monitor services running on the Test Nodes and Hosts. A Host is a server running your application server or database server.

Use the Monitoring Tab to identify the location of Glassbox service agents. Glassbox observes memory leaks, thread deadlocks, slow database queries, and other aspects of performance for Java Enterprise Applications. Read the Glassbox chapter for details.

APC Monitor is a java based agent which can record multiple resources on different environments (Hardware, Database, Webapps, and Java) according to the configuration. It listens to the resource usage and once the test is done, it sends the information to AIQ to correlate resources with transactions. To achieve that the AIQ Console needs to be able to communicate with APC Monitor.

Appvance Monitor works as a small footprint service that doesn't require a restart after a test is complete. It can also connect to multiple AIQ Tests at the same time.

<div id="bkmrk-"></div>

# Monitoring Your App On Other Servers

## APC Monitors: How to monitor your app or other servers?

APCMonitor can be deployed on 'Application Under Test (AUT) in two ways:

1. APCMonitor is to run as a standalone service on the AUT machine (Most Popular)
2. Ensure the latest JRE is installed.
3. Download: wget [https://s3.amazonaws.com/apc-monitor/APC\_Monitor\_New.zip](https://s3.amazonaws.com/apc-monitor/APC_Monitor_New.zip)
4. Unzip the contents to a folder
5. Give full read/write permissions to the folder: sudo chmod -R a+x APCMonitor\_New (Linux)
6. cd APCMonitor\_New
7. Run startup.bat (Windows) or sudo sh startup.sh (Linux)
8. Make sure the Monitor launch script startup.bat/.sh is run even if your servers are rebooted.
9. In the Scenario Editor, navigate to the Monitors section.
10. Click Add Host Monitors
11. Add the server name in the name text field and below URL as value:
 
http://&lt;AUT Machine IP Address&gt;:8080/APCMonitor

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/9DnftzweELxLLDcP-tmpdt8jk3m3.png)- APCMonitor is run as a web appliance inside an application server container, such as WebLogic, WebSphere, Tomcat, etc.
 
1. When deployed as an appliance, APCMonitor will provide system resource metrics such as CPU, RAM; In addition, JVM performance metrics like heap usage can also be gathered in real-time.
    
    
    1. [http://appvance.s3.amazonaws.com/APCMonitor/APCMonitor.war](http://appvance.s3.amazonaws.com/APCMonitor/APCMonitor.war)
2. WAR file of the APCMonitor can be downloaded from here:
 
**NOTE:** Please make sure there is no "/" at the end of the URL while saving the Scenario, else Monitor might not work.

For Ex: http://&lt;AUT Machine IP Address&gt;:8080/APCMonitor this will work however http://&lt;AUT Machine IP Address&gt;:8080/APCMonitor/ wont work.

<div id="bkmrk--1"></div>

# Hardware, Database, App, and Java Monitoring

Below are the instructions to deploy Monitors on each of them below.

- Hardware Monitoring
- Database Monitoring
- WepApp Monitoring
- Java Monitoring
 
## Hardware Monitoring

A file called APCMonitor.zip will be provided. It needs to be unzipped to a folder, and required permissions need to be set to start/stop scripts (in the case of the Unix environment). Please check APC Monitors: How to monitor your app or other servers?

The command to start APC Monitor is StartMonitor.bat or StartMonitor.sh depending on the environment that is been worked on and needs a configuration file called apcmonitor.config.

The command to stop APC Monitor is StopMonitor.bat or StopMonitor.sh depending on the environment that is been worked.

An example acpmonitor.config file for Hardware monitoring looks like the below:

<div class="codeSnippet" id="bkmrk-copy-%7Bserver%3A%7Bport%3A5">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False">```
{<br></br>server:{<br></br>port:51111<br></br>},<br></br>configuration:{<br></br>timedelays:1000<br></br>},<br></br>listeners:[<br></br>{class:"com.appvance.apcmonitor.listeners.${os}.CPUListener",configuration:{}},<br></br>{class:"com.appvance.apcmonitor.listeners.${os}.MEMListener",configuration:{}},<br></br>{class:"com.appvance.apcmonitor.listeners.${os}.NETListener",configuration:{<br></br>"net":"default"<br></br>}}<br></br>]<br></br>}
```

 </div> </div>The listening port which connects AIQ with AIQ Monitor is defined by server.port. The example shown is 51111.

The ${os} parses automatically to the correct operating system environment.

## Database Monitoring

The database monitoring deployment is the same as Hardware monitoring. The change is the configuration file.

A single APC Monitor can store hardware information along with the Database information. APC Monitor does not need to be in the same box as the database.

In order to use APC Monitor to store the database information, it requires database credentials. The required fields are the user name, password, database URL, database type, default database (if applicable).

An example acpmonitor.config file for Database monitoring looks like the below:

<div class="codeSnippet" id="bkmrk-copy-%7B%22server%22%3A%7Bport">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False">```
{<br></br>"server":{<br></br>port:51111<br></br>},<br></br>"configuration:"{<br></br>"timedelays":1000<br></br>},<br></br>"configurations":[<br></br>{<br></br>name: MySQLConfiguration<br></br>values:{<br></br>username: "XXX",<br></br>password: "XXX",<br></br>url:"XXX"<br></br>}<br></br>}<br></br>],<br></br>listeners:[<br></br>{<br></br>class:"com. appvance .apcmonitor.listeners.mysql.CPUUsageListener",<br></br>configuration:"MySQLConfiguration"<br></br>},<br></br>{<br></br>class:"com.appvance.apcmonitor.listeners.mysql.WorkloadListener",<br></br>configuration:"MySQLConfiguration"<br></br>},<br></br>{<br></br>class:"com.appvance.apcmonitor.listeners.mysql.IOListener",<br></br>configuration:"MySQLConfiguration"<br></br>}<br></br>}
```

 </div> </div>## WepApp Monitoring

In the case of the WebApps, provided APCMonitor.war needs to be deployed in the WebApplication server

Below is the standard configuration for WebApps:

<div class="codeSnippet" id="bkmrk-copy-%7Bconfiguration%3A">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False">```
{<br></br>configuration:{<br></br>timedelays:1000<br></br>},<br></br>listeners:[<br></br>{class:"com.appvance.apcmonitor.listeners.jvm.ThreadListener",configuration:{}},<br></br>{class:"com.appvance.apcmonitor.listeners.jvm.GCListener",configuration:{}},<br></br>{class:"com.appvance.apcmonitor.listeners.jvm.HeapListener",configuration:{}}<br></br>]<br></br>}
```

 </div> </div>The file will be inside the war file. If the configuration needs to be changed the WebApps need to be redeployed.

## Java Monitoring

In the case of the Java environment, the jar files need to be added to the classpath. The APC Monitor needs to be configured and started manually using the next method from com.appvance.apcmonitor.APCMonitor

public void configure(JSONObject configuration) throws Exception ;

The configuration file is the same as the WebApp monitoring.

<div id="bkmrk-"></div>

# Paths and Default Directory

Unified Test Platform works well in a distributed environment where developers and QA engineers run tests within any directory structure (i.e. wherever they've checked out the project files). Unified Test Platform TestScenario test orchestration documents determine the default directory path for test resources. The following options override the default directory and other elements in the TestScenario. For example, consider the following directory structure:

`ScenarioDirectory- Scenarios- - MyScenario.xml- Resources- - resource.csv`

Appvance Unified Test Platform provides a `{scenario}` operator that resolves to the path of the TestScenario document. This operator may be used in the `<defaultdirectory>` element, in `<resource>` elements, and in individual resource paths. For example, use the above `resource.csv` with

`path="{scenario}/../Resources/resource.csv"`

The following is also valid:

`Defaultdirectory ="{scenario}/../" and path="Resources/resource.csv"`

<div id="bkmrk-"></div>

# Defining an Iteration

## Defining an Iteration

Iteration can be defined at the Test Management Panel as seen in the screen-shot which in turn will be used at the Test-Case level.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/sV3ScgVBGPtjav40-tmppqj3knn1.png)Below are different options available to define an Iteration:

**Iteration name:** Iteration name is a unique name to define each Iteration which will be used in the Test Cases definition in the Test Cases panel. All the test cases should be defined within any defined Iteration.

**Completion Type:**

There are 4 different Completion Types:

1. **Total Executions:** Users can specify the total number of Executions required for this particular Iteration, Regardless of the number of users this scenario will execute only 25 executions provided by any number of users. Also, they can set a time limit by using the option Max time and a time limit can be set for this Execution.
    
    The below example shows a scenario for a HAR Script for 5 users and chose the completion criteria as "Total Executions" with the check-box for Maxime enabled and set it for 10 minutes
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/KK2bMlw6BFBAU024-tmp-16r9uon.png)Select the script type to be HAR or any other, browse the resource file and click Save Button.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/n6yrkWDYOmZdxNNs-tmpiiicn223.png)The below example shows a scenario created with Total Executions criteria, AIQ will try to run 25 executions however since the max time is 10 minutes AIQ will run the test only for 10 minutes and return the results completed in 10 minutes. Please find below the screenshot for the same.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/NjqxlpZHgQaCNLzY-tmp064y-vjq.png)
2. **Total Duration:** The next completion type is Total Duration, where users can specify the total duration to run the number of users mentioned in the test case panel using the Total Duration Completion Type as seen in the below screenshot.
    
    With the below-mentioned completion type, the scenario will run for 15 minutes duration with all the test cases that are under this Iteration which is defined with Total Duration.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/dtYl6ZYOHeYKIRGb-tmpmbduxsok.png)
3. **Total TestCase Execution:** Users can select this option as a Completion Type based on the executions at the test-case level, Users from the test-case level will be taken into consideration as a Completion Type, Users can also specify the duration in minutes for this option as well.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Tld6H4NXxkJuinLH-tmp1lbx9on2.png)This completion type works exactly like "Total Executions" but the Executions are defined at the test case level per individual test cases as seen in the below screen-shot.
    
    Here, there are two test cases that are defined with the completion Type as "total test case execution" each having 5 users and the number of executions has been set to 25 and 50.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/9u3phr0opbp11e3g-tmpzltiw87a.png)
4. **Executions per User:** In this completion Type each user will execute the number of executions mentioned under the executions column in the test case panel.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/sitYnXhRm0lX9jYd-tmp6arde661.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/xY9xblKuMqqgMxxU-tmpneglwkhh.png)The example shown above has 5 users defined for the iteration and 5 Executions per user, with this completion type, each user will execute 5 execution which will result in 25 executions for this iteration / Scenario
    
    The Controller window screen-shot is given below which shows 25 successful executions:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ays5fNIeo2ERyxBz-tmpa4ksm9br.png)Similarly users can define multiple Iterations by selecting different completion criteria and defining test cases under these iterations.
 
<div id="bkmrk--1"></div>

# General Scenario Properties

The **Info** panel has a drop-down to select different Scenario Test types, below is the list of Test types.

- Unit Test
- Functional Test
- Database Test
- Performance Test
- Load Test
- App Penetration Test
- Soak Test
- Shock Test
- DDOS Test
- Synthetic Test
 
Above the Info panel has the File Menu, which has options to 'Create New Scenario', 'Open an existing Scenario', 'Save', and 'Save As' the scenarios that are created,

Next to the File Menu, displays the Name of the currently open scenario with the .scenario extension, or simply 'New-Scenario' for any new/unsaved scenario.

**Note: As a good practice, Save all the Resources which include the Appvance Designer scripts, Any other test types, CSV files, and the Scenario in the same folder for the Resources to be picked up and for the Scenario to run with the required resources.**

Info panel also is for viewing and editing meta-data about this scenario: **Author Name**, **Creator**, **Links**, **Versions**, and **Categories**. These are text fields. These fields are used for good bookkeeping activities.

Include Scenario checkbox: Selecting the check-box will have the browse button enabled - This functionality is only for Appvance Internal purpose to run internal smoke test scenarios.

<div id="bkmrk-"></div>

# Scenario Builder Geography

The Scenario Builder shows the various parts of a TestScenario: Info, Test Management, Test Cases, Locations, Monitors, Resources, Options, Assert, Store, Notifications, and Integrations. The left side of the Scenario Builder window offers navigation between the parts.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/b8nmAyNriSjHlrFD-tmppp2lkym8.png)When you run a scenario, it shows up in a separate window where you can see its progress. Here is an example Controller window.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/WaUW9nuJAh6ETwO7-tmp2-1whsmh.png)<div id="bkmrk--2"></div>

# Working with Test Cases

Automatic Script Detection

Run-Time Options

Global Setup and Tear Down

Debugging - Commenting Test Cases in Scenario Editor

Activate only last execution failures

The **Test Cases** panel is the place where you set up one or more test steps, options for each test step, Distribute users across multiple locations, Set Runtime options like Ramp-up, Ramp-down, Offset, Interval time and Sleep time, and Set Think time options.

This example runs a single test (`AddCompany.ds`) with no setup or teardown.

The Scenario Builder allows for sophisticated scenarios. Unified Test Platform scenarios consist of one or more Test Cases, each of which can contain one or more test scripts. Each Test Case can have setup and teardown scripts. In addition, the entire scenario can have a global setup and global teardown scripts.

To create a Test Case go to the Test Case panel and click 'Add Test Case' including

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Np2nTsxVTYsCNkCH-tmpzed6jvtz.png)The setup, teardown, and test elements in the scenario all point to scripts. Appvance IQ knows how to run many kinds of scripts, everything from Appvance Designer Script and Selenium through to JRuby and Perl.

The Scenario Builder shows options for the script that is appropriate to the script type. For example, you get to choose a browser to run an Appvance Designer Script. You get to specify a class name for a Java language script.

**<u>Automatic Script Detection</u>**

In the Test Case panel, when the user clicks on Add a Test Case execution, the user can just browse the file and the script type will be automatically detected and will be auto-populated for the user.

For example:

- If a .jmx file is browsed, it will automatically detect that it is a Jmeter script and the test type will be populated.
- If the file extension is a .ds extension it will detect that is a Designer Script and the test type will be populated to the Designer Script.
- .sah will be Sahi scripts etc.
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/oKzFTskIwYiuxPCu-tmpn-aqur31.png)From Scenario Editor, you will have the option to choose chrome responsive modes as playback options including other normal browsers.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/krec7dbf62SkOSAV-tmpeu9sckdr.png)**Users:** Users can be divided among multiple locations per Test Case, Example: As seen in the below screen-shot, from the 'Select' drop-down Select the option 'Users by location' Users by Location' pop-up will be displayed where users can provide the number of users per location.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/0PQIC3pBmvKLjCez-tmpae1i3hkx.png)Run-Time Options

Below are different Run Time Options available.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/tlUpgbJCf59n4uN6-tmpletjcxfy.png)**Fixed think time:** The user can provide a fixed think time in seconds. With this user can also provide value for the option 'Randomize percentage over Think Time value (0 to 200) to randomize the think times.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wgmQDIhAbLF4bwmZ-tmpxypaoiny.png)**No Think time:** No waits statements are executed

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/C0itcCBakiNU1CVO-tmpqargn4hp.png)For Functional Scenario Test type: Think time options should be provided in the Options Panel.

Also please make sure the option "Report Think Times (Appvance Designer Script only)" is checked as seen in the below screenshot.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/rWr5ucLYtcDyaUhp-tmpl-3c0rpk.png)Random Think Time:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/nrOl2jB9U7zQIznj-tmp7bsqof3k.png)**In the controller window, observe that user-added WAIT will not be changed, new WAIT statements will only be added to steps that do not already have one.**

Fixed Think Time:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/iUQGDao8HuKFaD2g-tmp0nxq051c.png)Appvance Designer Script (using Convert to Think Time) with Fixed and Random Think Time options:

Create a scenario with Appvance Designer Script that has user added WAIT statement which is converted to Think Time and the Think Time option in Scenario Builder is set to Fixed / Random. Fixed and Random will change script WAIT (User added WAIT) statement which is converted to Think Time and add preceding WAIT statements to all steps that do not already have one. **For Example:** Consider an Appvance Designer Script that has user added WAIT statement which is converted to Think Time. Create a Scenario with this Appvance Designer Script and set Fixed to think time option “1000” milliseconds or Random Think Time option to “500 to 600” milliseconds. Save and play the scenario.

Appvance Designer Script:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GSHMrJzPU3LbOF4k-tmpx776jl00.png)Random Think Time:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/F4eDnM4ESowFMxLu-tmp-cxcueqq.png)**In the controller window, observe new wait statements are injected per each step in the script with the value set in the scenario builder.**

**<u>Global Setup and Tear Down</u>**

- Any scenario can have multiple global setups and tear-downs calls.
- A failing global setup will fail the scenario
- A failing global tear-down won't fail the scenario
- Global setup and global tear-down can share instances.
- In the case of Test Designer, if a global setup and tear-down share an instance, the Browser will be kept open during the scenario test.
- A scenario will 2 global setups and 2 global tear-downs:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/iekFkE2RQCTQ7c1m-tmp0noijn7u.png)
 
- 2 Setup calls sharing an instance in DS3, they will share browser
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/vx24jb9QZ8xJU6OC-tmplpc8rzg5.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ygxMDfbj14lqbm5N-tmpygmovw-r.png)Test Case setup and Tear-down:

- Any scenario can have multiple global setups and tear-down calls.
- A failing Test Case setup will fail the scenario
- A failing Test Case tear-down won't fail the scenario
- Test Case setup and Test Case tear-down can share instances.
- In the case of Test Designer, if a Test Case setup and Test Case tear-down share an instance, the Browser will be kept open during the iteration, EVEN if the reuse browser on every execution is not set
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FYT5XQILxbMxQOpW-tmpla1abz1i.png)
 
- A script with one setup, 2 scripts, and one tear-down, sharing the instance:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/kjjXbdxIybv9Q8R4-tmpptqxoccg.png)
 
<u>Debugging - Commenting Test Cases in Scenario Editor:</u>

For debugging purposes, it is always a good option to comment out Test Cases in Scenario Editor, that way all those commented Test Cases would not run

1. To do so, open the scenario in the scenario editor with all the Test Cases defined
2. Right-click any of the Test Cases that you want to comment on
3. Click Comment
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/XpoMzqOwHNcdYu8K-tmpo-2fswfc.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/z0Ff0APJB6Ay1CVx-tmp60ady22y.png)Similarly, for un-commenting, right-click the commented Test Case and click uncomment to uncomment the selected Test Case.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/5KQ7e7pJOXRPj4ZZ-tmp8ckdmvbn.png)**<u>Activate only last execution failures</u>**

Given a Scenario with 100 Test Cases, upon executing them, 95 of them passed and 5 of them failed (Random Test Cases) due to several reasons, data issues, application issues, application not responding due to multiple threads running in parallel to run the Test Cases, etc. What if there was an option to execute only those failed 5 Test Cases from Scenario itself instead of checking them in Test Designer or creating a new scenario with only those 5 Test Cases (after identifying them), Activate only the last execution failures makes life easier, in this case, this option just picks those failed Test Cases from the last run, and runs only them to provide a result.

Once a scenario is executed and encountered failures, for you to enable the option follow the below steps;

Note: This is more of a functional test scenario and not used during load or performance testing.

1. Go to Scenario and open the last played scenario.
2. Go to the Test Cases tab that will list all the defined Test Cases under each of the iterations.
3. Click **Activate only last execution failures** link
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/OgV4NiKvw0wzIMhU-tmpldrnqlwf.png)
4. This will open a pop up showing all the prior execution with the number of successes and failures, if the running AIQ is not connected to a database, you will have a link that will navigate to the results page under the global options &gt; Admin options to configure the database
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/5BKGbHVPtIXJKyWc-tmp40h57fd7.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/yxGywBJZqY2tE4MF-tmpxkvbon3s.png)
5. From the pop-up, you can choose the recent execution or choose from an old execution as well
6. Upon choosing the execution, the feature would automatically select all the failed Test Cases and comment out all the Test Cases that were passed in that execution
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/3vSX44vmBr7z5noS-tmpk7e6qgu5.png)This way you can enable execution to re-run scenarios with failed only Test Cases
 
<div id="bkmrk--18"></div>

# Working with Scenarios

## Working with Scenarios

- Use the **Info** tab to select the Scenario Test type from the different Scenario Test types available. Fill in the Metadata of the test scenario under the **Test Management** Section, Define one or several Test Cases under the **Test Cases** panel to create a New Scenario.
- Choose **File - Open** brings up a file chooser so you can open an existing scenario.
- Choose **Save** to write the current scenario to disk.
- **Save As** is the same as **Save**, but you get to choose a new file name for the scenario.
- **Play Scenario** runs the current scenario.

![k9WVqqy6sppUCcJN-tmpccuffw-e.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/k9WVqqy6sppUCcJN-tmpccuffw-e.png)A scenario is a complete definition of a functional test, load test, and Performance test. A scenario document follows the XML Schema Definition (XSD)

Examples of Test Scenario documents used in functional, load, scalability, and performance tests are found in the tutorials.  
  
[![image.png](https://docs.appvance.net/uploads/images/gallery/2026-08/scaled-1680-/JPEmakGQ4aXDp12K-image.png)](https://docs.appvance.net/uploads/images/gallery/2026-08/JPEmakGQ4aXDp12K-image.png)

# Locations and Test Nodes

In the Scenario Editor, Test Nodes and Locations are used interchangeably.

What is a Test Node and what is a location?

Response:

A Test Node is a server running Appvance.

A location can be a Test Node or a cloud or grid configuration file that defines a number from 1 to many Test Nodes.

On Test Node URL format:

To tell the scenario to use a Test Node, you need to provide the URL of the server running Appvance IQ, but this URL needs to follow the following format:

http://&lt;test-node-dns-or-IP&gt;:8080/TMServer/ws/Testnode

Example: http://localhost:8080/TMServer/ws/TestNode

http://ec2-18-237-182-243.us-west-2.compute.amazonaws.com:8080/TMServer/ws/TestNode

or

https://&lt;test-node-dns-or-IP&gt;:8443/TMServer/ws/Testnode

Example: https://localhost:8443/TMServer/ws/TestNode

https://ec2-18-237-182-243.us-west-2.compute.amazonaws.com:8443/TMServer/ws/TestNode

<div id="bkmrk-"></div>

# Scenario Editor Resources

This section lists all the resources that are associated with the test scenario.

- Data Sources
    
    Data Sources - Will list all Data sources that are associated with the test scenario.
    
    Please refer to this chapter for more information about Data Production Library and Data Sources: Operational Test Data with DPLs.
- Bundles
    
    Bundles - All the default bundles will be added by default as the user selects the script type from the test case panel. Click **Add Bundle** to add another bundle to the list. Fill in the bundle name from the drop-down list and select the associated version of that bundle from the drop-down. To remove a bundle, click the red **X**
    
    When running or creating API-level scenarios, on the Scenario Resources tab you must add a new bundle called “mobile” and set the version to be “1.0“.
    
    This configuration change was made in the AIQ 4.8.3 release.
- Resources
    
    Resources - will list all the resources associated with the test scenario including the scripts and any other associated resources like the DPL, etc. Click **Add Resource** to add another resource to the list. Select the Type from the drop-down and provide a Name to the Resource and browse the Resource, To remove a resource, click the red **X**.
    
    By default, after saving the scenario, the path changes to 'Absolute', Users can change the path to 'Relative' by using the 'Relative' button.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/1JblqAgVfZnbfVPS-tmphfih73oy.png)
 
**<u>Test cases</u>**

 The test cases tab under resources will have all the test cases listed, when any of the test cases is not used, you can delete it from the resources &gt; test case section, this will not let you delete a test case that is in use in the test cases tab.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/jPDIMHIZU7hPkVKn-tmp8nvtrp1a.png)<div id="bkmrk--1"></div>

# Scenario Editor Options

1. <u>Enable HTTP Timing Details Logging</u>
    
    This feature is useful when the user wants to know the complete HTTP Request timing details like Sending, Receiving, and Waiting. This can enable in the Options tab of Scenario builder as shown below
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/23spJn9YlSl4e8vd-tmp970t996v.png)
2. <u>Use Console to Proxy Test Node Database Data:</u>
    
    Checking this option will let use the Controller machine as a proxy for most of the communication between Test Nodes and Database when there is high latency between them.
3. <u>Filter response content:</u>
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/MVsC5JrYIDbnvD8j-tmperaizvye.png)The filter response content is one of the important features in load/performance testing, where this feature is useful to diminish the amount” and the OffSet time will count down from 60 seconds to 0.
 
Once the OffSet reaches 0 then the virtual users will start and execute as defined in your test case.

**Interval Time and Sleep Time:** Users can provide Interval time and Sleep time in seconds.

Consider the following example to understand the Interval Time and Sleep Time better.

Suppose the user defines a test scenario which has 2 Test-Cases, test case 1 and test case 2.

Interval Time provided is 5 minutes and Sleep Time provided is 1 minute.

Example 1: Assume test case 1 takes 2 minutes to complete execution.

In the above case, sleep time would be 3 minutes.

Interval Time provided is 5 minutes and Sleep Time provided is 1 minute.

Example 2: Assume test case 1 takes 3 minutes to complete execution.

In the above case, sleep time would be 2 minutes.

Interval Time provided is 5 minutes and Sleep Time provided is 1 minute.

Example 3: Assume test case 1 takes 6 minutes to complete execution.

In the above case, sleep time would be 1 minute.

Interval Time and Sleep time are also available at the Global options (Options panel of the Scenario Builder), Think time and Sleep time at the Test-case level will be considered and taken into account when the user provides this option at both Test-Case and Global level.

**Node Tolerance:**

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/eZTBfIGntXekun1Y-tmptemt6roo.png)Node Tolerance is a feature that is related to AWS EC2 instances. Setting this option to a value say 1 or 2, you will notice that even 1 or 2 of the test nodes fails (failing to reach, connection lost, test node failed for some other reason), the scenario would continue to run with the other available test nodes and the executions/load would be distributed among other available test nodes.

If the test nodes failing exceeds the specified number, then the test scenario would stop with a failure message but the running instances will properly follow the termination/stop procedure set in the scenario cloud-config settings.

<div id="bkmrk--1"></div>

# Store Options and Post Processing

## Scenario Editor Store Target and Post-processing

You can use the Store tab in the scenario editor to define extractors that can "listen" for a particular Step and Request and extract data of its response.

When creating a Store entry or an Assert entry in the Scenario Editor, you need to configure the Target depending on the type of response.

Also, you might require to apply some post-processing to the response. In this document, you will find examples of the possible values that can be used for the Target and the Post-processing inputs.

**<u>PostProcessing</u>**

Here is a list of examples of all the possible functions that can be used for post-processing entry.

value() returns the extracted value.

substring(value(), 0, 2)

substring(URLEncode(value(), 2)

URLEncode(value())

URLDecode(value())

append(value(),"-abc123")

length(value())

URLParam(value(),'id')

**Target**

In the same way, the TARGET can have a hint text that should be dynamic according to the selected Target.

The // characters indicate a comment and are not part of the target, except the HTML target that is an XPath.

**DEFAULT Targets**

duration // returns the request duration

responseCode // returns the response status code

size // returns de size in bytes of the response

md5 // returns checksum md4 value of the response

**HTTP Targets**

Given the response is the following string: "data=45, data=68" then

raw/data\[0\] // returns 'data=45' and "raw/data\[1\]" returns 'data=68'

\#data // returns 45

Header:Accept // returns devalue of the header Accept

CookieValue:CSRF-TOKEN // returns devalue of the cookie CSRF-TOKEN

**HTML Targets**

Use normal XPaths to extract values from HTML. Note that in this case the double slash at the beginning is needed in the target.

//input\[@name='\_\_RequestVerificationToken'\]/@value

**JSON Targets**

Use JSON paths to extract values from JSON responses, like

employees\[0\].address.city

\[2\].carousel.images\[1\].path

**PDF Targets**

document // gets all text in document except forms text

page\[2\] // returns al text in page 2 except forms text

documentforms // gets a json with contents of the forms in the document

regex:Once upon a .\* ever after. // returns text that matches the regular expression if found.

**STRING Targets**

Given the response is the following string: "The tested processed returned: ID=ABCDEF." then

11,20" // returns "processed"

ID=,false // returns "ABCDEF."

ID=,true // returns "ID=ABCDEF."

ID=,38,false // returns "ABCDE"

ID=38,true // returns "ID=ABCDE"

**TEXT Targets**

The target should be specified as a regular expression, like:

(?&lt;=\\"\_\_RequestVerificationToken\\" type=\\"hidden\\" value=\\")\[a-zA-Z0-9\\\\-\_\]+

id=.\*

**CSV Targets**

Given that you have a response formatted as a CSV with the following data

1. john California
2. barry Nevada
3. stef Texas
4. karla New York
 
Then:

2,2 // returns barry

last(),"name" // returns karla

,"name" // returns a string array {"name","john","barry","stef","karla"}

3,last() // returns Texas

id=3, 2 // returns stef

<div id="bkmrk-"></div>

# Scenario Notifications

Instead of tapping your foot waiting for scenarios to finish, use the Notifications tab to tell Appvance Enterprise to send you an email when it's finished. The Notifications tab is a list of emails that will be sent for a test scenario.

Fill in the email address and the subject line you'd like to see in the **To** and **Subject** fields. Choose an event from **When**, one of the following:

- **Test starts**
- **Test ends**
- **The transaction fails** means the email is sent if something goes wrong.
- **Hourly** means that Appvance IQ sends a message every hour while the test scenario is running, kind of like a very slow heartbeat.
- The message field can be used to enter the messages.  
    you can use break statements (&lt;br/&gt; will add a new line) like below to have messages with new line entries.
 
hi &lt;br/&gt; hello

You can set up as many notifications as you like. Click **Add Notification** to add another one to the list. To remove a notification, click its red **X**.

Below are a couple of Example screen-shots for Gmail and Outlook settings:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/5dRpwdL3tzaOo4WO-tmphu3hv-4c.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/0icmoFNb9TG6qUte-tmpcsr70p0k.png)Users may not receive email notifications from Gmail due to its security policy. We have to change the security settings in the below link:

[https://www.google.com/settings/security/lesssecureapps](https://www.google.com/settings/security/lesssecureapps)

The user has to click the radio box for "Turn on" after navigating to the URL. The settings are given below in the screenshot.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Cn6p4gEl0TSjeIXi-tmpajo27ey3.png)Also, the captcha has to be unlocked, to do this go to the below link and click 'Continue'

[https://accounts.google.com/DisplayUnlockCaptcha](https://accounts.google.com/DisplayUnlockCaptcha)

**Note**: Some email servers, like Amazon SES, use the 'mail.smtp.from' (FROM in Appvance UI) property to set the return email address, in addition to providing also the user name (without the @domain). Other email servers default this "From" field to the 'mail.smpt.user' (USER NAME in appvance UI) and require the user name to be a full email address.

So the From field is required by some email servers, and optional with others.

Normally the username and from fields are equal, but Amazon SES requires for example these settings:

<div id="bkmrk-email-%3D-%22name%40aspass" style="border-width:1px;"><div>```
email = "name@AspAssociates.com";
username = "AKIAJXJ5W3dummyZNONQ";
from = "AKIAJXJ5W3dummyZNONQ@us-east-1.amazonaws.com";
message = "TEST";
password = "Ar1bWkdummy97EV9vL6mTVvvUYNY9Gmx678H";
port = 465;
server = "email-smtp.us-east-1.amazonaws.com";
ssl = true;
subject = "My Subject";
```

 </div> </div>Also, when the FROM field is added, included setting logic in case the user fills just one of the two fields (this is for normal email servers) suppose a user fills user@appvance.com in the FROM but nothing in the USER NAME field, when trying to authenticate Appvance will check if the user name is not provided ant then will try using the FROM field for the authentication.

<div id="bkmrk--3"></div>

# Screen Capture

Screen Capture is a feature where Appvance IQ captures the video of the scenario playback, Available only for functional scenario types.

This feature can be used for Appvance Designer, Sahi, and Selenium script types.

Select Functional Test in the Scenario Test Type of the Info tab and create a test case with Appvance Designer/Sahi/Selenium script types using the test case panel.

Once the above scenario is created and saved successfully, go to the Integrations panel and click Add Entry.

There shall be 2 entries in the drop-down:

a) Screen Capture

b) Penetration

Select Screen Capture from the drop-down.

Quality and Frames per second text fields will be displayed which defaults to '0.5' and '5' respectively.

Users can change the quality of the video from 0.1 to 1.0 and the frames per second can be from 1 to 30 frames.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/mMw1jho1jhEUri6w-tmpo9-f-uxz.png)Users shall also notice that there shall be new resources that will be added to this scenario as well, use the 'Resources' panel from the Scenario builder and check the bundles as shown in the below screenshot.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/LpPd9rrz6V2gKYQQ-tmpekkwv-ig.png)Save the Test Scenario, Click Play Scenario.

From the controller window, click 'click here to go to the Report analysis page, in the functional Report scroll down to see the video.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/CDfqWkl7KnUwhD5I-tmpx3dqys3v.png)Click the play button to playback the video which runs the test scenario. This is one good feature where users can come back and see why the tests failed visually using the Screen Capture video feature of Appvance IQ.

<div id="bkmrk--3"></div>

# Scenario Editor FAQ

1. **How to data drive a test script in Test Designer IDE and then a scenario**
 
Steps below:

1. Create a Test Designer script in IDE using record and reply
2. Save the Test Designer script (Local or in a GIT Repository that is configured)
3. Have the data file (CSV file) ready with all the inputs that are required to be data-driven using notepad ++ or any other editor (JS DPL could also be created using AIQ's JSDPL)
4. Save the CSV file in your local machine or on a GIT Repo so Test Designer should be able to access the created CSV file
5. Click the Data tab in the IDE
6. Click Browse and browse the created CSV file
7. The data file should be loaded with the columns and values
8. Choose the Type (Hash if it is a HashDPL or JSDPL if it is a JSDPL)
9. Drag and Drop the values from the CSV table from the Data tab to the value column (of the row) that needs to be data-driven
10. Just like data driving value columns, the Accessor column can also be data-driven in a similar way by dragging and dropping from the data tab cell to the accessor column
11. Save the script
12. Playback the script in IDE to make sure it is picking the values from the CSV file
13. Navigate to Scenario Editor
14. Choose Functional Test under Scenario Test Type
15. Go to the Test Cases tab
16. Click Add Test case
17. Choose the Script type to be the Test Designer
18. Browse the created data-driven test case from the saved location
19. Choose the browser from the drop-down
20. Provide a test case name and Save
21. Go to the Resources tab
22. Click Add DPL
23. Browse the created and saved DPL
24. From the Type drop-down, choose Hash DPL if it is a HashDPL or JavaScript DPL if it was a JSDPL
25. Give it a Name
26. Come back to the Test Cases tab
27. Click Edit for the created test case
28. Click Add DPL below the test case created, From the Select DPL, choose the DPL that was defined in the resources tab
29. Click Save
30. Save Scenario and play Scenario
 
<div id="bkmrk-"></div>