# 7.1 - Integrations

Integrations — 07 - Integrations documentation.

# Azure DevOps Integration for AIQ

How to set a scenario pipeline in Azure DevOps with Ant.

1. Create Pipeline
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/nfgC8KcnkgGc787a-d55d7bd93ed7.png)
2. Select the source of your GIT project containing the pipeline files (build.xml, scenario files, etc)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/uhrz9rgIpPA2KU2l-23ad2453e847.png)
    
    The repository should contain files similar to the ones provided with the ZIP file at the end of this document. Edit as necessary to point to correct controller DNS other data in controller.json and git.json files.
3. Create the repository connection to your existing Git repository.
    
    
    - **Connection Name** : Enter a name for the connection.
    - **Git Repository URL**: The URL to your existing GIT repository. URL format is: `https://gitlab.com/<git username>/<git repo name>`
    - **User Name**: `<user>@<domain>`
    - **Password / Token Key**: The password or access token key to your Git account.
        
         See the Git documentation for more information on setting up access tokens: [Managing your personal access tokens - GitHub Docs](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)
     
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/pLiGZ3C9e1V5TGdc-2663c98f8f8b.png)
4. Select Ant pipeline template and choose ubuntu 18.04 agent.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/hfpCroTh7lFm0nmE-529179f6e168.png)
5. Click on Ant target and define
    
    
    - Target: `scenarioDashboardGit`
    - Options: `-Ddir=dir -Dscenario=demosite/demosite_checkout.scenario -DlocalEmptyFolder=dashboardsFolder -DprojectName=Checkout -DmaxAllowedFailures=0 -DminSuccessRatio=100`
    - JUnit test result files : `**/*.xml`
     
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wz8z6krECHZ8LrtH-8161b9e12483.png)
6. Scroll down, select the Advanced expand button, and select the JDK version to be JDK 11.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Zphdx08S0pXIf73j-5083ad52c26a.png)
7. Click on Copy Files task and define the source folder to the dashboard empty folder (dashboardsFolder)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/fSPqsxJSbpBTUuRP-b915782d731d.png)
8. Click Save and click on Pipelines in the left menu. Then in the right-click the More Options context menu and select Run pipeline
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/e3NUqu2qAOVMtGFf-19942e5d3be4.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/mkntk3nhKa5RJbXe-4b5d5834c570.png)
9. The pipeline should start running
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/tr5n4ISE6pv62YKf-ec58538a686b.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/LAcTU6GcTAOqE7Gg-7c89457a9e06.png)
 
## Sample Template Files

- Download a ZIP file containing sample template files: [CICD\_TEMPLATE.zip](../../Resources/Code%20Samples/CICD_TEMPLATE.zip)
 
<div id="bkmrk-last-updated%3A-februa">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">February 06, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Azure Monitor Integration for AIQ

Appvance supports an Application Performance Monitoring (APM) integration with Microsoft's Azure Monitor.

This integration was added in the AIQ 5.0.0 release.

For more information see [Microsoft's overview of Azure Monitor](https://learn.microsoft.com/en-us/azure/azure-monitor/overview).

### Configure AIQ Integration with Azure Monitor

1. Navigate to **Global Options** &gt; **Preferences** &gt; **APM Integration**.
2. Select **Azure Monitor**.
3. Enter the URL of your Azure Monitor portal and a name for the integration.
4. Select a Time Range to set the time to analyze along the execution. For example, if you select 30 minutes, it will analyze 5 minutes before and 5 minutes after a point selected in the execution.
5. Click **Save**.
6. Confirm the integration is saved in the dropdown at the top left corner.
 
### Seeing the Data in Azure Monitor

1. In AIQ run the scenario.
2. When the scenario is complete, navigate to **Reports** &gt; **Test Case Executions**.
3. Click the link to see the report.
4. Click any of the green triangles. Make note of the time index. Example: Azure Monitor execution details at 4:03:49 PM.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/lAlX0wSHOx2P0ud4-caa915bc7b57.png)
5. Click the blue button to open a new window with the Azure Monitor report between the time specified in the APM integration settings. Example: 30 minutes should show the report between 3:48 pm and 4:18 pm.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FiCa1N8iXlw5db2J-5f0d3308ff32.png)
 
<div id="bkmrk-last-updated%3A-januar">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">January 30, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Azure Active Directory Authentication for AIQ

Active Directory Password authentication allows users to authenticate to Azure SQL Database or SQL Server using their Azure Active Directory (AAD) credentials.

This is the process to create an SQL Server in the Azure Portal and configure it to use Active Directory Password authentication.

### Create a SQL Server Instance

1. Go to the Azure Portal and search for “SQL Database”.
2. Click **Add** to create a new SQL Database.
3. Specify the required such as Server Name, Subscription, Resource Group, and Location.
4. Select the Database SKU and Performance Tier.
5. Click **Review + create** and then click **Create** to deploy the SQL Server instance.
 
### Configure Active Directory Authentication

1. In the Azure Portal navigate to the newly created SQL Server instance.
2. Under **Settings**, select **Active Directory Admin**.
3. Assign an Azure Active Directory Admin to the SQL Server instance
 
### Register an Application in Azure AD

1. In the Azure Portal, navigate to Azure Active Directory.
2. Select **App registrations** and then select **New registration**.
3. Specify the Application Name and Redirect URI. Select **Accounts in this organizational directory only**.
4. Click **Register** to create the application
 
### Grant Permissions to the Application

1. In Azure Active Directory, navigate to the registered application.
2. Select **API permissions** and click **Add a permission**.
3. Select **Microsoft SQL Server and Azure Synapse Analytics** and then select **user\_impersonation**.
4. Click **Add permissions** and then click **Grant admin consent** to grant the necessary permissions.
 
### Create a SQL Login and User

1. Connect to your SQL Server instance using SQL Server Management Studio (SSMS) or another tool.
2. Create a SQL login for the application: `CREATE LOGIN [applicationName] FROM WINDOWS;`
3. Create a SQL user and map it to the login: `CREATE USER [applicationUser] FOR LOGIN [applicationName];`
 
<div id="bkmrk-last-updated%3A-octobe">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">October 29, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Configure Bitbucket Repository Integration in AIQ

<div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" id="bkmrk-you-can-trigger-an-a"><div class="confluence-information-macro-body">You can trigger an AIQ pipeline in Bitbucket from an existing project. By default, Bitbucket pipelines are trigger by a commit to the related git repository.

 </div> </div> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/jsqMFEXLvXFsnLSa-f4eab1c6a527.png)

If is very easy to setup a scenario or AISG to be started by a Bitbucket pipeline, all you need is to create a repository and upload the build.xml file, your scenario or blueprint files, and a couple more configuration files.   
  
Once you have that you can create a **Starter pipeline**

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

   
 and edit the automatically created **bitbucket-pipelines.yml** file to look like this one:

<div class="codeSnippet" id="bkmrk-copy-1-2-3-4-5-6-7-8"><div class="codeSnippetBody">```
<span class="codeSnippetLineNumbers" style="border-right:#AAA 2px solid;">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</span>```
# This is an example Starter pipeline configuration<br></br># Use a skeleton to build<span style="color:#000000;">,</span> test and deploy using manual and parallel steps<br></br># <span style="color:#000000;">-----</span><br></br># You can specify a custom docker image from Docker Hub as your build environment<span style="color:#000000;">.</span><br></br><br></br>image: atlassian<span style="color:#000000;">/</span><span style="color:#795da3;">default</span><span style="color:#000000;">-</span>image:<span style="color:#008080;">3</span><br></br><br></br>pipelines:<br></br>  <span style="color:#795da3;">default</span>:<br></br>    <span style="color:#000000;">-</span> parallel:<br></br>      <span style="color:#000000;">-</span> step:<br></br>          name: <span style="color:#df5000;">'Smoke Tests'</span><br></br>          script:<br></br>            <span style="color:#000000;">-</span> echo <span style="color:#df5000;">"Run smoke tests scenario and create HTML dashboards"</span><br></br>            <span style="color:#000000;">-</span> ant createScenariosDashboard <span style="color:#000000;">-</span>Dscenario=scenarios<span style="color:#000000;">/</span>checkout<span style="color:#000000;">.</span>scenario
```
```

 </div> </div><div class="code panel pdl conf-macro output-block" id="bkmrk--2" style="border-width:1px;"><div class="codeContent panelContent pdl">```

```

 </div> </div>In above line 15, the createScenariosDashboard target is defined in the build.xml of the repository. Notice how you can pass parameters to the target and override any property values provided in the build.xml, meaning you can use the same build.xml file to run different scenarios and AISG.

Bitbucket requires you to create an app password that is different from your user password to start your pipelines. For more information on this requirement see [&gt;Bitbucket's announcement of this change](https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231).

## How to have your smoke test pipeline started from your code build pipeline

If your application code is compiled and built in a Bitbucket pipeline you can add a new step at the end of your bitbucket-pipelines.yml file to start the testing scenario pipeline as the last step of your build. For that you can add the - pipe to your app pipeline .yml file

<div class="code panel pdl conf-macro output-block" id="bkmrk-copy-1-2-3-4-5-6-7-8-1" style="border-width:1px;"><div class="codeContent panelContent pdl"><div class="codeSnippet"><div class="codeSnippetBody">```
<span class="codeSnippetLineNumbers" style="border-right:#AAA 2px solid;">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
</span>```
# This is an example Starter pipeline configuration<br></br># Use a skeleton to build, test and deploy using manual and parallel steps<br></br># -----<br></br># You can specify a custom docker image from Docker Hub as your build environment.<br></br><br></br>image: atlassian/default-image:3<br></br><br></br>pipelines:<br></br>  default:<br></br>      - step:<br></br>          name: 'Build my App'<br></br>          script:<br></br>            - echo "Your build goes here..."<br></br>            - echo "after build ends, then the AIQ smoketest is started."<br></br>            - pipe: atlassian/trigger-pipeline:5.0.0<br></br>              variables:<br></br>                BITBUCKET_USERNAME: 'userappvance'<br></br>                BITBUCKET_APP_PASSWORD: '3casdfXX7qfKasdfGgBC'<br></br>                REPOSITORY: 'smoketestcicd'<br></br>                # ACCOUNT: '<string>' # Optional<br></br>                # REF_TYPE: '<string>' # Optional<br></br>                # REF_NAME: '<string>' # Optional<br></br>                # CUSTOM_PIPELINE_NAME: '<string>' # Optional<br></br>                # PIPELINE_VARIABLES: '<json>' # Optional<br></br>                # WAIT: '<boolean>' # Optional<br></br>                # WAIT_MAX_TIMEOUT: '<string>' # Optional<br></br>                # DEBUG: '<boolean>' # Optional<br></br>
```
```

 </div> </div> </div> </div>Find more info **here**. This will trigger the smoketestcicd build to run after the app build steps:

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

<div id="bkmrk-last-updated%3A-august">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">August 03, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# CircleCI

Operate an Appvance Test Scenario from CircleCI using the Appvance IQ Plugin.

Appvance IQ Test scenarios can be run from CircleCI integration using a CIPlugin that Appvance provides. CIPlugin enabled you to start test scenarios from the YAML tag (CI Tools).

## Prerequisites

- Appvance CI Plugin
- Java 1.8
- Scripts and Appvance Test scenario created and available
- Active GitHub account
- Circle CI that is tied to the GitHub account

## Running the test scenario

1. Create a project in your GitHub account.
2. Create a folder called CircleCI with the file called config.yml.  
    ![y4WrP2glg7TUKvQj-b4f73cb2c2d4.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/y4WrP2glg7TUKvQj-b4f73cb2c2d4.png)
3. Config.yml should have the minimum following details in it:  
    ```
    # Python CircleCI 2.0 configuration file                        #                        # Check https://circleci.com/docs/2.0/language-python/ for more details                        #                        jobs:                        build:                        docker:                        - image: circleci/java:8-jdk                        working_directory: ~/repo                        steps:                        - checkout                        - run:                        name: Install ant                        command: |                        sudo apt-get install -y ant                        echo 'ant installed.'                        cd /home/circleci/repo/appvance/scenario1                        ant -buildfile build.xml -DbuildNumber=$CIRCLE_WORKFLOW_ID executeScenario                        cd /home/circleci/repo/appvance/scenario2                        ant -buildfile build.xml -DbuildNumber=$CIRCLE_WORKFLOW_ID executeScenario                        no_output_timeout: 2h                        - save_cache:                        key: deps1_{{ .Revision }}                        paths:                        - ~/repo                        workflows:                        version: 2                        build_and_test:                        jobs:                        - build                        - dev:                        requires:                        - build                        filters:                        branches:                        only:                    - /feature-.*/
    ```
4. This is going to install JDK 8, Install ant that is required to build **AppvanceRestClientWithDeps.jar,** and call the **build.xml** which internally runs the scenarios that are mentioned
5. Create a folder called appvance and inside have **build.xml** file and **localhost.json** files per scenario for better organizing  
    ![Lyt5Xr8jTsCTNI6n-f7e72eda39b2.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Lyt5Xr8jTsCTNI6n-f7e72eda39b2.png)  
    ![sUNIRZWEq3r8pVdd-f03ee025c338.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/sUNIRZWEq3r8pVdd-f03ee025c338.png)

build.xml would have the following details.

```
<project name="Lead Genius CI" default="addDeps" basedir=".">        <description>Lead Genius Blueprint Circle CI</description>        <property name="aiqCreds" value="localhost.json" />        <property name="scenarioName" value="ScenarioFiles/Scenario1.scenario"/>        <property name="resourcesDir" value="."/>        <target name="init">        <path id="IvyPath">        <pathelement location="AppvanceRestClientWithDeps.jar"/>        </path>        </target>        <target name="setup" depends="init">        <get src="https://s3-us-west-2.amazonaws.com/appvanceivy/projects/AppvanceRestClientWithDeps/master/latest/ivy" dest="AppvanceRestClientWithDeps.jar"/>        <taskdef name="blueprintEcho" classname="com.appvance.blueprint.BlueprintEcho" >        <classpath refid="IvyPath"/>        </taskdef>        <blueprintEcho message="Setting up blueprint ant tasks ..." />        </target>        <target name="executeScenario" depends="setup">        <taskdef name="runScenario" classname="com.appvance.ci.ExecuteScenario" >        <classpath refid="IvyPath"/>        </taskdef>        <runScenario scenario="${scenarioName}"        aiqCreds="${aiqCreds}"        dir="${resourcesDir}"/>        </target>        </project>
```

The file is self-explanatory and the scenario name is something that needs to be changed along with the path.

localhost.json would have the following details

```
{        "controller":{        "url":"http://ec2-x-x-x-x.us-west-2.compute.amazonaws.com:8080",        "username":"appvance",        "password":"appvance",        "workFolder":"/MyWorkdirectory/"        }        }
```

URL of the controller has to be changed and also the workFolder of the scenarios to be changed.

Any changes done to the files will initiate a build-in CircleCI.

You can go to your CircleCI Account after all these configurations are done in Github and the jobs can be run from CircleCI.

![NTXzcGpaie69DeIH-b203a5bb5ca5.png](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/NTXzcGpaie69DeIH-b203a5bb5ca5.png)After the successful execution, go to the Install Ant section which will display all the logs and the link to navigate to Reports of the test run.

You can copy-paste the link in your favorite browser to check the results in details

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

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

## Using OWASP Top Ten results

Treat the OWASP Top Ten as a risk-awareness taxonomy for organizing findings, not as a substitute for application-specific threat modeling. Run scans only within written scope, preserve the affected request and response evidence, and have the application owner validate severity and remediation.

# Elasticsearch and OpenSearch Integration

The ElasticSearch/OpenSearch integration allows you to share the information of steps and/or requests execution during a scenario execution with an AWS OpenSearch managed service or an ElasticSearch 7.x server.

For an in-depth comparison of Amazon OpenSearch and ElasticSearch see [OpenSearch vs. Elasticsearch - Dattell](https://dattell.com/data-architecture-blog/opensearch-vs-elasticsearch/#:~:text=OpenSearch%20includes%20access%20control%20for,at%20the%20Elasticsearch%20premium%20level.).

This integration allows you to leverage Kibana and OpenSearch Dashboards for performance analysis on steps/requests durations executed by an AppvanceIQ scenario.

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

This integration has two different ways to connect and send data:

- Using a REST Header Authentication
- Using AWS Authentication Protocol
 
## Using a REST Header Authentication

The integration relies on sending results data to a RESTFUL API endpoint and a token or apikey exposed by the search service.

This mode of connection is available in AIQ 4.9.2 and above.

This mode requires that you will also create an Authorization token or apikey(apikey you will use when connecting to an ElasticSearch or Elk Stack services, and for AWS OpenSearch you will need the token)

To create the basic authentication token you must to create a user.

### Authentication Example

Here is a simple basic authentication approach using Kibana’s internal user database.

1. Click **Internal User Database** and create a new user by typing a user name and password. You can limit the role of the user created in the **Role Mappings** option.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/vyMaVPyTQlaoR8Me-dc15a8b4c797.png)
2. A basic authentication token can be created by appending the kibana’s user name + “:” + password and then converting that string to a Base64 encoded string. You can do this with Chrome’s JS Console.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/YpX1RKXg3JAiwUjk-4ce381108c06.png)
3. For the basic authentication scheme you will need above string but with the prefix 'Basic '.
4. So final token will be similar to this:
    
    `Basic dGVzdC12c2VyOlRoZVChc3N3b3JkSGVyZQ==`
    
    Above is just for using Kibana internal user database. Using a cloud-based Kibana you will need an APIKEY that can be created using the steps in this document and will have a format similar to: `ApiKey aVZlLUMzSUJuYndxdDJvN0k1bU46aGxlYUpNS2lTa2FKeVZua1FnY1VEdw==`
 
### Setting up Search Integration in Scenario Editor for REST authorization header option

1. Open your scenario using the Appvance IQ Scenario Editor and select the Integrations tab. You can only have one integration configured per scenario.
2. Click on the Add Integration link and select the “Search API Connector” integration in the dropdown.
3. Enter the endpoint URL, the index name, and the authorization token/apike.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/RQazja07RX6vgB2S-293a577f0bc6.png)
4. In the dropdown select the level of detail that you need to send to the search service (STEPS or REQUESTS).
5. You can use the **Add a string to identify the data for this execution** field as metadata to identify the scenario name in the data sent to elastic search.
 
## Using AWS Authentication Protocol

This connection mode uses the AWS Java SDK protocol for authentication. The connection will first attempt to use environment variables with access credentials, but if they are not present it will try to use other methods provided in the AWS authentication protocol.

This mode of connection is only available in AIQ version 4.10.4 and above.

The recommended method for configuring your Appvance IQ system is through an Instance Identity Role. With this mode temporary credentials are provided by the ec2 instance’s metadada and assigned to an ec2 user case role.

This method requires to be able to access the Instance Metadata Service (IMDS) which provides temporary access credentials an a token to the requesting connection.

For more information see: [Instance identity roles - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-identity-roles.html) in the Amazon documentation.

The setup is detailed in the following two sections, which shows how to create an ec2 use case role and how to apply it to an ec2 instance.

### Create a ec2 use case role with permission to index records to the Amazon OpenSearch service

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

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

### Assign the role to the EC2 machine where the AppvanceIQ controller is hosted.

Select your Appvance IQ controller instance in the AWS EC2 console and select the **Actions** &gt; **Security** &gt; **Modify IAM Role** option.

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

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

This authentication protocol requires that the EC2 where Appvance IQ is running has the instance metadata service active which can be tested by connecting to the EC2 server and navigating to the following URL: `http://169.254.169.254/latest/meta-data/`

The response should be similar to the following:

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

If the metadata URL does not respond means that you need to restore the Instance metadata service or create a new EC2 instance from an Amazon provided AMI. In the case you get 'Waiting for the metadata service' message please follow the steps [here](https://repost.aws/knowledge-center/waiting-for-metadata) in the Amazon documentation.

For more information on instance metadata see: [Retrieve instance metadata - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html)

### Configuring the integration in Scenario Editor

To use the ec2 instance role mode just select the 'AWS Authentication' in the Type of authentication select option in the **Integration** tab in the Scenario Editor.

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

## Setting up an Amazon OpenSearch Service

OpenSearch is an open-source, distributed search and analytics suite derived from Elasticsearch supporting up to the 7.1 version, along with OpenSearch dashboards and Kibana.

1. To create your Amazon OpenSearch domain, see the "[Creating and managing Amazon OpenSearch Service domains](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html)" documentation in the Amazon OpenSearch Developer Guide.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/OiIA97goPw64WPgv-bc6c885a7100.png)
2. Once you have created the domain, you will have a Kibana URL that you will use to create your visualizations and dashboards, and a domain endpoint that you will need to configure your AppvanceIQ scenario editor integration.
 
Refer to the following Amazon documentation for other safe authentications options that you can configure. These are not covered in this topic.

- [Configuring Amazon Cognito authentication for OpenSearch dashboard](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html)
- [How to enable secure access to Kibana using AWS IAM Identity Center](https://aws.amazon.com/blogs/security/how-to-enable-secure-access-to-kibana-using-aws-single-sign-on/)
- [Configure SAML single sign-on for Kibana with AD FS on Amazon Elasticsearch Service](https://aws.amazon.com/blogs/security/configure-saml-single-sign-on-for-kibana-with-ad-fs-on-amazon-elasticsearch-service/)

### Importing a Sample Set of Visualizations, Dashboard and Index

As a starting point to visualize your AIQ data within Kibana you can import a JSON file that contains sample visualizations and a proposed dashboard using the attached scripts.

- [Kibana-AIQ-Dashboard-Objects.json](../../../Resources/Scripts/Kibana-AIQ-Dashboard-Objects.json)
- [Kibana-AIQ-Dashboard-Objects-With-Sample-Index.json](../../../Resources/Scripts/Kibana-AIQ-Dashboard-Objects-With-Sample-Index.json)
 
In Kibana, import the JSON file using the option in **Management** &gt; **Saved Objects** &gt; **Import**.

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

### Customizing Data Sent from AIQ to OpenSearch

You can use the metadata for the test scenario to display the JSON to display in a dashboards. This can be accomplished using the test scenario name which is the metadata content defined in the **Add a string to identify the data for this execution** field when setting up the integration in the Scenario Editor.

<div id="bkmrk-last-updated%3A-novemb">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">November 29, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Amazon AWS

# Amazon AWS

Contents:

- [Access windows EC2 machine which has windows firewall on from Local machine](/books/integrations/page/access-windows-ec2-machine-which-has-windows-firewall-on-from-local-machine)
- [Amazon EC2 Instance has no public DNS assigned to it](/books/integrations/page/amazon-ec2-instance-has-no-public-dns-assigned-to-it)
- [Attaching an Amazon EBS Volume to an Windows Instance](/books/integrations/page/attaching-an-amazon-ebs-volume-to-an-windows-instance)
- [Best Practices: Running Appvance IQ testing using EC2 cloud file](/books/integrations/page/best-practices-running-appvance-iq-testing-using-ec2-cloud-file)
- [Creating EC2 instances](/books/integrations/page/creating-ec2-instances)
- [Reserving and using an AWS Reserved Instance](/books/integrations/page/reserving-and-using-an-aws-reserved-instance)
- [Supported Instance Types](/books/integrations/page/supported-instance-types)
- [Changing your IP in the security group with aws cli.](/books/integrations/page/changing-your-ip-in-the-security-group-with-aws-cli)
- [AWS WorkSpace and Google Chrome](/books/integrations/page/aws-workspace-and-google-chrome)
- [How to Create an Access Key to your IAM User](/books/integrations/page/how-to-create-an-access-key-to-your-iam-user)
- [Setup IAM Role Permissions for the AWS EC2 Controller](/books/integrations/page/setup-iam-role-permissions-for-the-aws-ec2-controller)

# Access a Windows EC2 Machine Through Windows Firewall

Please find below article which explains in details on what steps needs to be followed.  
 **To Access an windows EC2 machine which has windows Firewall "ON"**  
 Please follow the steps mentioned below to access an EC2 machine with Firewall "ON"  
 Step1:  
 Login to the EC2 machine with the username and password. Once logged in successfully navigate to Control Panel\\System and Security and click "Windows Firewall".  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/s9MN5YJzmfBYKUMK-5bb424eb2204.png)  
 Step 2:  
 Once the user has navigated inside "Windows Firewall", on the left handside user will have an option named "Advanced Settings" click that.  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Umj1CPUZsrXDSBLE-6e559069e799.png)  
 Step 3:  
 Once the user has navigated to Advanced settings, User should click "Inbound Rule" and on the right hand side user should get an option to create a "New Rule" and clicks on it  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Q8eHB4gAFCKlPMNb-e0f12a230661.png)  
 Step 4:  
 User Clicks on "Custom rule" and clicks on Next  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/dxUaPgl2VcbABnHr-76051ddafdfd.png)  
 Step 5:  
 User selects on " All Programs" and clicks on Next  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FEOZpORemcuLLbLQ-4252acd84bcf.png)  
 Step 6:  
 User chooses the "Protocol Type" from the dropdown. In our case we will be opting for "TCP" since we need to access application over internet. Also User can also select ports for which this rule can be applied(For Ex: if we select 80, user can only access port 80 and so on). After making the changes the user clicks on next  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/aPTVZhoaXmbCHEyk-40e649738efa.png)  
 Step 7:  
 User clicks on the "Add" under "which remote IP address needs to be added. User should also need to know what public IP address is. User obtains the Public IP address and enters it and clicks on Next.  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GwrfJ5CyEPK4B9Pu-caf58ac8d8a0.png)  
 Note: After the IP address, you don't specify "/0". If you do, every computer in the world would have access to that port. To restrict access to a single address specify "/32" after the IP. (If you want to know why, read the following article: [http://en.wikipedia.org/wiki/CIDR](http://en.wikipedia.org/wiki/CIDR).)  
 Step 8:  
 User clicks on allowing the connection and clicks on next  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/PiDsePHg5lC4jUAH-ef786cad25b7.png)  
 Step 9:  
 User does not make any changes in this step and click "Next".  
  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Kxxa7vphjYmGEbyW-84916a6ed7ad.png)  
 Step 10:  
 User enters a name for this rule and clicks on Finish.  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/68zZF2aNvSYuCB9N-ed02a5ba40af.png)  
 User Verifies whether the rule has been added under Firewall  
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/26YANLoVz5pQ43O0-7bf073e8beeb.png)  
 User tries to access the below  
 URL :<span id="bkmrk-"></span>http://EC2 URL:8080/Appvance/login.html  
 User should be able to navigate to the URL successfully

<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Amazon EC2 Instance has no public DNS assigned to it

Please follow the below steps to add dns hostnames to your EC2 Instances.

- Add Column VPC Id and check the VPC Id that your instance is assigned to.
- Go to console.aws.amazon.com
- Go To **Services -&gt; VPC**
- Open **Your VPCs**
- select **your VPC** connected to your EC2 and
- Edit **Summary---&gt; Change DNS hostnames: to YES**

**Hope this helps.**

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

## Readiness outcome

Complete the checklist before installation begins and record any exception with an owner and remediation date. Keep platform requirements separate from procedural readiness so changes to hosts, certificates, credentials, or integrations can be reviewed without losing the deployment baseline.

# Attaching an Amazon EBS Volume to an Windows Instance

Attaching an Amazon EBS Volume to an Windows Instance.  
You can attach an EBS volume to one of your instances that is in the same Availability Zone as the volume.  
Prerequisites

- Determine the device names that you'll use.
- Determine how many volumes you can attach to your instance.
- If a volume is encrypted, it can only be attached to an instance that supports Amazon EBS encryption.
- If a volume has an AWS Marketplace product code:
    - The volume can only be attached to a stopped instance.
    - You must be subscribed to the AWS Marketplace code that is on the volume.
    - The configuration (instance type, operating system) of the instance must support that specific AWS Marketplace code. For example, you cannot take a volume from a Windows instance and attach it to a Linux instance.
    - AWS Marketplace product codes are copied from the volume to the instance.

**To attach an EBS volume to an instance using the console**  
1\. Open the Amazon EC2 console.  
2\. Click Volumes in the navigation pane.  
3\. Select a volume and then click Attach Volume.  
4\. In the Attach Volume dialog box, start typing the name or ID of the instance to attach the volume to in the Instance box, and select it from the list of suggestion options (only instances that are in the same Availability Zone as the volume are displayed).  
5\. You can keep the suggested device name, or enter a different supported device name.

  
**Important The block device driver for the instance assigns the actual volume name when mounting the volume, and the name assigned can be different from the name that Amazon EC2 recommends.**  
6\. Click Attach.  
7\. Connect to your instance and make the volume available.  
  
**Making an Amazon EBS Volume Available for Use**  
  
After you attach an Amazon EBS volume to your instance, it is exposed as a block device. You can format the volume with any file system and then mount it. After you make the EBS volume available for use, you can access it in the same ways that you access any other volume. Any data written to this file system is written to the EBS volume and is transparent to applications using the device.  
Note that you can take snapshots of your EBS volume for backup purposes or to use as a baseline when you create another volume.  
  
**Making the Volume Available on Windows**  
  
Use the following procedure to make the volume available.  
1.Log in to your Windows instance using Remote Desktop.  
2\. Start the Disk Management utility. On Windows Server 2012, on the taskbar, right-click the Windows logo, and then select Disk Management. On Windows Server 2003/2008, click Start, point to Administrative Tools, select Computer Management, and then select Disk Management.  
3\. Select the disk that represents the new EBS volume.

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

  
4\. On the Disk Management menu, select Action - All Tasks - Online.

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

  
5\. A new disk needs to be initialized before it can be used.  
Caution:  
If you're mounting a volume that already has data on it (for example, a public data set), make sure that you don't reformat the volume and delete the existing data.  
To initialize a new disk:  
a. In the Disk Management utility, select the new EBS volume disk.  
b. On the Disk Management menu, select Action - All Tasks - Initialize Disk. Attaching Volume to the instance Page 4  
c. In the Initialize Disk dialog, select the disk to initialize, select the desired partition style, and press OK.  
Restart your Amazon Instance.

---

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Best Practices: Running Appvance IQ testing using EC2 cloud file

The Best Practices that needs to be followed are below:

- Please make sure that Appvance IQ installed on the machine is using the License file that you have been provided with so that the new machines does not run into license issues while executing tests.
- Add Appvance IQ under Start up services so that once the machine starts, IQ is started automatically.
 
- Make sure the browsers are installed and are configured to have the correct paths.
- Once all the above changes are done create a new image and use this image to create machines while running tests.
- Do not run the test on Local machine instead EC2 machines to run these kind of tests which involves cloud file.
- Always click "Test Configuration" under cloud management to verify if the credentials entered are valid
- The Database URL should be changed from localhost URL to the name of the EC2 machine or use an RDS instance in Scenario Builder.
- Make sure to set "Terminate" as All and "Reboot" as Never under Locations in Scenario Builder or use these options depending on the needs.
 
<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Creating EC2 instances

 via Scenario Builder and running the tests, the first run's response times are on a higher side compared to consecutive runs by using the instances that are already running

Creating EC2 instances via Scenario Builder and running the tests, the first run's (where Appvance IQ creates requested instances from the Scenario builder using an AMI) response times are on a higher side compared to consecutive runs by using the instances that are already running.

AWS has a lazy start up, only required part of the hard disk is copied from the AMI to the run time hard disk.

Because of this, the machine starts up very fast, but accessing some parts of the hard disk could be very slow.

This affects Appvance IQ during the first scenario execution. The response times reported could be on the higher side.

Amazon provides a workaround which is reading the hard disk, in order to avoid this slowness during production.

Nevertheless the proposed solution is for Linux platform only.

Amazon documentation is located here.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-initialize.html

Appvance IQ now has the capability to read the hard disk the first time the machine is created (This is for windows platforms)

This will be done just the first time the AMI is created.

Note: Still there could be little difference in the response times when the test is started for the first time to create instance and run the scenario than compared to the subsequent scenario runs using the same started instance.

<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Use AWS Reserved Instances for AIQ Infrastructure

## Recommended guidance

AWS Reserved Instances can reduce infrastructure cost for stable AIQ workloads, but they should be planned with finance, cloud operations, and environment owners. Do not reserve capacity without confirming usage, region, instance family, term, and ownership.

## Before reserving

- Confirm whether the AIQ workload is steady enough to justify a reservation.
- Review region, instance type, operating system, term, payment option, and expected utilization.
- Coordinate with cloud governance and budgeting owners.
- Compare Reserved Instances with Savings Plans or current cloud purchasing standards.

## Operational guidance

1. Track which AIQ environments are intended to consume the reservation.
2. Review utilization regularly to avoid unused commitment.
3. Document renewal dates and ownership.
4. Re-evaluate reservations before AIQ upgrades, scaling changes, or cloud architecture changes.

*Last updated: October 6, 2026*

# Supported Instance Types

What are the Instance types that are supported from Amazon EC2 that can be used in Appvance to run tests?

Following are the list of supported Instance Types.

- t2micro("t2.micro")
- t2small("t2.small"),
- t2medium("t2.medium"),
- t2large("t2.large"),
- m4large("m4.large"),
- m4xlarge("m4.xlarge"),
- m42xlarge("m4.2xlarge"),
- m44xlarge("m4.4xlarge"),
- m410xlarge("m4.10xlarge"),
- c4large("c4.large"),
- c4xlarge("c4.xlarge"),
- c42xlarge("c4.2xlarge"),
- c44xlarge("c4.4xlarge"),
- c48xlarge("c4.8xlarge"),
- g28xlarge("g2.8xlarge"),
- d2xlarge("d2.xlarge"),
- d22xlarge("d2.2xlarge"),
- d24xlarge("d2.4xlarge"),
- d28xlarge("d2.8xlarge"),
- c3large("c3.large"),
- c3xlarge("c3.xlarge"),
- c32xlarge("c3.2xlarge"),
- c34xlarge("c3.4xlarge"),
- c38xlarge("c3.8xlarge"),
- DEFAULT("c1.medium"),
- c1xlarge("c1.xlarge"),
- cc28xlarge("cc2.8xlarge"),
- cg14xlarge("cg1.4xlarge"),
- cr18xlarge("cr1.8xlarge"),
- g22xlarge("g2.2xlarge"),
- hi14xlarge("hi1.4xlarge"),
- i2xlarge("i2.xlarge"),
- i22xlarge("i2.2xlarge"),
- i24xlarge("i2.4xlarge"),
- i28xlarge("i2.8xlarge"),
- hs18xlarge("hs1.8xlarge"),
- m1small("m1.small"),
- m1medium("m1.medium"),
- m1large("m1.large"),
- m1xlarge("m1.xlarge"),
- m3medium("m3.medium"),
- m3large("m3.large"),
- m3xlarge("m3.xlarge"),
- m32xlarge("m3.2xlarge"),
- m2xlarge("m2.xlarge"),
- m22xlarge("m2.2xlarge"),
- m24xlarge("m2.4xlarge"),
- r3large("r3.large"),
- r3xlarge("r3.xlarge"),
- r32xlarge("r3.2xlarge"),
- r34xlarge("r3.4xlarge"),
- r38xlarge("r3.8xlarge"),
- t1micro("t1.micro");
 
<div id="bkmrk-last-updated%3A-march-">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">March 25, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Changing your IP in the security group with aws cli.

First of all take install aws cli from this link:

[https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)

Secondly, open the terminal and setup the default profile:

<div id="bkmrk-aws-configure" style="border-width: 1px;"><div>```
aws configure
```

 </div> </div>insert AWS access Key ID:

insert AWS Secret Access Key:

Default region name:

Default output format: type &lt;json&gt;

After having to make the profile in config and credentials.

Instructions are here:

[https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)

Download the script from the repository:

[https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws](https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws)

[https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch\_my\_ruls.sh](https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch_my_ruls.sh) - for Unix machine.

[https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch\_my\_ruls.ps1](https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch_my_ruls.ps1) - for Windows machine.

Go to the AWS console where your EC2 instance:

Open preferred security group:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8q3NGxhjTcrQ8tm4-4b726b176179.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/mX14QGqJvIJlJhZS-d53bf004a029.png)Check marked values:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/nNAt4J2zZlBwFp9T-a7b0846dd3c6.png)Open the file under your OS in your favorite redactor and change the value:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/IXr3yQ1T6ExwnByu-8a5f7cd380f5.png)From now, when the IP is changed, and breaks ties with EC2 instance. Launch script it changes IP fast.

[https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch\_my\_ruls.sh](https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch_my_ruls.sh) - for Unix.

[https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch\_my\_ruls.ps1](https://gitlab.appvance.net/Appvance/devops/patch-rules-on-aws/-/blob/master/patch_my_ruls.ps1) - for Windows.

<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# AWS WorkSpace and Google Chrome

AWS WorkSpaces is a cloud-based virtual desktop infrastructure (VDI) service that lets users access desktop applications and data from devices with internet access. When AWS WorkSpaces is used for AIQ testing, review the browser’s third-party-cookie and Chrome policy settings.

## Enable third-party cookies

Enable third-party cookies in the browser used to record and run AIQ test scenarios. AIQ tests may need to store and retrieve cookies from domains other than the domain currently open. This is important for authentication and other workflows that rely on cross-domain cookies.

For example, if the application uses a third-party identity provider, disabling third-party cookies can prevent the browser from storing the provider’s authentication cookie and cause login to fail. It can also prevent accurate simulation of workflows that depend on third-party tracking cookies.

- Simulate user behavior, including login credentials or session IDs.
- Preserve session state so a user can return to the application and continue.
- Exercise new-user and returning-user scenarios.
- Improve performance-test efficiency by avoiding repeated login steps when the workflow permits.

## Chrome policies

Amazon WorkSpaces supports Google Chrome, and administrators can enforce Chrome policies such as:

- Block access to the Chrome Web Store.
- Disable automatic Chrome updates.
- Block pop-up windows.
- Block downloads flagged as unsafe.
- Enable Chrome Safe Browsing.

For AWS WorkSpaces browser-policy details, see [AWS browser policies documentation](https://docs.aws.amazon.com/workspaces-web/latest/adminguide/browser-policies.html).

## Inspect Chrome policies

Use either of the following methods to review the policies applied to the Chrome browser in the WorkSpace.

### Export policies to a text file

1. Open a new Chrome tab.
2. Enter `<span class="editor-theme-code">chrome://policy</span>` in the address bar and press Enter.
3. Review the policies currently applied, including user and system policies configured by your IT administrator.
4. Select the policy text and copy it with Ctrl+C on Windows or Command+C on macOS.
5. Paste the copied text into a text editor or another application for analysis or sharing with your IT administrator.

### Export policies to a JSON file

1. Sign in to the AWS Management Console and open the Amazon WorkSpaces console.
2. Select the WorkSpaces directory whose Chrome policies you want to export.
3. Open the **Group Policy** tab and select the group policy containing the Chrome settings.
4. Click **Edit** beside the **Chrome Policies** section.
5. In the Chrome policies editor, click **Download**.
6. Choose a local destination and click **Save**.
7. Use the JSON file to import the policies into another Amazon WorkSpaces directory or share it with IT administrators.

---

Last updated: October 15, 2026

If you have feedback on this topic, contact <documentation@appvance.ai>.

# Create an AWS IAM Access Key for AIQ Integrations

###### To create, modify, or delete your own IAM user access keys (console)

1. Use your AWS account ID or account alias, your IAM user name, and your password to sign in to the [IAM console](https://console.aws.amazon.com/iam).
    
    For your convenience, the AWS sign-in page uses a browser cookie to remember your IAM user name and account information. If you previously signed in as a different user, choose **Sign in to a different account** near the bottom of the page to return to the main sign-in page. From there, you can type your AWS account ID or account alias to be redirected to the IAM user sign-in page for your account.
    
    To get your AWS account ID, contact your administrator.
2. In the navigation bar on the upper right, choose your user name, and then choose **Security credentials**.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wXUkY7V128l6ajMW-37129d76ab9f.png)
 
Do one of the following:

To create an access key:

1. In the **Access keys** section, choose **Create access key**. If you already have two access keys, this button is deactivated and you must delete an access key before you can create a new one.
2. On the **Access key best practices &amp; alternatives** page, choose the Command Line Interface CLI option and then choose **Next**.
3. (Optional) Set a description tag value for the access key. This adds a tag key-value pair to your IAM user. This can help you identify and rotate access keys later. The tag key is set to the access key id. The tag value is set to the access key description that you specify. When you are finished, choose **Create access key**.
4. On the **Retrieve access keys** page, choose either **Show** to reveal the value of your user's secret access key, or **Download .csv file**. This is your only opportunity to save your secret access key. After you've saved your secret access key in a secure location, choose **Done**.
 
For more details see the Amazon AWS documentation: [Managing access keys for IAM users - AWS Identity and Access Management (amazon.com)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html)

<div id="bkmrk-last-updated%3A-octobe">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">October 31, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Set Up IAM Role Permissions for an AWS EC2 AIQ Controller

AWS Identity and Access Management (IAM) roles are entities you create and assign specific permissions to that allow trusted identities such as workforce identities and applications to perform actions in AWS.

For more information on IAM roles see the Amazon AWS documentation site: [IAM Roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html)

1. Create an IAM Role for the EC2 instance.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/4v9gmLG6hxZ9oJRd-2923a94ce8a1.png)
2. Once the IAM role is created, assign the following policies to the role.
#### EC2 Policy

The following JSON policy, when added to the IAM EC2 Role assigned to the controller, allows the scenario executions to instantiate, start, stop and terminate EC2 test nodes.

<div class="codeSnippet">[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>    "Version": "2012-10-17",<br></br>    "Statement": [<br></br>        {<br></br>            "Sid": "VisualEditor0",<br></br>            "Effect": "Allow",<br></br>            "Action": [<br></br>                "ec2:DescribeInstances",<br></br>                "ec2:TerminateInstances",<br></br>                "ec2:DescribeTags",<br></br>                "ec2:CreateTags",<br></br>                "ec2:RunInstances",<br></br>                "ec2:StopInstances"            ],<br></br>            "Resource": "*"        }<br></br>    ]<br></br>}
```

 </div> </div>#### S3 Policy for a given bucket 

This policy will allow the AIQ controller to setup AWS S3 storages without the need to provide Access Credentials. In the JSON below replace the your-bucket-name with the bucket name you will be using for your AIQ dashboards.

This is only for AIQ release 5.2.3+.

<div class="codeSnippet">[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>    "Version": "2012-10-17",<br></br>    "Statement": [<br></br>        {<br></br>            "Effect": "Allow",<br></br>            "Action": [<br></br>                "s3:PutObject",<br></br>                "s3:GetObjectAcl",<br></br>                "s3:GetObject",<br></br>                "s3:ListBucket",<br></br>                "s3:DeleteObject",<br></br>                "s3:PutObjectAcl"<br></br>            ],<br></br>            "Resource": [<br></br>                "arn:aws:s3:::your-bucket-name",<br></br>                "arn:aws:s3:::your-bucket-name/*"<br></br>            ]<br></br>        }<br></br>    ]<br></br>}
```

 </div> </div>10. Select the controller instance and assign the created Role to the controller instance using the **Modify IAM** role option.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/EajaHawBcc5qBIZv-a43dbf0b875d.png)
11. Check the **Security** tab of the controller instance and verify that the AIM role you created is visible.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/lHLDHhlFGdyDAajH-3024781a0b56.png)
 
<div id="bkmrk-last-updated%3A-decemb">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">December 04, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Amazon S3 Cross-Account Repository

This document explains how a client sets up an Amazon S3 bucket in **their own AWS account** so that it can be used as an S3 repository by an AppvanceIQ (AIQ) Controller that is hosted in Appvance's AWS account, using AIQ's **cross-account S3 mode**.

## Overview

In this setup:

- The **AIQ Controller** runs in the **Appvance AWS account** (`<span class="editor-theme-code">650030447088</span>`).
- The **S3 bucket** used as the repository lives in the **client's AWS account**.
- The Controller reaches the client's bucket by **assuming an IAM role** in the client account via AWS STS (`<span class="editor-theme-code">sts:AssumeRole</span>`), rather than using long-lived access keys.

<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">This is the recommended pattern because the client never has to share </span>IAM<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> access keys/secrets with Appvance, access is scoped to a single role with only the S3 permissions needed, and the client retains full control (revocable at any time by deleting/disabling the role or its trust policy).</span>

### High-level flow

1. Client creates an S3 bucket in their account.
2. Client creates an IAM role in their account with a trust policy allowing the Appvance Controller's specific IAM role to assume the role, and a permissions policy scoping access to just that bucket.
3. Client shares the **Role ARN** (and, if used, the **External ID**) with Appvance.
4. Appvance configures the AIQ Controller's S3 repository settings to use cross-account mode with that Role ARN.
5. At runtime, the Controller's AWS integration layer calls `<span class="editor-theme-code">sts:AssumeRole</span>`, receives temporary credentials, and uses those for all S3 operations against the bucket.

## Prerequisites

- Access to the client's AWS Console / CLI with permissions to create S3 buckets and IAM roles/policies.
- The Appvance AWS account ID: **650030447088**, and the Appvance Controller's specific IAM role ARN for this engagement (e.g. `<span class="editor-theme-code">arn:aws:iam::650030447088:role/<clientname>-aiq-controller-role</span>`) — Appvance provisions one such role per customer, so confirm the exact ARN with the Appvance team before starting.
- A name/tag convention for the bucket and role (e.g. `<span class="editor-theme-code">clientname-aiq-repo</span>`, `<span class="editor-theme-code">clientname-aiq-crossaccount-role</span>`).
- Decide whether to use an **External ID** for the trust policy (strongly recommended — see Security Recommendations below).

## Step 1 — Create the S3 Bucket

1. In the client AWS account, go to **S3 → Create bucket**.
2. Choose a globally unique bucket name, e.g. `<span class="editor-theme-code">clientname-aiq-repo</span>`.
3. Select the AWS region (ideally the same or nearest region to the Appvance Controller for latency).
4. Recommended settings:  
    
    - **Block Public Access**: Keep all four options enabled (bucket should never be public).
    - **Bucket Versioning**: Enable (protects against accidental overwrite/delete of test artifacts).
    - **Default encryption**: Enable SSE-S3 (AES256), or SSE-KMS — either the AWS-managed default key (`<span class="editor-theme-code">alias/aws/s3</span>`) or a customer-managed key — if the client prefers KMS-based encryption.
    - **Object Ownership**: Bucket owner enforced (ACLs disabled).
5. Create the bucket.

## Step 2 — Create the Cross-Account IAM Role

This role is what the AIQ Controller in the Appvance account will assume.

1. Go to **IAM → Roles → Create role**.
2. Choose **Custom trust policy** and enter a trust policy that allows the Appvance Controller's specific IAM role to assume this role. This is the default recommendation — Appvance provisions a dedicated controller role per customer (e.g. `<span class="editor-theme-code">arn:aws:iam::650030447088:role/clientname-aiq-controller-role</span>`), and scoping the trust policy to that exact role is tighter than trusting the whole Appvance account. Example (using an External ID, recommended):

`<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">"Version"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"2012-10-17"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">"Statement"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Effect"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"Allow"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Principal"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"AWS"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"arn:aws:iam::650030447088:role/clientname-aiq-controller-role"</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">},</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Action"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"sts:AssumeRole"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Condition"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"StringEquals"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">          </span>``<span class="editor-theme-code">"sts:ExternalId"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"REPLACE_WITH_AGREED_EXTERNAL_ID"</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">]</span>`  
`<span class="editor-theme-code">}</span>`

<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">Replace </span>`<span class="editor-theme-code">clientname-</span>``<span class="editor-theme-code">aiq</span>``<span class="editor-theme-code">-controller-role</span>`<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> with the actual Controller role </span>ARN<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> Appvance provides for this customer. If Appvance instead indicates the integration should trust the account as a whole (less common), use </span>`<span class="editor-theme-code">arn</span>``<span class="editor-theme-code">:aws:</span>``<span class="editor-theme-code">iam</span>``<span class="editor-theme-code">::650030447088:root</span>`<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> as the Principal instead. Confirm the exact principal with the Appvance team before finalizing.</span>

3. Skip attaching AWS managed permission policies at this step — a custom least-privilege policy will be attached next.
4. Name the role, e.g. `<span class="editor-theme-code">clientname-aiq-crossaccount-role</span>`.
5. Create the role.

## Step 3 — Attach a Least-Privilege S3 Permissions Policy

Create and attach a customer-managed policy scoped to only the bucket created in Step 1.

`<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">"Version"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"2012-10-17"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">"Statement"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Sid"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"AllowListBucket"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Effect"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"Allow"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Action"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:ListBucket"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:GetBucketLocation"</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">],</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Resource"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"arn:aws:s3:::clientname-aiq-repo"</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">},</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Sid"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"AllowObjectReadWriteDelete"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Effect"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"Allow"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Action"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:GetObject"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:PutObject"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:DeleteObject"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:GetObjectVersion"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:AbortMultipartUpload"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:ListMultipartUploadParts"</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">],</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Resource"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"arn:aws:s3:::clientname-aiq-repo/*"</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">]</span>`  
`<span class="editor-theme-code">}</span>`

Notes:

- Replace `<span class="editor-theme-code">clientname-aiq-repo</span>` with the actual bucket name in both Resource lines.
- If the Controller writes into a specific prefix/folder only (e.g. `<span class="editor-theme-code">aiq/</span>`), further scope Resource to `<span class="editor-theme-code">arn:aws:s3:::clientname-aiq-repo/aiq/*</span>` for tighter isolation.
- If the bucket uses SSE-KMS with a **customer-managed key**, also attach `<span class="editor-theme-code">kms:Decrypt</span>`, `<span class="editor-theme-code">kms:GenerateDataKey</span>`, and `<span class="editor-theme-code">kms:DescribeKey</span>` permissions scoped to that key's ARN, and add the role as a key user in the KMS key policy.
- If the bucket uses SSE-KMS with the **AWS-managed default key** (`<span class="editor-theme-code">alias/aws/s3</span>`), the same three KMS actions (`<span class="editor-theme-code">kms:Decrypt</span>`, `<span class="editor-theme-code">kms:GenerateDataKey</span>`, `<span class="editor-theme-code">kms:DescribeKey</span>`) are still required for cross-account access — a default key does not exempt a cross-account principal from needing explicit KMS permissions. IAM policies require the concrete key ARN rather than the alias, so resolve it first (e.g. `<span class="editor-theme-code">aws kms describe-key --key-id alias/aws/s3</span>`) and use that ARN as the Resource. Also confirm the default key's key policy permits use by this role, since AWS-managed default keys have limited policy editability compared to customer-managed keys.

Attach this policy to the role created in Step 2.

## Step 4 — (Optional but Recommended) Restrict the Bucket Policy

In addition to the IAM role's permissions policy, add a bucket policy on the S3 bucket itself that only allows access from the specific cross-account role. This provides defense-in-depth: even if the IAM policy were ever broadened by mistake, the bucket policy still limits who can touch it.

`<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">"Version"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"2012-10-17"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">"Statement"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Sid"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"AllowAIQCrossAccountRoleOnly"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Effect"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"Allow"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Principal"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"AWS"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">"arn:aws:iam::CLIENT_ACCOUNT_ID:role/clientname-aiq-crossaccount-role"</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">},</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Action"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:ListBucket"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:GetBucketLocation"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:GetObject"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:PutObject"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:DeleteObject"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"s3:GetObjectVersion"</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">],</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">"Resource"</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">[</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"arn:aws:s3:::clientname-aiq-repo"</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">        </span>``<span class="editor-theme-code">"arn:aws:s3:::clientname-aiq-repo/*"</span>`  
`<span class="editor-theme-code">      </span>``<span class="editor-theme-code">]</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">]</span>`  
`<span class="editor-theme-code">}</span>`

Replace `<span class="editor-theme-code">CLIENT_ACCOUNT_ID</span>` with the client's own AWS account ID.

## Step 5 — Share the Connection Details with Appvance

Once the bucket, role, and policies are created, share the following with the Appvance team so the AIQ Controller can be configured:

<table id="bkmrk-itemexamplenotesbuck" style="border: 0.666667px solid rgb(57, 62, 64); margin: 24px 0px 0px; border-collapse: collapse; width: 760px; table-layout: fixed; font-size: 1em; height: 1px;"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr style="box-sizing: border-box; height: 46.75px;"><th class="align-left" style="background-color: rgb(32, 35, 36); border: 0.666667px solid rgb(57, 62, 64); padding: 0px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: 400; position: relative;">Item

</th><th class="align-left" style="background-color: rgb(32, 35, 36); border: 0.666667px solid rgb(57, 62, 64); padding: 0px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: 400; position: relative;">Example

</th><th class="align-left" style="background-color: rgb(32, 35, 36); border: 0.666667px solid rgb(57, 62, 64); padding: 0px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: 400; position: relative;">Notes

</th></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Bucket name

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">clientname-aiq-repo</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;"></td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Bucket region

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">us-east-1</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Must match what's configured in AIQ

</td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Role ARN

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">arn:aws:iam::CLIENT_ACCOUNT_ID:role/clientname-aiq-crossaccount-role</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Used by the Controller for `<span class="editor-theme-code">sts:AssumeRole</span>`

</td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">External ID

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">REPLACE_WITH_AGREED_EXTERNAL_ID</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Only if used in the trust policy

</td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">KMS Key ARN (if applicable)

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">arn:aws:kms:...</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Required if bucket uses SSE-KMS — either the resolved default key ARN or a customer-managed key ARN

</td></tr></tbody></table>

<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">These details should be shared through a secure channel (not plaintext email), since the Role </span>ARN<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> plus External ID together control access to the bucket.</span>

## Step 6 — Configure the AIQ Controller (Appvance side)

On the AIQ Controller, the S3 repository is configured in **cross-account mode**, providing:

- Bucket name and region from the table above.
- Role ARN to assume in the client account.
- External ID, if the trust policy requires one.

Internally, AIQ's AWS integration layer performs an `<span class="editor-theme-code">sts:AssumeRole</span>` call against the client's role, receives short-lived temporary credentials, and uses those credentials for all S3 operations (list, get, put, delete) against the bucket — no long-lived client credentials are ever stored in the Controller.

## Step 7 — Validate the Setup

1. From the Controller, trigger a test scenario/run that writes to the S3 repo.
2. Confirm the object appears in the client's bucket (via S3 Console or CLI: `<span class="editor-theme-code">aws s3 ls s3://clientname-aiq-repo/</span>`).
3. Confirm the Controller can list and read back existing objects from the bucket.
4. Check CloudTrail in the client account for `<span class="editor-theme-code">AssumeRole</span>` and `<span class="editor-theme-code">s3:*</span>` events from the Controller to confirm access is going through the intended role.

## Security Recommendations

- Always use an **External ID** in the trust policy — mitigates the "confused deputy" problem and is an AWS-recommended best practice for third-party role assumption.
- Scope the trust policy Principal to the Appvance Controller's specific IAM role rather than the whole Appvance account root, where possible.
- Scope the IAM policy to the specific bucket (and prefix, if applicable) — never grant `<span class="editor-theme-code">s3:*</span>` on `<span class="editor-theme-code">Resource: "*"</span>`.
- Keep Block Public Access enabled on the bucket at all times.
- Enable bucket versioning so accidental deletes/overwrites can be recovered.
- Enable server-side encryption (SSE-S3 minimum, SSE-KMS if stricter compliance is required) — remember that SSE-KMS, even on the AWS-managed default key, requires explicit KMS permissions on the cross-account role.
- Enable S3 server access logging or CloudTrail data events on the bucket for auditability.
- Rotate the External ID and update the trust policy if the relationship with Appvance ever needs to be re-scoped or revoked.
- **Revocation**: access can be fully revoked at any time by deleting the IAM role, removing the trust policy statement, or removing the bucket policy statement — no coordination with Appvance is required.

## Troubleshooting

<table id="bkmrk-symptomlikely-causef" style="border: 0.666667px solid rgb(57, 62, 64); margin: 24px 0px 0px; border-collapse: collapse; width: 760px; table-layout: fixed; font-size: 1em; height: 1px;"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr style="box-sizing: border-box; height: 46.75px;"><th class="align-left" style="background-color: rgb(32, 35, 36); border: 0.666667px solid rgb(57, 62, 64); padding: 0px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: 400; position: relative;">Symptom

</th><th class="align-left" style="background-color: rgb(32, 35, 36); border: 0.666667px solid rgb(57, 62, 64); padding: 0px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: 400; position: relative;">Likely Cause

</th><th class="align-left" style="background-color: rgb(32, 35, 36); border: 0.666667px solid rgb(57, 62, 64); padding: 0px; text-align: left; vertical-align: top; box-sizing: border-box; min-width: 48px; font-weight: 400; position: relative;">Fix

</th></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">AccessDenied</span>` on `<span class="editor-theme-code">AssumeRole</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Trust policy principal or External ID mismatch

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Confirm the exact Principal ARN Appvance uses, and that the External ID matches exactly on both sides

</td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">`<span class="editor-theme-code">AccessDenied</span>` on S3 operations after successful `<span class="editor-theme-code">AssumeRole</span>`

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">IAM policy or bucket policy too narrow (wrong bucket name/prefix)

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Verify Resource ARNs in both the role's permissions policy and the bucket policy match the actual bucket/prefix

</td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Objects upload but can't be read back

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">KMS permissions missing on the cross-account role — this applies to both customer-managed keys and the AWS-managed default key (`<span class="editor-theme-code">alias/aws/s3</span>`)

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Add `<span class="editor-theme-code">kms:Decrypt</span>`/`<span class="editor-theme-code">kms:GenerateDataKey</span>`/`<span class="editor-theme-code">kms:DescribeKey</span>` to the role's IAM policy scoped to the resolved key ARN, and for customer-managed keys also add the role as a key user in the KMS key policy

</td></tr><tr style="box-sizing: border-box;"><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Intermittent `<span class="editor-theme-code">ExpiredToken</span>` errors

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Temporary credentials from AssumeRole expired mid-operation on long-running jobs

</td><td class="align-left" style="background-color: rgb(24, 26, 27); border: 0.666667px solid rgb(57, 62, 64); padding: 8px; text-align: left; box-sizing: border-box; min-width: 48px; font-weight: 400; vertical-align: top;">Confirm the Controller's AWS SDK layer is refreshing/re-assuming the role rather than caching credentials indefinitely

</td></tr></tbody></table>

## FAQ

### Is IMDSv1 required on the client side for this setup?

**No.** Neither IMDSv1 nor IMDSv2 is required in the client's AWS account for this integration, and clients can safely leave IMDSv1 disabled.

<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">This setup does not involve any EC2 instances running in the client's AWS account. It consists entirely of an </span>IAM<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> role, a trust policy, an S3 bucket policy, and </span>STS<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> </span>`<span class="editor-theme-code">AssumeRole</span>`<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> calls initiated from the Appvance side. The </span>AIQ<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> Controller runs in Appvance's AWS account (</span>`<span class="editor-theme-code">650030447088</span>`<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">) and calls </span>`<span class="editor-theme-code">sts</span>``<span class="editor-theme-code">:AssumeRole</span>`<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> against the client's role to obtain temporary credentials — no compute resource in the client's account is ever involved, so there is no instance in the client's environment that would query the Instance Metadata Service (</span>IMDS<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">) as part of this flow.</span>

Whatever IMDS credential-fetching occurs for the Controller itself happens on Appvance's own EC2 instance, in Appvance's own AWS account, and is entirely independent of and invisible to the client's environment.

For a client's security review: AWS's current guidance favors **IMDSv2-only (with IMDSv1 disabled)** as the more secure default, since it protects against SSRF-based credential theft. Leaving IMDSv1 off is aligned with AWS best practice, not against it.

<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);">This answer is scoped specifically to the S3 cross-account repository integration described in this document. If a client is also running other </span>AIQ<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> components inside their own AWS account — for example, self-hosted TestNodes or agents on their own EC2 instances — those are separate compute resources with their own </span>IMDS<span style="color: rgb(205, 200, 194); background-color: rgb(24, 26, 27);"> considerations, unrelated to this S3 cross-account setup.</span>

## Summary

The client only needs to create an S3 bucket, an IAM role with a scoped trust + permissions policy, and share the Role ARN (and External ID) with Appvance. No credentials ever leave the client's account — the AIQ Controller in Appvance's AWS account (650030447088) uses temporary, audit-able STS credentials obtained by assuming that role, keeping the client in full control of their own data at all times.

# Atlassian Jira

# Atlassian Jira

Appvance IQ supports integration with Jira Cloud and Jira hosted on a server. The following sections detail how to set up each type of integration and how to configure Appvance IQ Global Options.

- [AIQ Jira Integration (Jira Cloud)](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integration__Jira_Cloud_.htm)
- [AIQ Jira Integration (Jira Server)](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integration__Jira_Server.htm)

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

## Recommended learning path

Start with a recorded DS3 script, inspect its accessors and waits, then parameterize data before adding it to a Scenario. Run a small validation execution first; only after the script is stable should you configure distributed users, reports, or performance workloads.

# Configure AIQ Jira Cloud Integration

The Integration between Appvance IQ and Jira allows you to configure what project to use, what issue type to automatically create and how to add tickets automatically when a scenario fails.

### Prerequisites

- You must have a valid Atlassian Jira account.
- Admin/Owner permissions in AIQ are required to configure the integration.
 
### Configuration Process

The following sections detail configuring the AIQ integration with Jira Cloud.

- [Configuring Jira Global Options ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ConfigOptions.htm)
- [Viewing Jira Tickets Created by the Integration ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ViewTickets.htm)
- [Viewing Jira Error Messages ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ErrorMessages.htm)
- [Scenario Editor Jira Settings ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ScenarioSettings.htm)
- [AIQ Jira Integration Behavior ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_Behavior.htm)
 
<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 05, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Configure AIQ Jira Server Integration

Appvance IQ supports integration with Jira Cloud and Jira hosted on a server. The sections details how to host Jira and and how to configure Appvance IQ Global Options.

# Prerequisites

**System Requirements**

Minimum requirements for third-party software installations:

- [&gt;Maven (3.x)](https://maven.apache.org/download.cgi)
- Java; Appvance is using [&gt;GraalVm 21.3](https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.3.3.1/graalvm-ce-java11-windows-amd64-21.3.3.1.zip)
- [&gt;OpenSSL](https://wiki.openssl.org/index.php/Binaries); is included on Mac and Linux, but will need to be installed on Windows
 
**Jira Server**

Minimum requirements for your hosted Jira instance:

- A Jira Server must be installed, configured and ready to use.
    
    
    - For Jira installation instructions, see [&gt;Installing Jira Applications](https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-938846823.html) on Atlassian’s website.
    - For example, a Jira Server site is running at `localhost:8800`.
    - For an example of OAuth authentication, see the Jira developer documentation [&gt;*Jira REST API Example - OAuth authentication*](https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-oauth-authentication-6291692/)*.*
- A user that has permission to browse a project. For more information, see the Atlassian documentation on [&gt;*Managing Project Permissions*](https://confluence.atlassian.com/adminjiraserver/managing-project-permissions-938847145.html).
 
# Configuring the AIQ Integration with Jira

These are the steps for configuring the AIQ integration with Jira server:

1. Configuring Jira
2. Creating the Client
3. Authorize
4. Configure AIQ
 
## Configuring Jira

In Jira, OAuth consumers are represented by application links. Application links use OAuth with RSA-SHA1 signing for authentication. This means that a private key is used to sign requests, rather than the OAuth token secret/consumer secret. In the following steps, you’ll generate an RSA public/private key pair, then create a new application link in Jira that uses the private key.

**Generating an RSA public/private key pair:**

In the terminal, run the following OpenSSL commands. You can do this anywhere in your file system, but note that this is where the files will be created (OpenSSL is available inside the git installation directory).

1. Generate a 1024-bit private key: `OpenSSL genrsa -out jira_privatekey.pem 1024`
2. Create an X509 certificate: `openssl req -newkey rsa:1024 -x509 -key jira_privatekey.pem -out jira_publickey.cer -days 365`  
    Note: some additional inputs can be requested, follow terminal instructions.
3. Extract the private key (PKCS8 format) to the jira\_privatekey.pcks8 file: `OpenSSL pkcs8 -topk8 -nocrypt -in jira_privatekey.pem -out jira_privatekey.pcks8`
4. Extract the public key from the certificate to the jira\_publickey.pem file: `OpenSSL x509 -pubkey -noout -in jira_publickey.cer > jira_publickey.pem`
5. Optional. Copy the content of the files jira\_privatekey.pcks8 and jira\_publickey.pem to a single text file.
 
 **Creating an application link:**

1. In Jira Server, navigate to Jira settings (cog icon) &gt; **Applications** &gt; **Application links.**
2. Click **Create link**.
3. Select **External application** as the Application Type.
4. Select **Incoming** as the Direction.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/KjJM79YWgAgW6nZH-eb34671fb39e.png)
5. Click **Continue**.
6. On the **Configure an incoming link** page, enter the following information:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/LZcJAMdn27x8rx8B-b25b3bbd249c.png)
    
    Name - Enter the name of your link.  
    Redirect URL - Enter the Redirect URL provided by the application.  
    Permission - Write
7. On the **Credentials** page, enter the following information:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/NCqknwqnGVQEDuOU-8bdb4255ebb9.png)
8. On the next screen of the Link applications dialog, enter the consumer details for the sample client:
    
    
    - Consumer key = OauthKey
    - Consumer name = Example Jira app
    - Public key = Copy the public key from the jira\_publickey.pem file you previously generated and paste it into this field (for example: dv5y+mjc4fZHHoLAwg...).
9. Click **Continue**. The application link that you created will display.
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/VPzDv6vwKI29E8xW-a8dd799fb71d.png)

## Creating the Client

Next, create the sample client, which is the consumer.

1. Clone the client code from the Bitbucket repository. See the Bitbucket documentation on [&gt;*atlassian-oauth-examples*](https://bitbucket.org/atlassianlabs/atlassian-oauth-examples) for more information.
2. Within the cloned project, navigate to the java directory, open a terminal, and build the client by running the following command: `mvn clean compile assembly:single`  
    A message similar to this will display in the terminal when the client is built:  
    `[INFO] --------------------------------------`  
    `[INFO] BUILD SUCCESS`  
    `[INFO] --------------------------------------`  
    `[INFO] Total time: 2.995 s`  
    `[INFO] Finished at: 2019-03-27T15:43:45+11:00`  
    `[INFO] Final Memory: 25M/588M`  
    `[INFO] --------------------------------------`
 
## Authorize

Authorize the client with Jira. This is the process of getting an access token from Jira (the resource), that the client (the consumer) can use to access information on the Jira site.

1. In the terminal, open the target folder of the sample OAuth client project.
2. Run the following command: `java -jar OAuthTutorialClient-1.0.jar requestToken`
    
    Note: this will fail the first time, but it is expected.
3. Open with a text editor the file config.properties and modify the following:
    
    a. jira\_home: Jira URL (remember to scape the colon, example: http\\://localhost\\:8800 )
    
    b. consumer\_key: OauthKey
    
    c. private\_key: add the jira\_privatekey.pcks8 (in a single line, remove the dashed lines)
4. Run the following command: `java -jar OAuthTutorialClient-1.0.jar requestToken`
    
    This command requests an unauthorized request token from your Jira instance. The output shows with the details of your new request token.  
    Example:
    
    `Token: ec3dj4byy.........99obAlo`
    
    `Token Secret: OhON.......7Dmxjy0d`
5. Retrieve the request token. Navigate to to `https://[Jira URL]/plugins/servlet/oauth/authorize?oauth_token=[token]` to authorize it
    
    Note: The request token will persist for 10 minutes. If it expires, you will need to request a new one.
6. In your browser, go to the URL specified in the terminal output. You'll see the following screen:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/f3bplqgTmsTOB9Pr-a63166f0f818.png)
7. Click **Allow**. This will authorize the request token.
    
    You'll see the following output in your browser:
    
    `Access Approved You have successfully authorized the 'Example JIRA app'.`
    
    `Your verification code is 'q.....Pi'.`
    
    You will need to enter this exact text when prompted. Copy your verification code to use in the next step.
8. In the terminal, run the following command, replacing the example verification code (`q....Pi`) with your own verification code from the previous step:
    
    `java -jar OAuthTutorialClient-1.0.jar accessToken q.....Pi`
    
    You'll see the following output in the terminal, with your access token:
    
    Access Token: W1jjOV4s.....gbjtKc2ye
    
    Note: To get the access token in OAuth, you need to pass the consumer key, request token, verification code, and private key. However, in the sample client, information like the consumer key, request token, private key, and so on, are stored in the config.properties file when they are generated. (You can look at it as you complete this tutorial and you will see the new values added). You probably don't want to do this for production implementation, but this makes the sample client easier to use for this example.
9. Navigate to the target folder where the OAuthTutorialClient-1.0.jar is located and copy the parameters in the config.properties file in order to configure AIQ with Jira Server.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/4roYN2GoiM0iq8FP-0873a371042e.png)
 
## Configuring AIQ

The Integration between Appvance IQ and Jira allows you to configure what project to use, what issue type to automatically create and how to add tickets automatically when a scenario fails.

### Prerequisites

- You must have a valid Atlassian Jira account.
- Admin/Owner permissions in AIQ are required to configure the integration.
 
### Configuration Process

The process is the same as that for the Jira Cloud configuration. The following sections in the Jira Cloud documentation detail configuring the AIQ integration with Jira:.

- [Configuring Jira Global Options ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ConfigOptions.htm)
 
- [Viewing Jira Tickets Created by the Integration ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ViewTickets.htm)
- [Viewing Jira Error Messages ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ErrorMessages.htm)
- [Scenario Editor Jira Settings ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_ScenarioSettings.htm)
- [AIQ Jira Integration Behavior ](https://docs.appvance.net/Content/AIQ/Integrations/AtlassianJira/AIQ_Jira_Integ_Behavior.htm)
 
<div id="bkmrk-last-updated%3A-august">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">August 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Jira Integration API Notes

In relation to the Jira integration with Appvance IQ, this section details how the OAuth token passed from AIQ to Jira.

 Here is the endpoint in Jira and the sample request payload.

- \[JIRA URL\] + plugins/servlet/oauth/access-token
- \[JIRA URL\] + plugins/servlet/oauth/request-token
 
What is needed is the accessToken, secreteKey, consumerKey and privateKey.

See the [Atlassian Developer documentation for OAuth](https://developer.atlassian.com/server/jira/platform/oauth/) for an example of how this is configured.

### API Details

 <table cellspacing="0" class="TableStyle-ParameterTable" id="bkmrk-method-request-get-%2F" style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../../../../Resources/ParameterTable.css');"> <col class="TableStyle-ParameterTable-Column-Column1" style="width: 209px;"></col> <col class="TableStyle-ParameterTable-Column-Column2"></col> <thead> <tr class="TableStyle-ParameterTable-Head-Header1"> <th class="TableStyle-ParameterTable-HeadE-Column1-Header1">Method</th> <th class="TableStyle-ParameterTable-HeadD-Column2-Header1">Request</th> </tr> </thead> <tbody> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/auth/1/session

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">POST</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/issue/

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">POST</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/search

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/project

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/issue/createmeta

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/project/{projectIdOrKey}/statuses

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">POST</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/issue/{issueIdOrKey}/attachments

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/issue/{issueIdOrKey}/comment

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/issue/{issueIdOrKey}/transitions

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">POST</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/rest/api/2/issue/{issueIdOrKey}/transitions

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">/plugins/servlet/oauth/access-token

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyB-Column1-Body">GET</td> <td class="TableStyle-ParameterTable-BodyA-Column2-Body">/plugins/servlet/oauth/request-token

 </td> </tr> </tbody> </table>

<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 03, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Bamboo

# Bamboo

### Setup Build to run tests in Bamboo (Windows - localhost)

1. Download and install Atlassian Bamboo on one of your servers
2. Before you install Bamboo, check that you're running a supported Java version and that the JAVA\_HOME (pointing to JDK) and JRE\_HOME (pointing to JRE) environment variable is set correctly

<u>**Download Bamboo**</u>

1. Download Bamboo from the Atlassian download site.  
    Note: It is highly recommended to avoid placing the Bamboo home directory in any Windows security controlled directory, for example, C:\\Program Files
2. Launch the Bamboo Windows installer to begin the installation wizard
3. The installer requires you to specify two directories:  
    Destination directory— This is the directory where Bamboo's application files will be installed. The default is:  
    C:\\Program Files\\Bamboo
4. Bamboo home directory— This is the directory where Bamboo will store its configuration data. If the directory you specify doesn't exist, Bamboo will create the directory when it launches. The default is:  
    C:\\Users\\&lt;current-user&gt;\\Bamboo-home
5. Ensure that the Bamboo home directory is not located inside the &lt;Bamboo installation directory&gt;

<u>**Start Bamboo**</u>

1. In the command line, change the directory to &lt;Bamboo installation directory&gt; and run the following command:  
    bin\\start-bamboo.bat
2. In your Web browser, enter the following address: [http://localhost:8085/](http://localhost:8085/)

<u>**Configure Bamboo**</u>

When you launch Bamboo for the first time, the Bamboo setup wizard will display. The wizard will lead you through the Bamboo settings that you need to configure before you can start using it.

- You must have a valid Bamboo license (evaluation or commercial) to use Bamboo. You can generate your own Bamboo evaluation license from your Atlassian account
- Setup Admin Account: The final step of the setup wizard is to enter the details of the first registered user for the Bamboo system. This user will have global administrative privileges over the entire installation of Bamboo and should not be removed
- Once you have entered the details for your administrator user, click Finish. The Bamboo dashboard will be displayed

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/K7w89lJv103tgkkL-c2a46f02a66f.png)<u>Bamboo Plug-in, Create test plan, configure and run Appvance IQ Scenario</u>

NOTE: To avoid possible errors when trying to access the result page, the scenarios used for triggering from bamboo should NOT have the database set in the scenario XML. So it will use the default settings of the AIQ console.

1. Create a new Test Plan in Bamboo and fill out all the required fields  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/iHGVwUZrkJhwzDyW-5887e3baffbd.png)
2. Once the project has been created, Click Crete Plan  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/XiScyBqyrnjc6xNZ-228adc2fd4a6.png)
3. Create a new Test Plan in Bamboo and fill out all the required field  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/hQwY76eyrgCtsL2O-f4852ff42a7f.png)
4. Click any Repository options and click Configure plan. (Ex:- Git)  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/6ou18auOkdOPDqUw-578853ada597.png)
5. Configure the Job  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/PGhYoMWdDKzNpTwO-2c95a8b10587.png)
6. Add the Ant Task by Clicking Add Task  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/9q4YoHLHV0AQjn6B-beb7c07b3e49.png)
7. Search Ant in Search Bar  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/rvt7zfZdSOrPq1bp-6ad0653c28e8.png)
8. Create a new Task in Bamboo and fill out all the required fields  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/T7CwOB3lzX7D6jN0-53c676fd3f89.png)
9. Once the Task is created Click Projects and click the Created Project  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wyEXn4F5rpKdAxcF-e39dcf2993ae.png)
10. Enable the Plan by clicking Edit and Click Actions &gt; Enable Plan  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/jEtmPjqKfTXW29N1-54e471d3bfe4.png)  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/hVDjAJN49eTT7WJn-e0f3c77fee5a.png)
11. Run the Plan by Clicking Run &gt; Run Plan  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/1d4L5i9rOHV05HmB-8ae814956fbb.png)
12. View the Build Result Summary  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/cghrZYfeDzNtnIjZ-a602324ca6aa.png)

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

## Data flow and scope

TheLocker is the hand-off point for values produced by one tool or step and consumed by another. Define the value name and expected format before the producing step runs, then retrieve and validate it in the consuming step. Keep sensitive values scoped to the test and avoid logging secrets.

# Governing Services

# Governing Services

Appvance IQ is architected to the surface performance, interoperability, and functional issues in service environments. It should be natural to expect that Appvance runs as a service itself.

### Governing Services Using Registry/Repository And Test Automation

Software developers, QA technicians, and IT managers are learning how SOA governance and test automation tools benefit their organization's ability to develop, manage and deliver services to determine quality levels. Examples of these governance platforms include SoftwareAG's X-Registry, BEA AquaLogic Enterprise Repository, and IONA Repository. Appvance publishes a commercial test automation tool that when combined with the power of an SOA repository delivers SOA governance benefits. Appvance IQ delivers an inter-operability mechanism between the Appvance test automation run-time and a repository platform:

1. Delivers immediate useful test automation functions to governance platform users
2. Provides metadata for services being governed, including service up / down status, time-since-last-failure data, service deployment correct validation status, and service reliability history
3. Provides a mechanism to do service monitoring, scalability, and performance tests managed by a governance platform
4. Provides a widely-adopted test API, test runtime environment, and test development toolkit to governance platform users

An SOA governance platform provides controls and functions enabling enterprises to manage a set of interdependent information services. From the developer's perspective, a governance platform gives a developer a way to discover a service that implements a particular function which therefore won't need to be written. In an SOA context, governance adds a registry, enabling developers to search for services, a database of metadata about the services' qualities, and a set of policies to control the service's use at development and deployment time. For example, a policy attached to a service creating new employee email accounts requires a developer to also use service authorizing requests. Inter-operability between a governance and test automation platform, an example policy says, "You must run a test script successfully to verify this service is correctly configured before deploying this service to a production environment". In this inter-operability, the governance tool manages policies, stores the functional tests scripts, issues a call for Appvance to run a test, and saves the results as metadata for the service entry in the repository. The inter-operability provides a way to accomplish "test by policy" methods.

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 15, 2026

# A Practical Example

A governance platform can help software developers and IT managers understand the policies, dependencies, and services used within an application. By exposing service dependencies, the platform helps teams evaluate service reliability and identify opportunities to build redundancy into the application when an upstream service becomes unavailable.

This type of knowledge can also be shared informally between developers. For example, one developer may recommend a U.S. Postal Service ZIP Code lookup service for a product registration page, allowing users to enter their ZIP code and automatically populate the city and state fields. The developer may also mention that the service has been observed to return errors on weekends.

This developer-to-developer exchange provides several pieces of useful information:

1. The existence and location of the ZIP Code lookup service.
2. The service's reliability varies depending on the time of use.
3. The service behaves according to its published schema.

An ideal governance platform provides this information in a centralized and accessible way. For example, a service catalog can display available services and their metadata, including their current availability status.

Integration with the Appvance runtime provides additional insight into service functionality, reliability, and quality. In a service-oriented environment, Appvance can use native protocols to test composite applications and evaluate their functionality, scalability, performance, and availability.

Appvance IQ can also leverage existing unit and functional tests to perform service-level functional, scalability, performance, and monitoring tests. Because Appvance is a distributed test automation platform, tests can run on remote TestNodes across multiple networks and machines.

These tests can provide valuable data for governance and monitoring systems, including:

1. **Availability Feed** — Provides data for evaluating Service Level Agreement (SLA) compliance.
2. **Functionality Feed** — Helps identify service regressions and functional issues.
3. **Reliability Feed** — Provides data for measuring service reliability over time.

---

**Last updated:** August 13, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>.

# Governing Services Using Registry/Repository and Test Automation

Software developers, QA technicians, and IT managers are learning how SOA governance and test automation tools benefit their organization's ability to develop, manage and deliver services to determine quality levels. Examples of these governance platforms include SoftwareAG's X-Registry, BEA AquaLogic Enterprise Repository, and IONA Repository. Appvance publishes a commercial test automation tool that when combined with the power of an SOA repository delivers SOA governance benefits. Appvance IQ delivers an inter-operability mechanism between the Appvance test automation run-time and a repository platform:

1. Delivers immediate useful test automation functions to governance platform users
2. Provides metadata for services being governed, including service up / down status, time-since-last-failure data, service deployment correct validation status, and service reliability history
3. Provides a mechanism to do service monitoring, scalability, and performance tests managed by a governance platform
4. Provides a widely-adopted test API, test runtime environment, and test development toolkit to governance platform users

An SOA governance platform provides controls and functions enabling enterprises to manage a set of interdependent information services. From the developer's perspective, a governance platform gives a developer a way to discover a service that implements a particular function which therefore won't need to be written. In an SOA context, governance adds a registry, enabling developers to search for services, a database of metadata about the services' qualities, and a set of policies to control the service's use at development and deployment time. For example, a policy attached to a service creating new employee email accounts requires a developer to also use service authorizing requests. Inter-operability between a governance and test automation platform, an example policy says, "You must run a test script successfully to verify this service is correctly configured before deploying this service to a production environment". In this inter-operability, the governance tool manages policies, stores the functional tests scripts, issues a call for Appvance to run a test, and saves the results as metadata for the service entry in the repository. The inter-operability provides a way to accomplish "test by policy" methods.

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 15, 2026

# Legacy SoftwareAG X-Registry Integration Reference

Appvance and SoftwareAG took the Appvance As A Service concept into reality. A proof of concept (POC) project for adding governance information to SoftwareAG’s X-Registry. In the POC, Appvance IQ monitors a service registered in X-Registry and sends that service's governance results statistics information to the X-Registry governance’s registry system, including current up / down service status, time since the last problem, and average response times. Within X-Registry, the statistics appear as the registered service's metadata.

## Introduction

AIQ has the capacity to work as a soap-based Web service known as Appvance As A Service (PAAS). SoftwareAG owns webMethods, a company providing business process integration to the world's largest corporations and government agencies. SoftwareAG publishes X-Registry (formerly WebMethods and Infravio X-Registry). X-Registry is a commercial software product providing registry, repository, and governance essentials for successful company-wide adoption of service-oriented architecture (SOA). The integration of AIQ and X-Registry delivers necessary functions to X-Registry users needing to govern services, by enabling X-Registry to realize the current state of a service and other governance information by adding PAAS to the governance platform. PAAS runs tests to the Web Services registered in X-Registry and stores governance information about the quality of those services. To accomplish this, several architectural and functional issues needed to be resolved:

- Who will write the test?
- How will PAAS information be accessed?
- Who will update the governance repository’s information?
- How often must governance information be updated?
- How will the security issues be managed?
- Does the monitor test only check the system or should it also update the repository information?
 
### Specification of the Appvance IQ / X-Registry Integration 

This figure illustrates the implementation of the Proof of Concept.

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

The following steps demonstrate the integration.

The user adds SendSMS to X-Registry

- Start X-Registry
- Start SendSMS
- Compile SendSMS project
 
To compile SendSMS, use an ant jar in the SendSMS folder.

- In file SendSMS/dist/TOMCAT/bin run startup.sh or startup.cmd according your OS.
- Add SendSMS to X-Registry
- Log in to the X-Registry system as a provider manager:  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/88hOJEs7rQmohAjS-173ad18c314d.png)
 
- Click Add New Service:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/VQl2riK9ABbWJZPX-40853b92fb5f.png)
- Add SendSMS service information. In the POC the service is named SendSMS and the WSDL  
    is:
 
http://localhost:8686/SendSMS/ws/SMS?wsdl

where localhost is the name of the system hosting the SendSMS service

1. Connect to X-Registry
2. Start PAAS using the command startup.sh or startup.cmd according to your OS. The files are located in the directory TRUNK/AIQ/TestNetwork/TestNode/bin
3. Start the PAAS test using the command PAASTest.bat or PAASTest.sh according to your OS. The files are located in the folder TRUNK/SendSMS
4. The program will connect to X-Registry
5. Connect to PAAS
6. The program PAASTest will connect to both systems using web services:  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/o5ntwxMowjVdE4dP-a76fdd7fe07f.png)
7. PAAS check SendSMS Status
8. PAAS system will periodically check the Service SendSMS by a user-specified time; for POC this time is 2 minutes
9. If the SendSMS test works, the system will state there were no errors
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/QcWywJFwuEXXZLz6-6d206ecd7aad.png)
10. If the service is not running or is not working as expected, PAAS will state the test failed with the reason for the failure
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/OgBu03ehqy3XHQ98-68e74b6b86cb.png)
11. Get GSRS information from PAAS
12. The PAAS test will automatically get historical service information from PAAS
13. The service information is XML data known as GSRS (Governance Statistics ResultSet)
14. The GSRS is known as Appvance-Governance and the document Appvance\_Governance.pdf describes its specification and design
15. This is a sample GSRS for a correctly running service:
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/AjBCaqRNMQ9XhsEs-96b633744831.png)

1. Update SendSMS information
2. PAAS will send the GSRS to X-Registry. Currently, it is posted in the description place, but being restricted to 255 characters is a problem. The future plan is to have the GSRS file added as a separate file and a new field added to indicate the service status
3. This figure shows a POC display of a service running as expected:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Mj1OpdqcH9AedUnI-07528907076a.png)
4. This figure shows a POC display of service not running as expected:
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/MN9bL4ycA9FkgbQW-85ddc2e4de78.png)

The preceding steps demonstrated how Appvance IQ monitors a service registered in X-Registry and sends service *Governing SOA Through Test Automation* information, to X-Registry governance registry system, such as current up / down service status, time since the last problem, and average response times as well as how X-registry stores and displays registered service information as metadata.

Further information can be found at:

- X-Registry description (Adobe Acrobat PDF format)
- WebMethods
 
<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# The PAAS Interface

Appvance IQ is an automation framework with a distributed test environment to test services for functionality, scalability, and performance. The AIQ Console sends required information to specialized and optimized TestNodes (located on several computers), runs the tests, and sends results back to the Console. The Console processes the results to create statistics files, charts, and reports. A simplified workflow of AIQ.

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

Appvance IQ enables the Console to receive soap-based Web service requests to operate a Test Scenario. AIQ has been upgraded to allow any application using a connector class to connect to the Console and run a test, with Appvance As A Service. The upgraded work-flow of AIQ;

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

## Modify the TestNodes to Allow Them to Operate Multiple Tests Concurrently.

In previous versions of the Appvance IQ TestNetwork architecture, TestNodes could receive instructions from only one Console. The new Appvance IQ architecture allows TestNodes to receive instructions from multiple applications (Consoles), which have been checked for availability, stability, and confidentiality.

1. Availability means a scenario can access all of its resources  
    To accomplish this, each scenario is given a unique ID in the form of ID\_ plus an ID number. Using the ID as its name, a directory (the application's root directory) is created and contains all the resources of each test
2. Stability means any process can not affect any other process.  
    To accomplish this, each monitor is run as an isolated thread with its own variable and ClassLoader, used to load the new required jar resources for a JAVA test
3. Confidentiality means any scenario can not access any other scenario's data.  
    To accomplish this, each scenario only knows its own root directory

## Develop a Class that Becomes a Service

1. The goal was to create a new class and use Apache Axis to turn it into a Web Service. This involved two tasks, compiling the new class and configuring tomcat to accept the new service
2. The new class needed to be simple, yet functional and complete as described in Classes

### Classes

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

Configuring Axis to accept the new class as a new service was surprisingly easy; simply add a new service tag to the Axis configuration file (server-config.wsdd)

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

## Develop a Class to Connect to PAAS

This is an interface between the application and PAAS. It is available as a standalone library for clients to connect their applications to PAAS Farms. Class Method describes the class methods:

### Class Method

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

### Example implementation

This code snippet shows a simple communication connection between an application and PAAS:

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

We found these resources helpful while implementing PAAS:

[Microsoft Developer Network: Software as a service](http://msdn.microsoft.com/en-us/architecture/aa699384.aspx)

[Microsoft Developer Network: Architecture Strategies for Catching the Long Tail](http://msdn.microsoft.com/en-us/library/aa479069.aspx)

[Anderson, Chris: The Long Tail](http://www.wired.com/wired/archive/12.10/tail.html?pg=1&topic=tail&topic_set=)

## PAAS Response

Each PAAS request to Appvance IQ generates a PAAS response:

### PAAS Request / Appvance IQ Response

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

The corresponding Web service result values are:

### Web Service Result Values

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

## Governance Statistics ResultSet (GSRS)

Appvance executes a test and returns a Governance Statistics Results Set (GSRS) response document.

A sample GSRS response:

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

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 15, 2026

# GitHub

# GitHub

Contents:

- [GitHub Action](/books/continuous-integration/page/github-action)
- [GitHub Action CICD](/books/continuous-integration/page/github-action-cicd)

# Glass Box

# Glass Box

# Java Enterprise Application Monitoring with Glassbox

Glassbox is a utility that monitors Java enterprise applications (WAR or EAR.) Glassbox identifies thread contention, excess memory usage, and slow database connections. Appvance IQ(AIQ) integrates with Glassbox to correlate monitored performance problems to AIQ's load test operations. Used in combination, AIQ and Glassbox deliver root cause analysis and mitigation of performance bottlenecks in Java enterprise applications.

Glassbox locates the reasons for an enterprise application failure, performance bottleneck, or functional issue without requiring changes or instrumentation to your application. Glassbox uses Aspect-Oriented Programming (AOP) and Java Management technology. Glassbox is safe to use in production environments. Glassbox uses less than 1% of your server's CPU bandwidth. Glassbox supports Apache Tomcat, IBM WebSphere, Oracle BEA WebLogic, RedHat JBoss, and Jetty.

You may still need network and application "sniffers," test harnesses, and probes, but thankfully these can now be focused on exotic problems and their complexity avoided when dealing with day-to-day application performance issues.

[The Glassbox Project](http://www.glassbox.com/) maintains Glassbox. Appvance integrates and ships Glassbox in Appvance PerformanceCloud Edition. [Appvance Global Services](http://www.appvance.com/appvance-test-services/) provides professional support, training, and consulting for Glassbox.

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 15, 2026

# Architecture

AIQ is a distributed test and monitor environment. As a load and performance test operates Glassbox observes performance metrics of a Java enterprise application, including memory use, thread contention, database connections, and object operation. Appvance Monitor (Appvance Monitor) communicates with Glassbox over Java management (JMX) protocols. AIQ gathers Glassbox data and correlates Glassbox findings into AIQ reports.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/UmhuWLFZtMeKg2kF-e4927ca61ecd.jpg)

For example, Appvance operates a load and performance test on one or more TestNodes. A TestNode is a Web service that receives and operates a test. The TestNode is in your QA lab, data center, cloud computing environment, or both. Glassbox installs on a Java application server and uses Aspect-Oriented Technology to observe enterprise applications. The AIQ monitor system (Appvance Monitor) communicates over JMX protocols to Glassbox as the test operates. The Appvance Enterprise Results Analysis Engine correlates the Glassbox observations to the load test results for root cause analysis and mitigation.

Glassbox provides a Troubleshooter to view the live monitored data and performance alerts for your application. The following shows the Glassbox Troubleshooter interface.

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

Glassbox Troubleshooter highlights problems with your application achieving your criteria for acceptable performance criteria. For example, Glassbox identifies slow object performance by setting a threshold in milliseconds. Use the Glassbox com (Hyperlink) figuration to set the criteria.

Appvance designed AIQ's Results Analysis Engine to provide drill-down functions on any of the Glassbox performance observations. [Contact Appvance Global Services](http://www.appvance.com/appvance-global-services/) to learn about additional charting and analysis functions.

Glassbox provides a Java management (JMX) interface to the Troubleshooter's extended performance monitor data. Access this data through the [Java Management Console](http://challenge.openjdk.org/tools/svc/jconsole/index.html) (JConsole). JConsole comes with the [Java Development Kit](http://java.sun.com/javase/downloads/index.jsp) (JDK.) With the JDK installed run the JConsol in a shell or terminal window by typing the following:

jconsole service:jmx:rmi:///jndi/rmi://localhost:7232/GlassboxTroubleshooter

JConsole connects to the Glassbox Troubleshooter and displays a graphical interface shown in the following.

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

---

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

## Cloud execution flow

Use the Ant tasks in dependency order: provision or start the node, wait for AIQ, create or generate the scenario, execute it, collect results, and shut down resources. Confirm that credentials, endpoints, and workspace paths are supplied by the build environment and review cleanup tasks after both successful and failed runs.

# Glassbox Features and Benefits

- 100% free and open source.
- Web application: deploy it and open its user interface in a browser.
- Diagnose problems with one click without requiring source-code knowledge.
- Concise English output reduces miscommunication.
- Measures SLA violations so teams can prioritize material issues.
- Low overhead is designed to minimize impact on production applications.
- Plug-and-play deployment requires no source or build changes.
- Adapts automatically to application code; no application training is required.
- Monitor or troubleshoot multiple agents simultaneously from the same client.

### Release-candidate improvements

- More than nine months of improvements since the beta.
- Improved installation, additional platforms, and improved automation.
- More monitors for additional frameworks and issue types.
- Improved integration APIs.
- Additional testing and bug fixes.

### Faults identified out of the box

- Slow, failed, or broken database queries and connections
- Failing or slow Java
- Bottlenecks and thread contention
- Slow or failing web services and remote procedure calls
- Inefficient Java code
- Faulty HTTP
- Java Mail issues
- Broken FTP
- Provides conclusive diagnoses instead of piles of logs and reports.
- Uses a simple web-based list/detail interface.
- Uses standards-based monitoring without custom byte-code manipulation.

### Supported technology

- Platforms: Windows, Linux, and Solaris
- Java 6: Sun, BEA JRockit, and IBM JVMs
- Java 5: Sun, BEA JRockit, and IBM Java 1.5 JVMs
- Other Java versions: 1.4.x JVMs from Sun, BEA JRockit, and IBM
- Databases: Oracle, MySQL, IBM DB2, and SQL Server
- Application servers: Apache Tomcat, WebLogic, JBoss, Oracle OC4J, WebSphere, and Resin

Check with Appvance for support status for additional platforms; support was being expanded.

- Uses standards-based AspectJ and JMX infrastructure.
- No licensing restrictions on where Glassbox 2.0 can run.

---

Last updated: October 15, 2026

If you have feedback on this topic, contact <documentation@appvance.ai>.

# Legacy Glassbox Installation Reference

Start the Glassbox installer using the following commands. Glassbox supports Apache Tomcat, IBM WebSphere, Oracle BEA WebLogic, RedHat JBoss, and Jetty.

Run the Glassbox installer.

`    java -jar Appvance_home/installme/glassbox.jar`

Follow the Glassbox installer instructions.

Depending on your application server, Glassbox may require changes and customization to the installation. For example, a Jetty application server installing Glassbox requires the following changes.

1. Install the following files and directory in the Jetty\_home/lib directory:
    
    
    - aspectweaver.jar
    - glassboxMonitor.jar
    - glass box directory of supporting files
2. Change the Jetty start-up script (Jetty\_home/start.sh or Jetty\_home/start.bat) by adding the following command line switches:
    
    
    - -javaagent:./lib/aspectjweaver.jar -Dglassbox.install.dir=./lib/glassbox
3. Optionally set the Glassbox JMX port and authentication parameters in the Jetty start-up script:
    
    
    - -Dcom.sun.management.jmxremote.port=9999
    - -Dcom.sun.management.jmxremote.authenticate=false
    - -Dcom.sun.management.jmxremote.ssl=false
4. Restart Jetty
5. Browse http://localhost:8080/glassbox
    
    Installation support is available at [Glassbox Web site](http://www.glassbox.com/).
 
## Installation Issues and Answers

Glassbox installation requires a Java application server to use [AspectJ Weaver](http://www.eclipse.org/aspectj/). Glassbox requires AspectJ 1.6 or later. Configuring AspectJ can be an issue depending on the application server. For example, IBM WebSphere ships with an older and incompatible version of AspectJ and requires a simple upgrade to the AspectJ jar files.

Note: The OpenAMF and Calendar example services (openamf.war and calendar.war) that come with AIQ is not compatible with Glassbox. Disable the OpenAMF and Calendar example services by removing openamf.war and calendar.war from Appvance\_home/TestNetwork/TestNode/webapps.

<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Install Glassbox on an AIQ Test Node

Glassbox monitoring helps diagnose performance bottlenecks in load tests. Install Glassbox on a TestNode with the following instructions.

1. Copy glassbox.war to Appvance\_home/TestNetwork/TestNode/webapps
2. Restart the TestNode. If you are installing Glassbox on the localhost TestNode installed with AIQ then restart AIQ.
3. Browse http://localhost:8080/glassbox. This runs the Glassbox installer.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/EQd7BPUylttyqLIv-51b034007db6.png)
4. Click the Install Now button
5. The installation has the effect of creating a glassbox directory in Appvance\_home/TestNetwork/TestNode/lib with several Glassbox files. AIQ comes with the AspectJ libraries already loaded and configured in the TestNode  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/adAWIHzAmXNgt7W2-9ae2f3f5768c.png)
6. Stop the TestNode using the shutdown.bat (or shutdown.sh) command. If you are installing Glassbox on the localhost TestNode in AIQ then exit AIQ
7. If you previously installed the Example Services for the AIQ Tutorials, you must remove the Appvance\_home/TestNode/webapps/openamr.war and calendar.war. These tutorial applications are not compatible with Glassbox
8. Use a text editor to add the following to Appvance\_home/TestNetwork/TestNode/startup.bat for Windows or startup.sh for Unix, Linux, and Mac OS  
     -Dglassbox.install.dir=./lib/glassbox
9. Start the TestNode using the startup.bat (or startup.sh) command. If you are installed Glassbox on the localhost TestNode in AIQ then start AIQ
10. Browse http://localhost:8080/glassbox
 
<div id="bkmrk-last-updated%3A-april-">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">April 01, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Resources

Appvance and Glassbox provide the following resources:

- [Glassbox website](http://glassbox.sourceforge.net/glassbox/Home.html)
- Glassbox User Guide (Adobe Acrobat PDF format)

---

Last updated: October 15, 2026

If you have feedback on this topic, contact <documentation@appvance.ai>.

# HAR

# HAR

Contents:

- [Creating a HAR Script and Running it](/books/integrations/page/creating-a-har-script-and-running-it)
- [Data Enabling HAR Script](/books/integrations/page/data-enabling-har-script)
- [HAR Options](/books/integrations/page/har-options)
- [HAR - Adding Descriptions](/books/integrations/page/har-adding-descriptions)

# Creating a HAR Script and Running it

About HAR

HAR, which stands for HTTP Archive Format, is an archive file derived through interactions within a web browser. The file contains protocol-level GET and POST request logging, as well as performance information and web page load times.

Why HAR

HAR files are quick and simple to produce. When used with Appvance IQ, HAR files provide detailed performance data and load testing capabilities.

Steps to be followed to create HAR script:

1. Open Google Chrome Browser.
2. Navigate to the web application that you wish to record.
3. Press F12 or right-click the page and click the Network tab.
4. Click the clear button, Refresh the page and click the Preserve Log check box.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/6UoCSgG3vHxmn44r-f4cda7bcbd72.png)
5. Perform the desired actions of the web application
6. The network tab records all the protocol level GET and POST request logging
7. Once complete with the actions, right-click the requests and select 'Save as HAR with content'
8. Save the file to your machine with a .har extension
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Gw3X0sdSQ3zsvG4b-82d975180553.png)Run the HAR script in Appvance Scenario Builder:

1. Login to Appvance IQ.
2. Click in Build
3. Click File→New
4. Chose any Test Type(Ex: Functional)
5. Click the Test Case tab and click Add Test cases for Test Execution
6. Select Script type as HAR and Browse the HAR Script.
7. Save the scenario and Play the scenario to see the results in the controller window.
 
It's that simple!

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/65gFr9zOAmZHH4e9-0c8b00d21f0b.png)<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Data Enabling HAR Script

Data enabling HAR scripts for Web applications:

Appvance IQ implements a Data Production Library (DPL) as an extensible framework to provide operational test data to test script runners at test runtime. The DPL framework is general in that data may be input from a variety of sources, including a relational database, comma-separated-value file, and data generating objects. A DPL also provides a safe way to store data between test steps. Appvance IQ comes with pre-built DPLs and makes it easy for software developers to add their own custom DPLs.

In our case, we will be using the "CSV" datasheet to data enable the HAR script.

The steps that need to be followed while data enabling HAR scripts are as below:

1. Record the script with username and password on the Chrome Browser and save the script  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/oQTBK8NN7pMvshm3-9794e169ffeb.png)
2. Open the saved script and search for the username/password you have entered in the URL and create a .CSV sheet with the entered username and password as a header in the CSV sheet and give the desired number of usernames and passwords below the headers.  
    For example:  
    If the user has used appleuser1 as the Username and appleuser@123 as the password. Then the user needs to replace 'appleuser1' and 'appleuser%40123' (please see the below instruction for any special character used in the password) in the HAR script which will be used as a Header in the CSV sheet.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ubrCAMb9e1x9xsx3-79e9b4a11d4e.png)  
    Also, make sure if there are any special characters in the password we need to replace it with the corresponding value with respect to the HAR script  
    For example:
    1. ! = %21
    2. @= %40
    
    NOTE: If the Password is appleuser@123 the entry in the csv sheet should be appleuser%40123  
    For more information on the special characters and the corresponding value to be used in the script refer to [Special Character value to be replaced in HAR script.](/books/appvance-har/page/special-character-value-to-be-replaced-in-har-script)
3. User can now upload the .HAR script and .csv sheet in Appvance Scenario Builder.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/LgIfD7VBlOKbdGtc-cc7ea9c6b434.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/vACso6odlb0m6ZCa-165f3a039b6d.png)  
    Choose the Script type as HAR and name the test  
    Choose the HAR script and select  
    Upload the CSV sheet in Resources Tab and choose the Action as "Next row of Data" by clicking Add DPL in Test Cases tab  
    Save and play the scenario
4. Check the script execution in the AIQ controller  
    you can also monitor if the script is replacing the appropriate values through the Appvance IQ controller by Clicking on Test case(s) Executions and selecting the result and clicking on Output.

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

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# HAR Options

Scenario Builder – HAR Options Usage

Appvance Scenario Builder provides some options which can be used in order to get different data or results when the user executes a HAR test scenario. These settings can be set and located in the "Options" panel of the Appvance Scenario Builder.

Below are the different options:

- Connection resets marks the whole Test Case as a failure.
- Mark each request as a step.
- Validate response code against original HAR response code (Otherwise usual status codes will be expected).
- Show headers, requests, and responses in each Test Case execution output.
- Execute all HAR calls (even after a failure).

These options will allow you to establish some parameters settings different from standard Test Cases executing a HAR script. Users may find these options useful depending on what kind of test is being executed. i.e. If the user is testing a website, the user may want to have the default settings (unmarked options) for a HAR test, on the other hand, for a web service the user may find it useful to mark every single request as a step or validate the response code against the original HAR script.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/T69fZGyTcRnlnLD6-8343c34abf15.png)<u>Connection resets marks the whole Test Case as a failure</u>

This option has to be used carefully depending on the desired results. The name of this option it's self-explanatory, it's used to mark the whole Test Case that's being executed as a failure when the connection resets.

<u>Mark each request as a step</u>

When this option is enabled, every single request retrieved from the HAR test is is being marked as a step–request key set instead of marking every request as a single request.

Also please make sure that this option is not used along with Autocorrelation.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/4Wz37T0mRRXgM2mx-844e507c8a1b.png)<u>Validate response code against original HAR response code</u>

When enabled, the response codes received from the text case execution are going to be validated against the original HAR script response codes, otherwise, the usual response code for a request is passed as valid. Appvance Scenario Builder shows the response code for every request at the Test Case Execution tab in the results displays window as follows:

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/pPxjqcEtoCmkVaaH-ea9a3d82e412.png)<u>Show headers, requests, and responses in each Test Case execution output.</u>

Meaning that for every request, exists a "parent" step with the same name of the request contained in that step. In the results display you may see these changes, the step has the timing for the request and the step request has the request size.

<u>Execute all HAR calls (even after a failure).</u>

Checking this option will let the HAR script run even if it encounters an error in any step.

---

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# HAR - Adding Descriptions

Please follow the below steps for adding step names/descriptions for each transaction in the HAR script

1. Open the recorded script and search for "Pages" entry in the script.
    
    **"pages":** \[{"startedDateTime": "2016-12-13T07:55:39.815Z","id": "page\_1",**"title": "**[http://sahitest.com/demo/training/books.htm](http://sahitest.com/demo/training/books.htm)**"**,"pageTimings": {"onContentLoad": 859.9610000001121,"onLoad": 875.251000001299}},{"startedDateTime": "2016-12-13T07:56:42.819Z","id": "page\_2",
    
    **"title": "**[http://sahitest.com/demo/training/login.htm](http://sahitest.com/demo/training/login.htm)**"**,"pageTimings": {"onContentLoad": 29.318000000785105,"onLoad": 27.689000000464148}}\]
    
    and replace the value for "title" with the desired name for ex:- here replacing with the step1,step2
    
    "pages": \[{"startedDateTime": "2016-12-13T07:55:39.815Z","id": "page\_1",**"title": "step1"**,"pageTimings": {"onContentLoad": 859.9610000001121,"onLoad": 875.251000001299}},{"startedDateTime": "2016-12-13T07:56:42.819Z","id": "page\_2",**"title": "step2"**,"pageTimings": {"onContentLoad": 29.318000000785105,
    
    "onLoad": 27.689000000464148}}\]
    
    After making changes save the updated script.
    
    Now we can go ahead and create a scenario under Appvance Scenario Builder by attaching the updated script and running it.
2. The added step name should be reflected in the Appvance IQ controller window when the script completes.
    
    Before adding description:
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GUvVTXx7OBdymOaC-792b4bcaf27f.png)
 
 After adding description:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/uyBmLS0LUOoeU0AB-e85c1ff6b2e6.png)<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Jenkins

# Jenkins

This section details how to configure and run scenarios from Jenkins. This is applicable for both Jenkins installed locally as well as in the cloud, such as using Cloudbees-Jenkins.

- [](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_Configuration.htm)[Jenkins Configuration ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_Configuration.htm)
- [About the Jenkins Files ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_AboutFiles.htm)
- [Required File Changes ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_RequiredFileChanges.htm)
- [Creating First Jenkins Project ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_FirstProject.htm)
- [Configure ant to run Scenarios from Jenkins ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_ConfigureScenarios.htm)
- [Configure ant to run Blueprints from Jenkins ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_ConfigureBlueprints.htm)
- [Parametrized Jenkins Project ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_ParamProject.htm)
- [Scheduling Jobs in Jenkins ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_ScheduleJobs.htm)
- [Changing Time Zones in Jenkins ](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/Jenkins/Jenkins_ChangeTimeZone.htm)
 
<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 01, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Jenkins Configuration

Setup a build in Jenkins: Configuration and pre-requisite:

1. Download Links for the following are available at “[&gt;*CI Jenkins*](http://jenkins-ci.org/)”
2. After installation, Jenkins automatically launches using port 8080. To change the port number, locate Jenkins/jenkins.xml and modify the --httpPort argument.  
    For example: -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\\jenkins.war" --httpPort=8081
3. Install ANT using [&gt;http://ant.apache.org/bindownload.cgi](http://ant.apache.org/bindownload.cgi)
4. Download and install the appropriate file on your machine depending on the operating system used
5. Click Manage Jenkins
6. Click Configure System  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/QO0rwxOmTRubFD6k-8a64b63ec3a9.png)
7. Scroll to Global Properties
8. Check Environment variables
9. Enter PATH in the Name box
10. Enter the Java and Ant paths in the Value box as illustrated below
11. Click Save (Changes)
12. Configure Project to Point to Plugin  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GHjTsw5haysLmxyQ-edf7a467d699.png)
13. Please make sure to install GIT on the machine where Jenkins is installed, once installed please restart the Jenkins service.  
    Download git from [&gt;https://git-scm.com/downloads](https://git-scm.com/downloads) based on your operating system.

---

## Configuration validation

1. Verify that Jenkins can start on the configured HTTP port and that the service account can access the AIQ installation and ANT executable.
2. After saving the Jenkins system configuration, run a small test job and review the console output before scheduling larger executions.
3. Keep the AIQ controller URL, credentials, and workspace paths aligned with the environment used by the job.

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Jenkins File Reference for AIQ Integrations

About the files and from where to download them

All the files related to the CICD integration can be downloaded from the [&gt;GITRepo](https://gitlab.com/Appvance-Active-Customers/aiqbaserepo/-/tree/aiq_409), Please check with an Appvance team member to get access to the Repository.

Following are the files that are available in the folder and what configuration changes need to be made.

## Build.xml

Build.xml files hold the configuration settings and also all the defined ANT tags.

Some of the ant tags are explained below:

- deps - Downloads the required AppvanceRestClientWithDeps.jar
- startNode - Starts the mentioned EC2 instance using the file ec2.creds and controller.json files which holds details about account and instance details.
- setupEnvironment - Depending on the parameters, we could use this to set up the environment.
- executeScenario - Executes the mentioned scenarios.
- stopNode - Stops the instance once the execution is done.
- createScenariosDashboard - This tag will create the Scenario Dashboard once execution is complete.
- createScenariosDashboard - This tag will create the Scenario Dashboard once execution is complete.
 
## AISG Related Targets 

- blueprintCreation - Starts the creation of the AISG.
- reportUpload - uploads the smoke test report, timing report, and a BlueprintReport.html which is a human-readable report.uploads the smoke test report, timing report, and a BlueprintReport.html which is human-readable report.
- blueprintDashboard: this target generates an HTML report that includes the history of all previous build reports and uploads it to an S3 bucket.
- checkResult: this target checks the AISG generated report and it will fail the build if the number of failures surpasses a user-defined parameter.
- generateRegressionScenario - Generates the Regression scenarios.
 
Details about all the ant targets can be found in [CICD- AntTags.](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/CICD__AntTags.htm)

## controller.json File 

Basically has details about the controller machine and the credentials. Above can be used when we have the EC2 setup.

When we are running AIQ local builds, instances in the 2nd line could be replaced with "URL" and the full URL of the AIQ controller could be provided.

<div class="codeSnippet" id="bkmrk-copy-%7B%22controller%22%3A-"><div class="codeSnippetBody">```
{<span style="color:#dd1144;">"controller"</span>: {<br></br><span style="color:#dd1144;">"url"</span>: <span style="color:#dd1144;">"http://<replace_IP>:8080"</span>,<br></br><span style="color:#dd1144;">"instances"</span>: [<span style="color:#dd1144;">"<replace_instanceID>"</span>],<br></br><span style="color:#dd1144;">"ec2Creds"</span>: <span style="color:#dd1144;">"ec2.creds"</span>,<br></br><span style="color:#dd1144;">"timeOut"</span>: <span style="color:#008080;">180</span>,<br></br><span style="color:#dd1144;">"username"</span>: <span style="color:#dd1144;">"<replace_username>"</span>,<br></br><span style="color:#dd1144;">"password"</span>: <span style="color:#dd1144;">"<replace_password>"</span>,<br></br><span style="color:#dd1144;">"workFolder"</span>: <span style="color:#dd1144;">"<replace_path/to/AIQ/resources>"</span><br></br>}<br></br>}
```

 </div> </div>## ec2.creds 

ec2.creds will have details of the AWS account: This can be used when we are using AIQ Controller on the EC2 machine and when your tests are run in the AWS cloud.

```
<em>AWS_ACCESS_KEY_ID=<replace_awsKEYIDE></em>
```

```
<em>AWS_SECRET_ACCESS_KEY=<replace_awsSecretAccessKey></em>
```

<div id="bkmrk-last-updated%3A-july-1">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 18, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Required File Changes for AIQ Integrations

1. Update build files as needed
    
    Only a few files require an update for a given environment
    
    Search the following build files for "replace\_"
    
    
    - build.xml
    - consoleDetails.json
    - controller.json
    - ec2.creds
    - githttp.json
    - jiraCreds.json
     
    The documentation below also contains "replace\_" where helpful documentation can be updated
2. Retrieve files locally to run a pipeline from the terminal
    
    *git clone https://&lt;replace\_gitRepoURL&gt;.git*
    
    *cd -clonedRepoName-*
    
    *git checkout -yourBranch-*
    
    *git pull*
3. Ant Calls to Run Pipeline
    
    Ant calls must be run from the root of the cloned git repository (i.e. where the build.xml file resides)
    
    Execution Variables
    
    NOTE: When referencing variables from a terminal, you must prefix each variable with -D
    
    Product Variable examples
    
    *-Dproduct=&lt;replace\_productName&gt;*
    
    Project Variable examples (Test Name)
    
    *-DprojectName=&lt;replace\_productName&gt; -DprojectName=&lt;replace\_productName&gt;*
    
    AI Template Specific Variables
    
    *-Dtemplate is relative path, file (with extension) to template*
    
    *-Dtemplate=&lt;replace\_path&gt;/ai/templates/&lt;replace\_templateName&gt;.abpt*
    
    Scenario Specific Variables
    
    *-Ddir is a directory or path where the scenario resides or will reside (if generated)*
    
    *-Dscenario is the scenario file name and extension*
    
    <u>Example AI Runs:</u>
    
    *ant blueprintDashboard -Dtemplate=ipts/ai/templates/&lt;replace\_templateName&gt;.abpt -Dproduct=&lt;replace\_productName&gt; -DprojectName=&lt;replace\_projectName&gt; -DminPages=&lt;replace\_#&gt; -DminActions=&lt;replace\_#&gt;*
    
    Other helpful / optional parameters (These parameters override default values in build.xml):
    
    *maxFailingRequests="-1"*
    
    *minValidationRatio="-1"*
    
    *maxValidationFailures="1"*
    
    *minPages=20*
    
    *minActions=20*
    
    <u>Example Scenario Runs:</u>
    
    *ant createScenariosDashboard -Ddir=&lt;replace\_path&gt;/scenarios -Dscenario=aiGenerated.scenario -Dproduct=&lt;replace\_productName&gt; -DprojectName=&lt;replace\_projectName&gt;*
    
    *ant createScenariosDashboard -Ddir=&lt;replace\_path&gt;/scenarios -Dscenario=&lt;replace\_scenarioName&gt;.scenario -Dproduct=&lt;replace\_productName&gt; -DprojectName=&lt;replace\_projectName&gt;*
    
    <u>Example AI + Script Gen</u>
    
    *ant generateRegressionScenario -Dtemplate=&lt;replace\_path&gt;/ai/templates/templateName.abpt -Dproduct=&lt;replace\_productName&gt; -DprojectName=&lt;replace\_projectName&gt;*
    
    also, see parameters from "Example AI Runs"
4. Dashboard URL
    
    Dashboards publish at https://&lt;replace\_bucketDomain&gt;/products/main.html
    
    To learn more about Dashboards, see [CICD - Dashboards](https://docs.appvance.net/Content/AIQ/Integrations/ContinousIntegration/CICD___Dashboards.htm)
 
<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Creating First Jenkins Project

<u>Creating your first project and configuring GIT Repo:</u>

1. Once downloaded and installed launch *http://localhost:8080* (or with the changed port number) in your browser or log in to your Jenkins cloud
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/KFcP1XuoPw5T6rRh-c9b41d0c69f4.png)
2. Click on New Item from the left navigation
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GNwq59QghdS1WusD-109f121d3d65.png)
3. Provide a valid Job name
4. Select “Build a free-style software project”
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/XHRbBUmdqF2eW7SP-5ed1e752f25e.png)
5. Click on the OK button
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Qel9UqzetamkmDlW-c4758d093156.png)
6. Provide a description of the project
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/xNI2I5TGtBIRzeuU-8e8501aa6b31.png)
7. Locate Source Code Management and choose Git, Provide the Repository URL with the credential details where all the above files reside and changes made
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/2S0TN1zWkjo8iyje-75c250a9825a.png)
8. Mention the branch details from the files that reside
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FT87oQKLX9nOw3Xp-90b191c8f70e.png)
9. Build Environment - Check "Delete workspace before build starts", this will ensure the latest assets are uploading when running the Jenkins job
10. Build - Add Build step &gt; Invoke Ant and add the Ant Call as mentioned below
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/cJbAVy8OoeSRvQ50-2ed4ca30415a.png)
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/CTuIl6JDyePP9Tp6-da0808f94fe4.png)

\*\* If Ant is not configured in Jenkins but its installed on the Jenkins agent, the job still can be executed with the following command:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8m0FpvSeGLOlIYFQ-77ed00917653.png)

<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Run AIQ Scenarios from Jenkins with Ant

 All the ant calls are case-sensitive.

To run scenarios using local files, Jenkins must be installed on a local machine, after which local paths can be specified in place of REPOSITORY paths using SERVER.

1. Save this Jenkins project with these configurations.
2. Click build now.
3. Upon successful build, the user can see the logs by clicking on the build link and then clicking on Console Output which will display all the logs and the link to navigate to Reports of the test run.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/dv0a3pVukoG3T52Q-86bb7ba6dbf1.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/SaFk9QobDmBS5hSd-00155ccb27c2.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/U7qM5PST6jJ50wBn-bbcea444a0d2.png)
 
Jenkins console or output logs (run from the command line) will show all the details, test case pass / fail, Execution times being taken from all the iterations.

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

Beginning in the AIQ 4.10.0 release, if you want to run multiple scenarios in parallel you no longer have to specify the individual scenarios in the build.xml file. You can now just add the root folder and CICD will run each scenario within that folder.

To pass scenario and folder as a parameter, setup the following:

- In the build.xml file, parameters on top should have the variable reference for the value.
    
    <div class="codeSnippet">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False" style="mc-code-lang: XML;">```
    <span style="color: #969896; "><!-- Execute Scenario's parameters --></span><br></br><span style="color: #63a35c; "><property <span style="color: #795da3; ">name</span><span style="color: #df5000; ">="dir"</span> <span style="color: #795da3; ">value</span><span style="color: #df5000; ">="${dirName}"</span> /></span><br></br>        <br></br><span style="color: #969896; "><!-- folder that contains scenario and resources needed by it --></span><br></br>        <br></br><span style="color: #63a35c; "><property <span style="color: #795da3; ">name</span><span style="color: #df5000; ">="scenario"</span> <span style="color: #795da3; ">value</span><span style="color: #df5000; ">="${scenarioName}"</span> /></span><br></br>        <br></br>
    ```
    
     </div> </div>
- Execute Scenario target should have the same variable name defined for the dir and scenario.
    
    <div class="codeSnippet">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False" style="mc-code-lang: XML;">```
    <span style="color: #63a35c; "><target <span style="color: #795da3; ">name</span><span style="color: #df5000; ">="executeScenario"</span> <span style="color: #795da3; ">depends</span><span style="color: #df5000; ">="setupEnvironment"</span>></span><br></br>        <br></br><span style="color: #63a35c; "><taskdef <span style="color: #795da3; ">name</span><span style="color: #df5000; ">="executeScenario"</span> <span style="color: #795da3; ">classname</span><span style="color: #df5000; ">="com.appvance.ci.ExecuteScenario"</span>></span><br></br>        <br></br><span style="color: #63a35c; "><classpath <span style="color: #795da3; ">refid</span><span style="color: #df5000; ">="RestClientLibPath"</span> /></span><br></br>        <br></br><span style="color: #63a35c; "></taskdef></span><br></br>        <br></br><span style="color: #63a35c; "><executeScenario <span style="color: #795da3; ">aiqCreds</span><span style="color: #df5000; ">="${credsData}"</span> <span style="color: #795da3; ">dir</span><span style="color: #df5000; ">="${dirName}"</span> <span style="color: #795da3; ">scenario</span><span style="color: #df5000; ">="${scenarioName}"</span> <span style="color: #795da3; ">consoleDetails</span><span style="color: #df5000; ">="${consoleDetailsData}"</span> <span style="color: #795da3; ">resultsFolder</span><span style="color: #df5000; ">="${scenarioResults}"</span> /></span><br></br>        <br></br><br></br><span style="color: #63a35c; "><taskdef <span style="color: #795da3; ">name</span><span style="color: #df5000; ">="fetchScenarioResults"</span> <span style="color: #795da3; ">classname</span><span style="color: #df5000; ">="com.appvance.ci.FetchScenarioResults"</span>></span><br></br>        <br></br><span style="color: #63a35c; "><classpath <span style="color: #795da3; ">refid</span><span style="color: #df5000; ">="RestClientLibPath"</span> /></span><br></br>        <br></br><span style="color: #63a35c; "></taskdef></span><br></br>        <br></br><span style="color: #63a35c; "><fetchScenarioResults <span style="color: #795da3; ">aiqCreds</span><span style="color: #df5000; ">="${credsData}"</span> <span style="color: #795da3; ">consoleDetails</span><span style="color: #df5000; ">="${consoleDetailsData}"</span> <span style="color: #795da3; ">resultsFolder</span><span style="color: #df5000; ">="${scenarioResults}"</span> <span style="color: #795da3; ">scenario</span><span style="color: #df5000; ">="${scenarioName}"</span> <span style="color: #795da3; ">stopOnFailure</span><span style="color: #df5000; ">="${stopOnFailure}"</span> /></span><br></br>        <br></br><span style="color: #63a35c; "></target></span><br></br>
    ```
    
     </div> </div>
- From Jenkins, the parameters for dir and scenario can be passed by using the **Build**&gt; **Advanced** option
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/XkqUAtaochg63ELv-0ad5bac915d1.png)
 
<div id="bkmrk-last-updated%3A-march-">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">March 01, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Configure Ant to Run AISG from Jenkins

Similarly, projects can also be created to run AISG based on templates.

*AISGDashboard* would be the ant target that would be used to create a dashboard for the AISG which internally will call targets like report upload, AISG creation, etc.

Once the initial AISG is created, the AISG template exported from file menu options would be the input that would be used for the re-creation of the AISG in everyone runs or as scheduled.

---

## Current terminology

In current AIQ terminology, the generated test definition is an AISG. The existing Ant target names and template-file workflow are retained; update only the label used in new Jenkins documentation and job descriptions.

## Verification

Run the Ant target manually once from the Jenkins workspace and confirm that AISG creation, report upload, and dashboard creation complete before enabling a scheduled build.

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Configure a Parameterized Jenkins Project for AIQ

## Use case:

1. To update the URL of the AUT, based on the environment chosen
2. To run A scenario or B scenario depending on the environment chosen.
    
    NOTE: In the build.xml file, The **ant.lib/ant-contrib-1.0b3.jar** file is needed for the conditional IF support needed in setupEnvironment target
    
    The file can be downloaded from [&gt;*here*](https://appvance-qa.s3-us-west-2.amazonaws.com/naveen/userguides/cicd/ant-contrib-1.0b3.jar)
    
    ## Folder Structure:
 
- Download the [&gt;*zip from GITRepo*](https://gitlab.com/Appvance-Active-Customers/aiqbaserepo/-/tree/aiq_409) which has the folder structure that has been used for this use case as an example.
- In the root folder, you will find build.xml
- ant.lib folder holding the supporting lib required for the if statements used in build.xml
- Inside Folder1, you will have ec2.creds file, controller.json file
- Also, there are CSV files, Creds\_prod.csv, Creds\_Staging.csv files, these are the files that are mentioned in setUpEnvironment section, depending on the choice from Jenkins, the right file shall be picked and replaced inside the ExplicitValidation folder which holds the other CSV file
- When Production is called, it only runs the production scenario, and also it picks the file that belongs to production and it replaces it with the actual CSV file used hence the production scenario is used with the right files
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/IShkc1kJhrUQKk4G-b0fb22cb29f2.png)
    
    ## **<u>Setting the CI Tool (Jenkins used in the example)</u>**
 
1. Install and set up Jenkins
2. Login to Jenkins as Admin
3. Create the project
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/H0sfYevcbjy5mNWr-e8e7e8e93e8c.png)
4. In General - provide the required description
5. Check **This project is parameterized** check-box and depending on the choice, choose the parameter, in this example, Choice Parameter was chosen to provide the choices of the Environment as Production and Staging
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/lpdRDkiEIMtQ5Jq2-4cb9e278dfd2.png)
6. Choose Source Code Management, select the repository, and provide your credentials.
    
    Under branches, provide the branch if the files are in a different branch or master if the files are in the master branch
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/NOQzNtK70OkeiBnI-f561eb6b9c66.png)
7. Under Build Triggers - Choose Delete Workspace before building starts
    
    This will delete the previous results which are required so each time the dashboard is created fresh with fresh results. All the history files will already be stored in the mentioned S3 bucket in build.xml file
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/dQxpzrE17kA9eQRU-dcf469bcbc5e.png)
8. Under the build option - Choose the following
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/y2mrtvDNqGaOehpS-448b8d0c340b.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/UMB0GCIRagX1LAsX-db15b0810490.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/egrlWY8brCLnaUrG-c47027a0682d.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/bSN7xMP5uijECy9G-399c1c455a9e.png)
9. Save the project
10. Click Build with Parameters
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/5KXykOM1ZDRtxMLS-630c77696779.png)
11. Choose the Environment from the drop-down and click Build
12. Jenkins will run the build and the output can be seen in the Console Output
 
<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Scheduling Jobs in Jenkins

By setting the schedule period to 15 13 \* \* \* you tell Jenkins to schedule the build every day of every month of every year at the 15th minute of the 13th hour of the day.

Jenkins uses a [&gt;*cron expression*](https://en.wikipedia.org/wiki/Cron#CRON_expression), and the different fields are:

MINUTES Minutes in one hour (0-59)

HOURS Hours in one day (0-23)

DAYMONTH Day in a month (1-31)

MONTH Month in a year (1-12)

DAYWEEK Day of the week (0-7) where 0 and 7 are Sunday

If you want to schedule your build every 5 minutes, this will do the job : \*/5 \* \* \* \*

If you want to schedule your build every day at 8h00, this will do the job : 0 8 \* \* \*

For the past few versions (2014), Jenkins has a new parameter, H (extract from the [&gt;*Jenkins code documentation*](https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/triggers/TimerTrigger/help-spec.jelly)):

To allow periodically scheduled tasks to produce an even load on the system, the symbol H (for “hash”) should be used wherever possible.

For example, using 0 0 \* \* \* for a dozen daily jobs will cause a large spike at midnight. In contrast, using H H \* \* \* would still execute each job once a day, but not all at the same time, better using limited resources.

Note also that:

The H symbol can be thought of as a random value over a range, but it actually is a hash of the job name, not a random function, so that the value remains stable for any given project.

---

## Schedule validation

Use Jenkins' “Build periodically” trigger and validate the cron expression with a test job before enabling a production pipeline. Jenkins evaluates the schedule in the controller's configured time zone unless a `<span class="editor-theme-code">TZ=</span>` prefix is supplied. Prefer `<span class="editor-theme-code">H</span>` for groups of similar jobs to distribute load, and avoid schedules that start many resource-intensive AIQ executions simultaneously.

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Changing Time Zones in Jenkins

By default, the timezone is in UTC.

If you want to change the timezone to a different one:

1. Navigate to **Build Triggers**.
2. Check the **Build Periodically** option.
3. Define the **Schedule** as:  
    `<span class="editor-theme-code">TZ=EST5EDT</span>`  
    `<span class="editor-theme-code">0 16 * * 1-5</span>`  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/t21eOqDbAyyhD2fg-91b73f3048c4.png)
4. This means we are setting the timezone to be EST and setting the run time at 16:00 PM from Monday to Friday.

For more timezone codes, please refer to[&gt;Time Zones information at Java Locale for “English (United States)” (en-US) at LocalePlanet](https://www.localeplanet.com/java/en-US/index.html).

---

## Jenkins schedule behavior

Jenkins evaluates the `<span class="editor-theme-code">TZ</span>` prefix for the cron entry. Keep the timezone identifier and cron expression together in the schedule field, and verify the resulting run time in the Jenkins job history after saving.

## Example interpretation

In `<span class="editor-theme-code">TZ=EST5EDT</span>` followed by `<span class="editor-theme-code">0 16 * * 1-5</span>`, Jenkins schedules the job at 16:00 on weekdays in the specified Eastern time rules. Confirm daylight-saving behavior for the timezone used by your environment.

Last updated: October 15, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Jenkins Email Notification

1. Login to Jenkins.
2. Navigate to Manage Jenkins.
3. Navigate to “Go to plugin manager”
4. Search for “Email Extension” under filter section in plugin manager  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/O5txKzCzwY3UN7FA-7cf9f9eea73d.png)
5. Download and Install the Email Extension
6. Create APP Password for GMAIL account - Follow below steps to create App Password
7. If you configure Jenkins e-mail please you should follow the below steps:
    1. first enable two step verification for reference click here
    2. generate an app password
    3. add the app password instead of your password
8. After successfully creation of APP Password for GMAIL
9. Go to Configure System in Manage Jenkins.
10. Under Configure system go to “Extended Email Notification and add
    1. SMTP Server field - smtp.gmail.com
    2. SMTP Port - 465  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/DnvQBJNlRoW2RcoJ-f8a5d6e821f7.png)
11. Click Advanced button below SMTP Port  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/c7ab3GKZaGQXyvO5-89a38d399bd3.png)
12. Click Add button
13. Go to Jenkins credentials provider and add the Username and APP Password ( Which was created on Step 6) and click Add button.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/nC5B2Q7PIamuGeF2-350b63c801eb.png)
14. Click save button in Configure system
15. Go to the project and click configure
16. Under post-build Actions Choose Editable Email notification under Build  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/neWmcwcBhjC7bex7-660d4e948dbe.png)  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/JLhqCCjWrl9jnGop-f3081a1bc00b.png)
17. Under Editable Email notification add
18. “Email id” under Project From
19. Other field are by-default filled
20. Click Advance settings  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/9zpE3TibtRsGRxkT-815733524b35.png)
21. All the field are are by-default filled
22. Click Add trigger under Triggers  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wfJBghj0HpwK8zlF-e073c3be2cf1.png)
23. Select Always (User can change as per requirement)  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/jKxxxQgHgvd9BfxR-35867894e701.png)
24. Click Advanced under Triggers  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/3ikTEvtzIJfRKUzc-71a54ed1e1b8.png)
25. Add Recipient Mail id under Recipient List  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/OUd6QGXW8gt1hytH-998122944206.png)
26. Click Save and Apply
27. Recipient user will start getting Email Notifications

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

Last updated: October 15, 2026

# JMeter Integration and Testing

# JMeter Integration and Testing

Contents:

- [Running JMeter Scripts](/books/integrations/page/running-jmeter-scripts)
- [Correlation in JMeter with an Example](/books/integrations/page/correlation-in-jmeter-with-an-example)
- [Data Enabling in JMeter](/books/integrations/page/data-enabling-in-jmeter)
- [JMeter FAQ](/books/integrations/page/jmeter-faq)

# Running JMeter Scripts

Appvance IQ is a system that supports running many test types like SoapUI, Selenium, Appvance Designer Script, Java, Groovy, and more.

SoapUI support was removed in release 5.2.0 of AIQ.

In addition to the above list, AIQ also supports running JMeter scripts. Below are the steps that we need to follow to run the JMeter scripts from AIQ.

1. Navigate to the AIQ Home screen and click Build
2. Click File -&gt;New to create a new scenario
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ctthLYIaWwV79htb-7cf22f20f484.png)
3. Select Functional Test from the Scenario Test Type drop-down
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8BkeBQDN2oPjb6fR-306b5838e862.png)
4. Click the Test Cases tab and click the link for Add test case as shown below in the screenshot
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/qDDRccrgGTfb353w-48caf6704a33.png)
5. Browse the JMeter script, the JMX file, and save the test case
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/HQJtapjdCDEK08Lr-703a0c06ee47.png)
6. Navigate to Resources and make sure the JMeter bundle with version 3.2 is added by default
7. Also make sure the resources are added with name, Type, and the correct path of the file as seen in the below screenshot
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/gQsfZRQOMqN71nMm-74e058d752d3.png)
8. Click Play Scenario from the top navigation bar and the Controller window will open in a new tab that displays the tests running and will display the pass/fail status of the tests upon the test completion as seen in the below screen-shot. The left part shows the steps and the duration in milliseconds and the right side shows the test run status under the Output tab. On The transactions tab, we can find the request/response and an error tab to drill down further
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/YX6Okuxe19RtbCAb-7d9f36a04d06.png)
9. Click the Click here link to get to the list of Reports that Unified Test Platform supports
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/VuapxY6vfJpnva5I-502768b0aa6a.png)
10. You can also cross verify the same by running the tests using Apache JMeter
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/iJiUIcsUxk2vgzLI-561030f1b5a3.png)
 
<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 25, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Correlation in JMeter with an Example

What is correlation and why it is required?

Correlation is the most important aspect of scripting. It generally includes fetching dynamic data from preceding requests/calls and posting it to the subsequent requests.

Let's take an example to find out why exactly we need correlation

Suppose we have recorded a scenario in which

- The user enters login details and clicks the OK button
- The home page opens and the user takes further actions

Now, if we just playback this script, the test will fail even for a single user. This is because of the authentication mechanism used. When we log in to a website, session variables are dynamically created. These session variables are passed to the subsequent requests and help validation and authentication of the actions performed. So, one cannot just record and playback the requests having these variables. Here, we need to correlate the web requests with the dynamic variables. And for correlation, we need to use the "Regular Expression Extractor" which makes use of regular expressions.

A brief insight into regular expressions

Regular expressions are used to fetch data from a string based on a search pattern. Basically, what we do is in order to extract any value (generally a dynamically created value) from a string (text response), we define a left bound of the variable than some wildcard characters and then a right bound (Left Bound)(Wildcard Characters)(Right Bound)

For example: If we have a text response like;

.......\_\_EVENTVALIDATION"value="weriudflsdfspdfusdjfsisdpfjpsdfohsdihffgdfgpdfjsdjfpj" /&gt;...

And we need to extract the value of the Event validation variable using regular expressions; the regular expression for the same will be

\_\_EVENTVALIDATION" value="(.+?)" /&gt;

where, Left Bound = \_\_EVENTVALIDATION" value="

Wildcard characters = (.+?)

Right Bound = " /&gt;

If you do not want to get deeper into regular expressions, then the wildcard characters (.+?) would suffice in most cases.

For more information on regular expressions and meaning of each wild card character visit;

[http://www.regular-expressions.info/tutorialcnt.html](http://www.regular-expressions.info/tutorialcnt.html)

Regular Expression Extractor

Coming back to JMeter, consider an example where we have two operations-

1. The user launch website
2. The user fills in details and clicks on the OK button

Now, the call user launch website creates a dynamic variable event validation that we can check in the Response Data tab of the "View Result Tree" listener for the call. The value of this variable is then passed to a subsequent call related to "User fill details and click OK button" as an HTTP post parameter.

Steps for correlating the Event validation values

1. Run the script containing both the above-stated operations
2. Go to the Response tab (Text mode) in the "View Result Tree" listener of the "User launch website" operation. BTW, we see the second operation "User fill details and click OK button" in red because it is not yet correlated  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/JkTAuSgmiSScP1gp-0d50e5560f69.png)
3. Create a Regular expression for extracting the value of the Event validation variable's value. As stated above the R.E. for this will be-  
    \_\_EVENTVALIDATION" value="(.+?)" /&gt;
4. Go to HTTP request under "User Launch Website" transaction controller -&gt; Add -&gt; Post Processor -&gt; Regular Expression Extractor.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/SpxiH96QJyDTD3eS-9c463a2adb2b.png)  
    Adding "Regular Expression Extractor" control  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/agXErgXrR0QvgiLJ-72520df037cc.png)  
    R.E. Extractor Parameters Filled
5. The reference name inserted is the name of the variable created that will capture the Event validation value generated by the HTTP request under the "User launch website" operation
6. Now pass this variable to the subsequent HTTP request under "User fill details and click OK button" as a post request- overriding the already present hard-coded value of the Event Validation variable.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ZRXSuMAtzBXRoRUu-91cc070b5a39.png)  
    Request without correlation (Hardcoded values)  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/w2BZrcVKWMFOgy8G-87ae7227b462.png)  
    Request with correlation (Dynamic values)
7. Run the test plan again. All green? That's it.  
    This was all about correlation. In order to get a good understanding of correlation (or scripting for that matter), we need to have a good understanding of two things- the dynamic variables generated by the programming languages and Regular expressions.

<u>**SPREE APP**</u>

Let us take a working example of a Spree App where we will be recording the application and then correlating it

The URL for this Spree App is given below :

http://52.42.228.15:8888/

We will be using the above URL to record the below actions

1. Navigating to the home page
2. Navigating to the Login page
3. Entering credentials and clicking on Submit
4. Clicking on ruby-on-rails-tote
5. Adding to Cart
6. Clicking on Products
7. Clicking on apache-baseball-jersey
8. Adding to Cart
9. Clicking on MyAccount
10. Navigating to the Home page
11. Logging out

Actions from Step 5 to Step 7 may be repeated depending on the requirement of the user. Once the above action is recorded user runs the recorded and checks the Output as shown below.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/pcDQDIgydvayLQKM-39ae0a6a7eef.png)As you can see from the above screen-shot there are a few requests like “Submit”, “My Account” and “Logout” that have failed.

By Checking the “Login Page” response data we find that there is an authentication token that is generated that is unique and should be used for all the failed transactions. The screenshot is given below.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/JnIrLCv86pHb9ELX-6033c9a4c6aa.png)As shown above we will have to use the Regular Expression extractor to extract the token and to be used in the Submit transaction.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/D5aqsloxG2onuPES-2efe8163fdf5.png)The Reference name should be noted and the same should be used in the Submit transaction as shown below.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/IS55SJ6QgwQ4Lm79-5f2dd486ff84.png)Replace the same in the transaction which needs the Authenticity token. Save the script and run the test again.

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/4hWEgw5wsOrRxKZj-7e591e3f9a6c.png)Since we have extracted the token and used it in the transactions wherever necessary all the steps would now pass.

---

Last updated: October 16, 2026

# Data Enabling in JMeter

We will follow the below steps to Data enable the JMeter script and run it successfully in AIQ.

1. Create a JMeter script that works fine in JMeter and run the same in AIQ to make sure that the script is working fine. The screenshot of the working script is given below  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/xautdqMxjpjzHgyK-30746b786297.png)  
    As from the above example, there are multiple websites that are used in the script. We can store all the above websites in a CSV sheet and have JMeter access the websites from the CSV sheet. The next step would be to data enable the JMeter script and make sure it runs fine.
2. The next step would be to remove all the individual websites and store that in a CSV sheet and create a single HTTP request and have it access the website from the CSV. Please follow the below steps  
    Create a CSV sheet with "Sites" as the column name and all the website details below it as shown below  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/2kzxaU1q5L03csUI-2e6a92bc337e.png)  
    Add a CSV Data set config and enter the following details  
    Right-click the thread group - Select Add - Select Config element - Select CSV Data Set Config.  
    Note: Please make sure to use the data.csv file in the same location as the .jmx project and also CSV Data Set Config should be available on top of HTTP Request.  
    Filename: Enter the name of the file  
    File encoding: Should be left blank  
    Variable Names: Should be left blank, If given data will be picked from the first column and the first entry in the CSV "SItes" will be picked and the script will fail  
    Delimiter: Comma  
    Add a new HTTP Request Sampler and Use the column name of the CSV sheet in the "Server Name or IP" as shown below  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8OXacWky8O5Tk2gv-26c0c979253b.png)  
    Once the above setting is done the script is data enabled successfully. Run the script and check in the results tree  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ZJQHzniIGzHz3v1K-d0b54818de9f.png)  
    All the values from the CSV have been picked successfully.
3. Run the Same script in AIQ. Steps are given below  
    Login to AIQ and click Build and Click File→New  
    Select the Scenario test type as the Performance test  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ovspmH3cfG6mMQLA-1c483b19e046.png)  
    Select the completion criteria as "Executions per user"  
    Go to the Test cases tab and click "Edit" browse the JMeter script and select the JMeter file  
    Go to Resources Click "Add Data Source" and browse the CSV file  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/MugI71JXgPSeg6U7-151a234359d5.png)  
    Save the scenario and run the test.  
    Check the controller page and verify if the data is getting pulled from the CSV  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/DNNgg6CWn8q6Gw3P-55e80c53ee54.png)  
    For Appvance IQ Reporting purposes, instead of reporting different values of a data-enabled script that causes duplicate entries, the parametrized step can be displayed as a variable name that way it does not show them as different steps instead it shows as a summary of those steps just like Appvance IQ designer enabled scripts, below are the steps for the same:  
    The usage recommendation for dynamic parameters on how to add parameters so the Appvance IQ report will report the variable and not the different values. Basically, you have the URL's path and a parameters section. You should not put the query part in the path if you want to get a proper report using variable in Appvance IQ. The URL query parameters should go in the parameter section, for both POST and GET requests.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/EGAc0GJDfubMDkcq-ef533607946d.png)  
    You can notice in the below reporting, it displays as one step else this would have been displayed as 4 different steps with 4 different values taken from the datasheet.  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/gZeCQETg5txAGyS5-d101226f4add.png)

---

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# JMeter FAQ

1. File Downloads from JMeter
2. How to run Jmeter DB script in AIQ
3. Jmeter - Java.lang.RuntimeException: Could not find the TestPlan class! Getting this error while running the scenario from AIQ.
4. JMeter - Note able to see the transactions in the Reports or Test Controller.
5. Jmeter - Steps Average duration calculation in Appvance IQ
6. Jmeter: Error while running MySQL DB script
7. Running JMeter Scripts in AIQ - Best Practices
8. File Downloads from JMeter
    1. In JMeter, we need to add a "Save Responses to a file" listener to save the file downloads, we can provide a file name prefix or even the directory path for the download file.  
        Please refer to below screenshot on how to add "Save Responses to a file" Listener  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/1p69fIBbSkRzVXSY-3a00e621adc7.png)  
        For each sample in its scope, it will create a file of the response Data. The file name is created from the specified prefix, plus a number (unless this is disabled, see below). The file extension is created from the document type if known. If not known, the file extension is set to 'unknown'. If numbering is disabled, and adding a suffix is disabled, then the file prefix is taken as the entire file name. This allows a fixed file name to be generated if required. The generated file name is stored in the sample response and can be saved in the test log output file if required.  
        The current sample is saved first, followed by any sub-samples (child samples). If a variable name is provided, then the names of the files are saved in the order that the sub-samples appear. See below.  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/3YOFw80MIaMTxOyG-f0002422011f.png)  
        Please find below the detailed description of the parameters used  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/WxsrbbcPcDKwOUTe-2749a3d779b9.png)  
        Without providing the path, the file gets saved in the "JMeter/bin" directory.  
        We can mention the path in the "Save Responses to a file" listener as seen below and this script can be used in Appvance IQ.  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/JlfhxU1zeOVH5ONA-2812687c08e9.png)  
        File downloaded after running the scenario from Appvance IQ
9. ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/bHGqCW6BYDRLcHBr-ee2b9dd5e78b.png)  
    How to run Jmeter DB script in AIQ
    1. We assume that the reader has knowledge of how to create a scenario and run the test in AIQ  
        The user creates a new scenario and selects a functional test  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/G3qtf7EpiVLvrty5-4293c688d85c.png)  
        Navigates to Test case tab and selects Test type as "Jmeter" and attaches the Jmeter script which ran successfully in Jmeter  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/b5koXMjEa9gdxLBB-e4ed2be02539.png)  
        User now saves the scenario and runs the tests and navigates to Test Controller screen and verifies the output  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/1o3vKYwlewrB1y2M-70083fc639e9.png)  
        In the above scenario we are running a simple functional test in AIQ. However if the user wants to run a Load test we will have to make some changes in the Jmeter script. The below screenshot highlights the changes that needs to be done to run the Load test in AIQ.  
        ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/haWjEn9ygLJF9FBa-ad1ba4afcf2a.png)  
        Need to check in the Thread Group the option Delay Thread Creation Until Needed. Once the changes is made we can go ahead and save the script.  
        User creates a Load test scenario with 5 users and 100 executions
10. ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/QvmgBmDhxcXJrSkV-b529b13638cc.png)  
    Jmeter - Java.lang.RuntimeException: Could not find the TestPlan class! Getting this error while running the scenario from AIQ
    1. Solution : Please add htmlunit - 2.15.2648 bundle.  
        Navigate to Scenario builder and open the scenario created.  
        Navigate to Resource Panel and click Add bundle.  
        Add htmlunit with version as 2.15.2648, Save and Re-run the scenario.
11. JMeter - Note able to see the transactions in the Reports or Test Controller
    1. Resolution: Add a new bundle 'httpclient' with value '4.3.4' in the Resources panel of the Scenario Builder, Save and re-run the scenario to see the results in Reports as well as in Test Controller
12. Jmeter - Steps Average duration calculation in Appvance IQ
    1. The below example gives a detailed explanation of how Step's average duration is calculated in the Jmeter-Appvance IQ combination.  
        1.3 TC01\_DealID\_03 - Average duration is 1.33 secs  
        All the requests below and calculations are shown below.  
        Number of Success transaction \* Average duration of each request  
        72\*10.92 = 786.24  
        37\*3.23 = 119.51  
        36\*2.15 = 77.4  
        37\*0.93 = 34.41  
        36\*0.9 = 32.4  
        580\*0.04 = 23.2  
        36\*0.48 = 17.28  
        36\*1.88 = 67.68  
        Addition of all the successful transactions.  
        72+37+36+37+36+580+36+36 = 870  
        786.24 + 119.51 + 77.4 + 34.41 + 32.4 + 23.2 + 17.28 + 67.68 = 1158.2  
        1158.2/870 = 1.33
13. Jmeter: Error while running MySQL DB script
    1. The user tries to run a MySQL DB script in Jmeter and receives the below error  
        Java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/apc  
        The error message is self-explanatory stating that there is no suitable driver for running the MySQL script. For the script to run successfully we need to download the MySQL connector jar file and place it under the lib folder of Jmeter  
        For Ex:  
        If the Jmeter is in the C folder we need to place the mysql-connector-java-5.1.37-bin.jar in C:\\Program Files\\apache-jmeter-2.13\\lib  
        Download link :  
        [http://dev.mysql.com/downloads/connector/j/](http://dev.mysql.com/downloads/connector/j/)  
        and download the Zip file, Extract the file and copy the mysql-connector-java-5.1.37-bin.jar and place it in the lib folder of Jmeter
14. Running JMeter Scripts in AIQ - Best Practices
    1. Disable the "View Result Tree" listener during the Load test in AIQ. Because it consumes more memory and causes JMeter running to run out of memory
        1. Disable any other listeners from the Jmeter script before running it in AIQ
        2. The number of Threads should be given 1 in Jmeter when running performance tests in AIQ because this will add up to the iterations
        3. Better to give Ramp-up as 0 in Jmeter
        4. Same as Number of Threads, loop count to be given as 1 by default
        5. Thread group - Use continue, Stop test now accordingly, using stop now will stop all other remaining threads when a thread is a failure

---

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# Selenium

# Selenium Integration Reference for AIQ

**Last reviewed:** October 2, 2026

Use this article as a high-level reference for maintaining Selenium-based assets that still interact with AIQ workflows.

## What changed in this article

- Converted the generic Selenium page into a scoped AIQ integration reference.
- Added guidance to treat Selenium assets as maintained dependencies with browser driver, framework, data, and reporting checks.
- Added migration guidance for when Selenium coverage should be replaced by Scenario Editor or other AIQ-native workflows.

## Validation workflow

1. Confirm what Selenium asset is being integrated and who owns its maintenance.
2. Validate browser/driver compatibility, framework dependencies, test data, and result handoff into AIQ.
3. Document whether the Selenium asset will be maintained, migrated, or retired.

**Review note:** This article now avoids presenting Selenium as a blank standalone topic.

---

Last updated: October 2, 2026

If you have feedback on this topic, contact <documentation@appvance.ai>.

# Features and Benefits of Selenium

AIQ integrates Selenium to provide the following features and benefits:

- AIQ re-purposes a single Selenium test as a functional test, load test, and performance test.
- Scale up your Selenium tests to operate in your QA lab, in the Appvance On-demand Cloud Test Environment, or both!
- AIQ data-enables Selenium tests for test-driven development.
- Dramatically reduce test operating costs. AIQ efficiently operates multiple Selenium tests in a grid concurrently.
- AIQ runs Selenium tests for browser compatibility testing of your Web application.
- Produce actionable knowledge by analyzing the results into 350 or more performance and functional charts.
- Transform Selenium tests into Java unit tests for additional features: looping, variables, conditionals
- Run At User Levels Never Before Possible - Building a test lab used to be prohibitively costly for medium and large-scale load tests. Cloud computing delivers bandwidth and computing power to achieve tests in the millions-of-users levels at commodity prices.
 
<div id="bkmrk-last-updated%3A-june-0">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 02, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Repurposing Methodology and Architecture for AIQ Integrations

Appvance Repurposing Methodology applied to Selenium enables many types of testing:

Functional Testing in the Firefox Web Browser - Record test scripts using Selenium IDE, a plug-in to the Firefox browser. Play the test scripts in the Firefox browser.

Browser Compatibility Tests - Play recorded Selenium tests in Edge, Safari, Chrome, and other browsers. Play the tests on a grid of machines with multiple operating environments and multiple browser versions.

<a name="aanchor35"></a> <concept term="Integration"></concept>Functional Testing - Play recorded Selenium tests as smoke tests, regression tests, and integration tests.

Load and Performance Testing - Determine the Scalability Index of your application by observing the throughput of your application at increasing levels of concurrently running virtual users. Each virtual user operates a test use case with one or more Selenium tests.

Synthetic Test - Prove compliance with a Service Level Agreement (SLA) by periodically running a Selenium test script. AIQ sends notification emails when the Selenium script fails or encounters an error condition.

Stress Testing - Understand the behavior as your application comes under unexpected high load conditions.

In each of the above types of tests AIQ re-purposes a single Selenium test script. The AIQ architecture makes re-purposing possible.

AIQ operates Selenium tests as load and performance tests by running the tests in one or more TestNodes. The TestNode operates the test in a browser (such as Edge, Safari, Chrome) or using HTMLUnit. HTMLUnit is a commercial headless browser framework that provides a programmatic simulation of a Web browser. HTMLUnit uses Rhino, the Mozilla JavaScript engine, to run JavaScript and Ajax programs. This approach makes it easy to run hundreds to thousands of simulated users in a load and performance test. The alternative would be costly test runs that start a browser for each simulated user.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/w8ry4qzO2dbs7Ufs-d4939e59c288.png)AIQ makes it easy to pivot from one type of testing to another. For example, functional testing is often the time to ensure the test scripts work as expected. With a click of a button in the Appvance Scenario Builder, a functional test becomes a load and performance test. While loading the application under test with several virtual users your test may uncover another functional issue. Pivoting back to functional testing is easy with AIQ.

Once you record a test, AIQ re-purposes the test to be a functional test, load test, and performance test.

Often AIQ users will follow this methodology:

a) Record a Selenium test in Selenium IDE using the Firefox browser. Save the test in the Selenese file format. Confirm the test runs by playing the test against the application in the Firefox browser.

b) Run the Selenium test in a TestNode in the Firefox browser. Create a AIQ TestScenario using the Appvance Scenario Builder. Identify one or more Selenium tests to run in a test use case in the Scenario Builder's Use Case tab. Use the Selenium RC test type and identify \*firefox as the browser. AIQ sends the Selenium test to TestNode. The TestNode launches Firefox and plays the test. The TestNode records the time it takes for each step of the Selenium test to operate. AIQ plots a set of results charts to identify functional issues in the test and application.

c) Run the Selenium test in a TestNode in the HtmlUnit browser. Same operation but this time using the headless HtmlUnit browser.

d) Run the test as a Load and Performance test. Operates the Selenium test at several levels of load. Identifies the Scalability Index of the application. Surfaces performance bottlenecks and functional issues.

e) Run the test as a Synthetic test. Operates the Selenium test periodically to prove compliance with an SLA and to surface functional issues.

<div id="bkmrk-last-updated%3A-octobe">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">October 25, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Test Workshop Tutorial

Please read the tutorial on Selenium testing in AIQ. The tutorial shows step-by-step instructions to accomplish functional testing, load and performance testing, and business service monitoring of Selenium tests in Appvance Enterprise.

Tutorial: Building Tests of Rich Internet Applications Using Ajax and Selenium

These additional resources are available:

DZone RefCard: Introduction To Selenium

[Selenium Documentation Project](http://seleniumhq.org/docs/)

## Test Workshop

This Test Workshop is for QA testers, software developers, and network and server managers needing visibility, tools, and methodology into all the demands of IT. This is a deep-technical Workshop to answer your issues:

- AIQ re-purposes a single Selenium test as a functional test, load test, and performance test.
- How To Use Selenium in Rich Internet Application (RIA, using Ajax) Environments
- How To Build Test Suites of SOAP and REST-based Applications using SoapUI
 
SoapUI support was removed in release 5.2.0 of AIQ.

- How To Data Enable Selenium Tests Using AIQ
- Testing in Flash/Flex Environments Using AMF Protocols
- <a name="aanchor203"></a> <concept term="Integration"></concept>Integrating AIQ Tests Into Your Continuous Integration Environment
- How To Analyze Test Results Into Actionable Knowledge
- Using Glassbox and DynaTrace for Root Cause Analysis
 
<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 25, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Data-Driven Test Development in AIQ

Use this article to plan AIQ tests that separate reusable scenario logic from controlled test data.

## Validation workflow

1. Identify which values belong in the scenario and which should come from controlled data sources.
2. Choose the data source that matches the refresh, security, and ownership requirements.
3. Run at least one positive, negative, and boundary row and confirm each row is visible in results.

Last updated: September 30, 2026

# Legacy Selenium IDE Import Reference

1. Download selenium IDE Firefox plug-in and install from [Selenium IDE Download](http://www.seleniumhq.org/download/)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/thYDeOaH7Gpnptyz-ee8a5828a44b.png)Restart Firefox. After Firefox reboots you will find the Selenium-IDE listed under the Firefox Tools menu.
2. Open the IDE To run the Selenium-IDE, simply select it from the Firefox Tools menu. It opens as follows with an empty script-editing window and a menu for loading, or creating new test cases
3. Click the record button to record the user’s browser actions.
    
    – Enter the address of the application under test (“<a rel="nofollow">http://www.appvance.com/”</a> ) inside the Base URL textbox.
    
    – By default, the Record button is in the ON state. Remember to tune it ON if it is in an OFF state so
    
    – Open the application under test (https:// http://google.com ) in Firefox.
    
    – At the end, we would end the recording session by tuning the record button into the OFF state.
4. Save a test script.
    
    **Note**:
    
    
    1. Export the Selenium IDE script as java / JUnit / Webdriver and save it as a .java file. Create a jar file of a web driver script using Eclipse. Users can make use of this jar file in Appvance IQ to run java tests as functional or performance tests.
     
    
    1. Create a Data-driven script in selenium IDE and save it as a selenium script. Users can make use of this script in IQ to do Data-driven testing.
     
    Replace actual values with data-enabled values in the selenium script.
    
    Using the above-saved selenium script creates a scenario in IQ.
    
    Add DPL to data enable script in IQ by clicking on Add Data source link under the Resources panel
    
    Now go to the test case and add this DPL to it.
    
    Save and play scenario.
    
    Refer to this video for more information: [Selenium Webinar](https://youtu.be/rZIUl-VyaEI)
5. Create a Selenium RC scenario using the above script in Appvance Scenario Builder.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/P01QbhClqKcWHvQV-4fbe82f530ca.png)
6. Ensure there is Seleniumrc 2.53 bundle added under the resources panel
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/oSHITzfxVzQSdl6a-ece1ae531336.png)
7. While running a functional test give 100 percent logs to see them out in a controller window and 5-10 percent logs while running a performance test
8. Play the above-created scenario
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/c7O58zl9eYkvfTqB-b5b59b18484c.png)
9. Click the “Click here” link in the controller window, the report is opened in a new tab
10. Download the Iteration summary report
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Lp1794gccn4tvtSB-abda03081fbd.png)Iteration summary report

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/W9OmSXDSwaYCnkdj-60858c06d5f4.png)**NOTE**: Currently, the Throughput and throughput percentile are not enabled in selenium RC (HTML) files.

For data driving in selenium IDE: Open the selenium script in IDE, under the value column for the 'type' command, replace the actual value with "the name of the column from the CSV sheet without any $ symbol or quotes", Use the same name in the data sheet with the list of entries.

<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Review Selenium Commands and Results in AIQ

## The Alternative To HP QuickTest Professional(tm) (QTP)

Many testers, developers, and IT managers ask Appvance to compare HP QuickTest Professional (QTP) to AIQ with Selenium IDE. Appvance provides app performance test automation solutions for organizations needing to improve the reliability and reduce service interruptions in their Web applications, Rich Internet Applications (RIA, using Ajax, Flex, Flash,) Web services and Business Process Management services. Appvance is the app performance expert for dozens of tools. This comparison document helps organizations look for an inexpensive solution that works with their latest applications. Here is a high-level summary:

<div id="bkmrk-category-hp-qtp-10-a"> <table cellspacing="0" class="TableStyle-ParameterTable" style="mc-table-style: url('../../../Resources/ParameterTable.css');"> <colgroup> <col style="width: 226.67px;"></col> <col style="width: 226.67px;"></col> <col style="width: 226.67px;"></col> </colgroup> <tbody> <tr class="TableStyle-ParameterTable-Body-Body"> <th class="TableStyle-ParameterTable-BodyE-Column1-Body"><span style="color: rgb(255,255,255);">Category</span>

 </th> <th class="TableStyle-ParameterTable-BodyE-Column2-Body"><span style="color: rgb(255,255,255);">HP QTP 10</span>

 </th> <th class="TableStyle-ParameterTable-BodyD-Column1-Body"><span style="color: rgb(255,255,255);">Appvance Enterprise 7.0.1 with Selenium 1.0</span>

 </th> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Technical experience required to be successful

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Web 1.0 Record/Playback

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Rich Internet Application (RIA, Using Ajax) Support

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Drill down to root cause of functional issues/crashes

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Record Tests

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">MS IE 9,10

 </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body">Firefox 3.6 or later

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Playback Tests

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">MS IE 9,10

 </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body">MS IE 9,10 Firefox 3.6 or later, Safari, Chrome

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Data-driven Testing

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Reusable Test Components

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Agile software development lifecycle (SDLC) support

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Add-ons available

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Language Support

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">VBScript

 </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body">Selenese, Java, Ruby, Perl, PHP, Python, C#, Groovy

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Functional Testing, Load Testing, Service Monitoring from one test script

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Run tests in the Cloud, in your QA lab, or both

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column1-Body"> ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7dhzWdBhoUlBjzRw-970cff294893.jpg) </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyB-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyB-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyA-Column1-Body"> </td> </tr> </tbody> </table>

 </div>## Selenium Command Language Reference (Selenese)

Selenium implements a domain-specific language (DSL) named Selenese.

Appvance implements the SeleniumHtmlUnit object library in AIQ to operate Selenese commands in HtmlUnit

## Results Analysis and Reports for Root Cause Analysis and Mitigation

AIQ records the time it takes to operate each step in a Selenium test and the overall time to process the test use case (transaction.) AQI's Results Analysis Engine summarizes the transaction logs into a set of charts and reports.

Read Appvance Results Analysis

## Scaling Selenium Tests in the Grid and Cloud

AIQ is a distributed test environment. AIQ runs Selenium tests on a Grid of your test equipment, in a Cloud Computing environment, or both. Read The Test Deployment Guide

## <a name="aanchor84"></a> <concept term="Integration"></concept>Continuous Integration and Selenium

AIQ is an ideal environment for automating Selenium test operations from a Continuous Integration environment. The CI platform starts a TestScenario test and AIQ automatically provisions and deploys tests to the available TestNodes in your own Grid or in a Cloud Testing environment.Read The Test Deployment Guide

## Selenium Command Reference

The following table summarizes the list of implemented and unimplemented Selenese commands in SeleniumHtmlUnit.

<div id="bkmrk-command-wait-command"> <table cellspacing="0" class="TableStyle-ParameterTable" style="mc-table-style: url('../../../Resources/ParameterTable.css');"> <colgroup> <col style="width: 170.0px;"></col> <col style="width: 170.0px;"></col> <col style="width: 170.0px;"></col> <col style="width: 170.0px;"></col> </colgroup> <tbody> <tr class="TableStyle-ParameterTable-Body-Body"> <th class="TableStyle-ParameterTable-BodyE-Column1-Body"><span style="color: rgb(255,255,255);">Command</span>

 </th> <th class="TableStyle-ParameterTable-BodyE-Column2-Body"><span style="color: rgb(255,255,255);">Wait Command</span>

 </th> <th class="TableStyle-ParameterTable-BodyE-Column1-Body"><span style="color: rgb(255,255,255);">Target</span>

 </th> <th class="TableStyle-ParameterTable-BodyD-Column2-Body"><span style="color: rgb(255,255,255);">Value</span>

 </th> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Selenium Control

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">setTimeout

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">milliseconds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">setMouseSpeed

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">number of pixels

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">setMouseSpeedAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">setSpeed

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">milliseconds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">setSpeedAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">addLocationStrategy

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">strategyName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">functionDef

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">addLocationStrategyandWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">allowNativeXpath

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">boolean

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">allowNativeXpathAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">ignoreAttributesWithoutValue

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">boolean

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">ignoreAttributesWithoutValueAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">assignId

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">identifier

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assignIdAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">captureEntirePageScreenShot

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">filename, kwargs

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">captureEntirePageScreenShotAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">echo

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">message

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pause

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">milliseconds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">runScript

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">javascript

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">runScriptAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">waitForCondition

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">javascript

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">milliseconds

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">waitForPageToLoad

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">milliseconds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">waitForPopUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">windowID

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">milliseconds

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">fireEvent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">eventName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">fireEventAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Browser Operations

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">open

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">url

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">openAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">openWindow

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">url

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">windowID

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">openWindowAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">goBack

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">goBackAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">refresh

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">refreshAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">close

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">deleteCookie

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">name

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">path

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">deleteCookieandWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">deleteAllVisibleCookies

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">deleteAllVisibleCookiesAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">setBrowserLogLevel

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">logLevel

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">setBrowserLogLevelAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Cookie Operations

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">createCookie

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">nameValuePair

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">optionString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">createCookieAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">deleteCookie

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">name

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">optionString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">deleteCookieAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">deleteAllVisibleCookies

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">deleteAllVisibleCookiesAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Popup Box Operations

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">answerOnNextPrompt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">answer

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">answerOnNextPromptAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">chooseCancelOnNextConfirmation

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">chooseCancelOnNextConfirmationAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">chooseOkOnNextConfirmation

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">chooseOkOnNextConfirmationAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Checkbox &amp; Radio Buttons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">check

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">checkAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">uncheck

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">uncheckAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Lists &amp; Dropdowns

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">addSelection

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">optionLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">addSelectionAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">removeSelection

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">removeSelectionAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">optionLocator

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">removeAllSelections

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">removeAllSelectionsAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Edit Fields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">type

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">value

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">typeAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">typeKeys

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">value

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">typeKeysAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">setCursorPosition

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">position

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">setCursorPositionAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Keyboard Operations

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keySequence

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">keyDownAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keyPress

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keySequence

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">keyPressAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keySequence

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">keyUpAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">altKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">altKeyDownAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">altKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">altKeyUpAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">controlKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">controlKeyDownAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">controlKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">controlKeyUpAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">metaKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">metaKeyDownAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">metaKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">metaKeyUpAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">shiftKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">shiftKeyDownAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">shiftKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">shiftKeyUpAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Mouse Operations

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">click

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">clickAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">clickAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">clickAtAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">doubleClick

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">doubleClickAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">doubleClickAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">doubleClickAtAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">contextMenu

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">contextMenuAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">contextMenuAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">contextMenuAtAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseDownAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseDownA

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseDownAtAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseMove

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseMoveAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseMoveAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseMoveAtAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseOut

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseOutAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseOver

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseOverAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseUpAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseUpAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">coordString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">mouseUpAtAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">dragAndDrop

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">movementString

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">dragAndDropAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">dragAndDropToObject

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">sourceLocator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">destLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">dragAndDropToObjectAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Form Operations

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">submit

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">formLocator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">submitAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Windows/Element Selection

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">select

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">optionLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">select AndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">selectFrame

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">selectWindow

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">windowID

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">focus

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">focusAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">highlight

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">locator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">highlightAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">windowFocus

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">windowFocus AndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">windowMaximize

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">windowMaximizeAndWait

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">Selenium Accessors

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">store

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">expression

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAlert Present

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAttribute

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeLocator

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">attributeName

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">pattern

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">waitForNotBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">storeChecked

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">variableName

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertChecked

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">assertNotChecked

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyChecked

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">verifyNotChecked

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyB-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyB-Column2-Body">waitForChecked

 </td> <td class="TableStyle-ParameterTable-BodyB-Column1-Body">pattern

 </td> <td class="TableStyle-ParameterTable-BodyA-Column2-Body"> </td> </tr> </tbody> </table>

 </div>## Unimplemented Selenese Commands

SeleniumHTMLUnit is an AIQ object library that translates Selenese commands on-to-fly and runs the commands using the HTMLUnit headless browser. Some Selenese commands do not make sense in an AIQ context. For example, AIQ provides cookie management commands of its own. The following is a list of Selenese commands not implemented in SeleniumHTMLUnit. AIQ throws a Not Implemented exception when encountering one of the following commands:

<div id="bkmrk-notimplemented-comma"> <table cellspacing="0" class="TableStyle-ParameterTable" style="mc-table-style: url('../../../Resources/ParameterTable.css');"> <colgroup> <col style="width: 170.0px;"></col> <col style="width: 170.0px;"></col> <col style="width: 170.0px;"></col> <col style="width: 170.0px;"></col> </colgroup> <tbody> <tr class="TableStyle-ParameterTable-Body-Body"> <th class="TableStyle-ParameterTable-BodyD-Column1-Body" colspan="4"><span style="color: rgb(255,255,255);">NotImplemented commands</span>

 </th> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">altKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAlert

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">getTable

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">mouseMoveAt

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">altKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAllButtons

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">getWhetherThisFrameMatchFrameExpression

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">mouseUpAt

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">answerOnNextPrompt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAllFields

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">getWhetherThisWindowMatchWindowExpression

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">openWindow

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">captureScreenshot

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAllLinks

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">getWhetherThisWindowMatchWindowExpression

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">refresh

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">chooseCancelOnNextConfirmation

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAllWindowIds

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">getXpathCount

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">setBrowserLogLevel

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">chooseOkOnNextConfirmation

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAllWindowNames

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">highlight

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">setContext

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">clickAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAllWindowTitles

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">isAlertPresent

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">setCursorPosition

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">close

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getAttributeFromAllWindows

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">isConfirmationPresent

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">setMouseSpeed

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">controlKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getBodyText

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">isEditable

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">shiftKeyDown

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">controlKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getConfirmation

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">isOrdered

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">shiftKeyUp

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">controlKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getCookie

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">isPromptPresent

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">start

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">createCookie

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getCursorPosition

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keyDown

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">submit

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">deleteCookie

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getElementHeight

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keyPress

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">typeKeys

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">doubleClick

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getElementIndex

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">keyUp

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">waitForFrameToLoad

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">doubleClickAt

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getElementPositionLeft

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">metaKeyDown

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">waitForPopUp

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">dragAndDrop

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getElementPositionTop

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">metaKeyUp

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">windowFocus

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">dragAndDropToObject

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getElementWidth

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseDownAt

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body">windowMaximize

 </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">dragdrop

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getExpression

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">mouseMove

 </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body">fireEvent

 </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getLocation

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyE-Column2-Body">getMouseSpeed

 </td> <td class="TableStyle-ParameterTable-BodyE-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyD-Column2-Body"> </td> </tr> <tr class="TableStyle-ParameterTable-Body-Body"> <td class="TableStyle-ParameterTable-BodyB-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyB-Column2-Body">getPrompt

 </td> <td class="TableStyle-ParameterTable-BodyB-Column1-Body"> </td> <td class="TableStyle-ParameterTable-BodyA-Column2-Body"> </td> </tr> </tbody> </table>

 </div><div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Maintain TestNG Framework Scripts in AIQ

Once the selenium project is created, those scripts can be run in the AIQ platform as a functional or as a load/performance test.

A simple script was created for the demo purpose which launches the Firefox browser and it navigates to a webpage “[http://www.google.com](http://www.google.com) ”

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/zXhJE0xZuqppQ2oV-dc7907975084.png)1. Add “tool.jar” file inside the project folder as seen in the above screenshot. This jar file is used to add the required steps in the scripts that in turn will be displayed in AQI's step times report (which will be discussed later)
2. ‘Tool.jar’ file will be located at “\\AIQ\\TestNode\\bundles\\tool\\1.0” Once added, Open pom.xml in your favorite editor and add the below dependency lines
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ENTf07p6423XOX98-9316b2f4e9d3.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/afUu4ZEk4QaroOhc-1c170b225777.png)
3. Open the project in your favorite IDE, either NetBeans or Eclipse
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/PBEKLa2Pab3Oyzie-4a60b5f424b9.png)
4. In the above-mentioned script, notice a few lines being added that reads as
    
    UTPStepListener.startStep("Initializing FirefoxDriver");
    
    These are the step listeners which users need to add to the script; these step names will be displayed in AIQ Reports along with the time in milliseconds it took to execute these steps.
    
    Along with this user should add this import statement at the beginning of the script as seen in the above screen-shot to support these step listeners.
    
    “import com.appvance.enterprise.tool.UTPStepListener;”
5. Once the AIQ step listeners have been added, we can compile (Clean and build from Net-beans) the project to create the jar file
6. Right-click the project and click Clean and Build
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/XJ8tHzjPIr3rnYRK-1f80c3592ac1.png)
7. The jar file will be created in the default folder mentioned in Netbeans
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/WrDzVmxuajapVFbW-fb7fb67e6768.png)
8. Navigate to the folder as displayed in the Netbeans output screen, and copy-paste the created jar file into the Selenium project
9. Open the created jar file in 7-zip software to make sure it contains the class files created, if not add those class files into the jar file by dragging them into the 7-zip folder
    
    Class files will be created inside the project folder itself after compiling the same in Net-beans
    
    Class files will have the same name as that of the java file name except the extension would be .class.
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FdsaYdQdwHZ5kIz5-0c43084e772d.png)
10. Make sure this class file is available in the jar file created, this is the only file that will be used in AIQ
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/HhpygkMy5K8WcqaM-85e4020d61d3.png)
11. Launch AIQ and navigate to Scenario Builder for creating the Scenario
12. Navigate to the Use-Case panel and select type as TestNG and select the jar file created from the project
13. Provide the TestNG Class, this will follow the format “Package.classname”
    
    In our case, it would be ‘test.NewTest'
14. Select the required percentage of logs and the correct database from the Options Panel
15. Save the scenario and play
16. As seen in the above Screenshot, the AIQ step listeners added in the script will be displayed as separate steps with step durations.
    
    The same information with more data can be seen in the Step times report
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/A3cy6BHpyhtLWWl5-c73ac946992d.png)The same scenario can be converted to a Load test by using the test-type panel which is used to define the iterations and users and many others and run the load/performance tests.

### Possible issues: 

1. If the script is dependent on Oracle drivers and if the below error message is seen.
    
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    
    Either Login Failed or The Order link is not visible
    
    Solution: Please add a couple of jar files “classes12.jar” and “ojdbc14.jar” under resources in Scenario Builder.
    
    Path of the jar files: \\UTPv2.0 \\TestNode\\bundles\\oracle\\10.2.0.5
2. Is Firefox not launching and getting some time-out issue? Make sure all the Firefox processes are killed from all different users and re-run the test
3. Please make sure to add the dependency in pom.xml and add ‘tool.jar’ to see the AIQ Step listeners in the AIQ controller
 
## Working with Selenium scripts (Java) in Appvance PerformanceCloud.

1. A new java class can be created
2. Selenium bundle will be added in Appvance Scenario Builder upon selecting Java / TestNG test type in the test case panel
3. All the required jar files can be moved to a new folder called lib in the project
4. All the required jar files are to be added as resources in Scenario Builder
 
### About AIQ Step listeners 

Few modifications need to be done for the project before using the script in IQ to see the steps which we call Step listeners.

Add “tool.jar” file inside the project folder. This jar file is used to add the required steps in the scripts that in turn will be displayed in IQ’s step time report. ‘Tool.jar’ file will be located at “\\AIQ\\TestNode\\bundles\\tool\\1.0”

Open the project in your favorite IDE, either Net-beans or Eclipse.

In the project few lines can be added where required which reads as UTPStepListener.startStep("Initializing FirefoxDriver"); These are the step listeners that users need to add in the script; these step names will be displayed in AIQ Reports along with the time in milliseconds it took to execute these steps.

Along with this user should add this import statement at the beginning of the script to support these step listeners.

“import com.appvance.enterprise.tool.UTPStepListener;” Once the AIQ step listeners have been added, we can re-compile (Clean and build from Netbeans) the project to create the jar file or use the above process mentioned for Eclipse.

## Building jar in Eclipse:

1. Right-click the project &gt; Click Export
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/KKbGSS70zTtEhQTG-7cab7275cd10.png)
2. Under Java, select the JAR file as the option &gt; Click Next Select ‘Export generated class files and resources and provide the destination path and in the Jar file and click next.
    
    Note: Make sure all the previous jar files are deleted (if created any earlier) from the destination folder
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/xec4eZcfd1mACaeS-284d37a0f41f.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/46AfnmpK7oc0fv95-4a460585808e.png)
3. Click Next
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/cE9UGOKbg4S70wm9-5748e8c49a80.png)
4. Click Finish
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Ljv4N0WQrijCpWjp-68319028607f.png)
5. A new jar file will be created with this which will be used as a resource in Appvance Scenario Editor
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/2hP7DVDacSlwVxGa-5fbb97d9b36b.png)
6. Creating Scenario in Scenario Builder:
    
    
    - Open Scenario Builder from the Start screen.
    - Navigate to the TestCase panel and select Java from the test-type drop-down.
    - Select the generated jar file that was created from Eclipse or Net-beans.
    - Provide the class and the method name. In our case, we can provide the class and method name as “appvance.test.CallB2B” and “doTest” respectively.
    - Navigate to the Resource panel and Click Add Bundle and add httpclient “4.3.4” as a bundle, then add seleniumrc 2.43 bundle.
    - Click Add resources and add all the required jar files which were moved to the lib directory earlier.
    - Save the Scenario and run the test as a functional test to see the results in the Test Controller, AIQ Step listeners added will be shown in the reports.
    - The same scenario can be converted to a Performance/load test from a test-type panel.
 
<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Selenium Integration FAQ for AIQ

Appvance, the commercial application performance management, and load test solution company, participate in the Selenium project. Many times Appvance's response to 5a customer issue is in the form of an improvement to Selenium itself. The following questions and answers originally appeared in [DZone](http://www.dzone.com/).

**What exactly is Selenium?**

<a name="aanchor48"></a> <concept term="Integration"></concept>Selenium is a combination of tools and a domain-specific language (DSL) to build and operate functional, smoke tests, and integration tests of Web applications, including Rich Internet Applications (RIA, using Ajax.) Selenium provides a record/playback tool that plugs into the Firefox browser. The recordings use the Selenese DSL to express the steps of a test. Selenium plays back the test steps in the browser using a Javascript-based Browserbot daemon. Selenium Remote Control (RC) runs the test in Edge, Firefox, Safari, Chrome, and other browsers. Selenium Grid makes it easy to run these tests in a grid of test machines.

**How long has the project been around? And how long have you been using it?**

Selenium had its start at [ThoughtWorks](http://www.thoughtworks.com/), a system integrator and global consulting firm. The core developers released Selenium into an open-source distribution in 2006. Appvance began using Selenium in 2007. Appvance was looking for a way to repurpose Selenium tests as load and performance tests, and business service monitors when Olivier Dony and Dominique de Waleffe contributed an Appvance Enterprise package to run Selenium tests using the HtmlUnit headless high-performance browser. Appvance enhanced this work to make the Selenium tests data-driven, to provide root cause analysis and results in analysis functions, to provide compatibility to test Ajax applications, and to run these tests in a Cloud testing Environment. This has been hugely beneficial to organizations needing to reduce costs and take advantage of Selenium's easy-of-test-authoring features.

**What are the basic steps involved in getting set up with Selenium? (jars/server setup etc)**

Setup to record and playback tests of Web browser-based applications using Selenium take about 5 minutes. The Selenium IDE plugs into Firefox as a standard add-on using XPI installation techniques. To playback, the tests in Edge, Safari, Chrome, and other browsers require the installation and configuration of Selenium RC. Selenium RC uses a daemon architecture. Start the daemon using a simple command-line call to start Java and run the Selenium RC JAR package. Selenium RC installations take an hour or less. Selenium Grid installs Selenium RC services on a farm of servers.

**What language is used to write the tests?**

Selenium implements a domain-specific language (DSL) for testing Web applications. For example, the DSL implements a command to click a button, type characters into a text field, and wait until text appears on the page. Selenium implements the DSL as a class library in Java, package in Python, Ruby, Groovy, C#, Perl, and PHP. The DSL has approximately 200 commands. Appvance teaches a 3-day introductory class in Selenium. It takes 2-3 days for most students to become proficient in the Selenium DSL.

**How well does the record/playback function work?**

Selenium IDE is designed for Web 1.0 applications. In Web 1.0 environments Selenium's record/playback function works very well. For Rich Internet Applications that use Ajax techniques and widgets, not so much! Ajax is the Wild West of software development. Everything goes, there is no sheriff, and no standards body exists. Consequently, Selenium does not know how to handle asynchronous applications where objects load at their own pace and there is no "wait until idle" function. Selenium misses Javascript-driven clicks, Javascript-created frames, and pop-up windows. Each miss means the test author needs to manually add Selenium DSL commands.

Selenium IDE record/playback does not work well for tests that require looping and conditional branching. These are possible by manually coding Selenium DSL commands in a Java or other scripting language environment. The solution is to use Selenium IDE's record feature to create simple test use cases, transform them into a Java class, and treat each use case as a component incorporated into a test suite. There are emerging frameworks to help implement a component approach to Selenium test authoring.

**Is there a coverage tool that plugs into Selenium?**

ThoughtWorks [Twist](http://www.thoughtworks-studios.com/agile-test-automation) is a tool to facilitate a continuous test and integration methodology built on Selenium tests in a team-oriented development environment. There may be others. There is a lot of excitement and energy in the Selenium space so Appvance wouldn't be surprised to find coverage tools.

**Are there any missing features in Selenium? Is there a new release due soon?**

A key drawback is Selenium's requirement to playback tests in a real browser. When the browser needs to interact with a user the Selenium test stops running. For example, when a browser moves from an HTTPS secured page to an HTTP page many browser's security policy kicks in and the browser asks the user to confirm the action. The Selenium project is working on a next-generation technology called WebDriver. WebDriver uses each browser's native API to operate the test commands.

Selenium lacks a data production library system to provide operational test data, lacks a way to repurpose tests into load tests, lacks a platform to manage Selenium tests as test assets, and lacks a way to derive the root cause of functional and performance issues. Thankfully these are provided by many side projects in the Selenium biosphere, including Appvance, BrowserMob, SauceLabs, and others.

The words "coming soon" and Selenium is mutually exclusive. It took the Selenium project 18 months to move from "beta" to "release candidate." Appvance is optimistic but not hopeful that Selenium 2.0 with WebDriver technology will appear in 2010.

<div id="bkmrk-last-updated%3A-octobe">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">October 25, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Continous Integration

# Continous Integration

## Configuring Bamboo, Hudson, Jenkins, and AIQ

Run AIQ tests from continuous-integration environments. Appvance has verified compatibility with Hudson, Bamboo, and Jenkins.

## Product Version Details

- AIQ version: 3.5
- Bamboo version: 2.6.2 (Standalone)
- Hudson version: 1.374
- Java version: 1.6 or later
- Jenkins version: 1.502
- Tomcat version: 6.0.26 (required to run Hudson)

---

Last updated: October 15, 2026

If you have feedback on this topic, contact <documentation@appvance.ai>.

# Legacy Hudson Integration Reference

The following topics will be covered:

- [Installing Hudson](#Installi)
- [Prerequisite Installations](#Prerequi)
- [Hudson System Configuration](#Hudson)
- [Creating a Job and an Ant Task to run the Scenario](#Creating)
 
## <a name="Installi"></a>Installing Hudson

1. Hudson comes as a war file. Download the Hudson war file from the [link](https://www.eclipse.org/hudson/download.php)
2. Prerequisite to run Hudson: needs Java 6 or newer run-time. An internet connection will be required if you want to be able to install and auto-update plug-ins
3. After you download Hudson.war, you can launch it by executing java -jar Hudson.war
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ZOYCC1gCsmNisIBp-06868ee375c8.png)
4. Once Hudson is running, navigate to http://localhost:8080 on your browser
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/eISYwxAGy07W0Oip-02979d718f2c.png)
5. Select **Hudson GIT Plugin** from the featured Plugin
6. Click **Install** and Click **Finish**
 
## <a name="Prerequi"></a>Prerequisites Installations

1. Install ANT using the [link](http://ant.apache.org/bindownload.cgi), Download and install the appropriate file on your machine depending on the operating system used
2. Please make sure to download and install GIT on the machine where Hudson is installed. Download git from the [link](https://git-scm.com/downloads) based on your operating system
 
## <a name="Hudson"></a>Hudson System Configuration

1. On the main page, click **Manage Hudson** &gt; Click **Configure System**
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/HTCGKISVc37z6Z7H-6f6e3e175ed5.png)
2. Look for global properties, create **PATH** variable and provide the executable paths for JAVA and APACHE
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/0fJMcim1KeE09DMc-b5f1d33837f5.png)
3. Look for GIT and provide the executable path of the **git.exe** file
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/jh3ZwxbLkHVDsSUU-3d69a3867730.png)
4. Look for the GIT plugin and provide a valid username and the user email
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/LjGpktsn5F8qzkHf-657b81ee95c1.png)
5. Also, open a command prompt and run the following commands.
    
    git config --global user.email "you@example.com"
    
    git config --global user.name "Your Name"
 
## <a name="Creating"></a>Creating your job and creating ant task to run the scenario

1. Click **New Job**
2. Provide Job Name and select **Build a free-style software job**
3. ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/3oPKKDUU9tRiv2y6-38ee631d2704.png)
4. Click **OK**
5. Under Source Code Management, Select **Git**
    
    If hosted by Appvance, select Git and enter "https://gitlab.com/llara/ci-plugin.git " in the Repository URL box
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GZ6WI91TiioKfqAc-f992be027927.png)
6. Locate **Invoke Ant** in the **Build** options
7. Enter **UTP\_Tests** in the **Targets** box
8. Click **Advanced**
9. Enter **CloudBees/build.xml** or **build.xml** depending on where the file is located
    
    in the Build File box (may vary if plug-in self-hosted)
10. Enter the following in the Properties box:
    
    ServerURL=&lt;URL\_To\_AppvanceIQ\_Server\_Including\_Port&gt; Path=REPOSITORY/&lt;pathToScenarioFileIncludingScenarioNameAndFileExtension&gt; Username=&lt;appvanceUserName&gt;
    
    Password=&lt;appvancePassword&gt;
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/3hhUMiaqKZWva6Li-b8bd8ac767ab.png)
11. Click **Save**
12. Click **Build Now** and once the build is run successfully &gt; Click **Console Output** to check the Results and the link to the Appvance IQ Results of the test run
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/aQEC9nomMtLwrGI4-f359bc42a897.png)
 
<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Legacy Team Foundation Server Integration Reference

Below are examples with screenshots showing how to configure TFS to set up and run AIQ scenarios.

The integration of AIQ with Team Foundation Server is possible to achieve through the configuration of Ant tasks as an additional phase in the build process of the project within this system.

Appvance AI Plug-in for TFS is located in git at: [https://gitlab.com/appvance/AppvanceRestClient.git](https://gitlab.com/appvance/AppvanceRestClient.git)

and the branch 'TFSIntegration' has the 'build.xml' where you will be adding the ant tasks to run scenario files.

1. The first step is to create your TFS account, go to [Microsoft Visual Studio Page](https://www.visualstudio.com/free-developer-offers/) and click-free account under Visual Studio Team Services and create your free account using your Microsoft account
2. After successfully creating your account, log in to your TFS domain using the credentials and the domain created (Ex: [https://appvance.visualstudio.com/](https://appvance.visualstudio.com/))
3. After you log in, you will see no projects by default, click the 'Set up Build' button under 'MyFirstProject'
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/WCSvv4XLtZpD0Wkm-0591b6eb9fed.png)
4. The next step would be to choose the source, since ours is External GIT, choose External GIT and click Add connection
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/BNhjSjuwZ7BXnzrJ-eec61adb95cd.png)Provide Connection Name, GIT Repository URL, and your GIT account credentials, and click OK for the connection to be added
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/JEv5lNSafRpPJ7mo-9fe7b684b044.png)
5. After clicking OK, a message would be displayed of connection authorization and you will have to mention the branch as 'TFSIntegration' since the related files and the 'build.xml' are located in that branch
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/UHOqUE1wu2IvCHoy-45808f90a248.png)
6. Click Continue
7. In the next step for selecting a template, Choose 'Ant' since our job is going to use 'Ant' builds. Click Apply
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/fRf9HcWaUyWgzzuW-9f59fe547b9a.png)
8. Under Tasks, mention the Agent queue to be 'Hosted' and Parameters to be 'build.xml'
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/T1YFOo36jER2nHX1-1caf810cc685.png)
9. Select Ant 'build.xml', and mention the target to be 'UTP\_Tests' as shown below
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7T9tOLXtdPYU0hoM-35962d059ec2.png)
 
**<u>About Targets and 'build.xml' file:</u>**

1. Now lets talk about what is 'UTP\_Tests' that is mentioned under Target and also about 'build.xml' file
2. amazonaws.com/appvanceivy/projects/CIPlugin/master/latest/ivy/CIPluginNoDeps.jar" dest="CIPluginNoDeps.jar"/&gt;
    
    &lt;java classname="com.appvance.enterprise.ci.CIPlugin" failonerror="true"&gt;
    
    &lt;arg value="http://REMOTE\_MACHINE\_DNS:8080"/&gt;
    
    &lt;arg value="$scenarioFilePath"/&gt;
    
    &lt;arg value="$username"/&gt;
    
    &lt;arg value="$password"/&gt;
    
    &lt;classpath refid="IvyPath"/&gt;
    
    &lt;/java&gt;
    
    &lt;/target&gt;
    
    In this example: you will notice the following and also these are the ones that need to be changed based on your environment and examples.
    
    
    - &lt;target name="UTP\_Tests" description="Triggers custom task for AIQ Tests Scenario" depends="init\_test\_path"&gt;
        
        In this, you will notice the target name that needs to be exactly matching with the target name in the TFS build.
    - &lt;arg value="http://REMOTE\_MACHINE\_DNS:8080"/&gt;
     
    Remote Machine DNS: Public URL of the remote machine where AIQ will be running that will be used to run the test scenario located.
    
    Example: &lt;arg value="[http://ec2-x-x-x-x.us-west-2.compute.amazonaws.com:8080](http://ec2-x-x-x-x.us-west-2.compute.amazonaws.com:8080)"/&gt;
    
    
    - &lt;arg value="$scenarioFilePath"&gt;/
     
    Scenario File Path: File path in the remote machine where the scenario file is located, you must provide the full file path including the .scenario file name.
    
    Example: &lt;arg value="C:\\AIQ\_Builds\\appvance.scenario"/&gt;
    
    
    - User-name (user-name): User-name to log-in into AIQ.
    - Password (password): Password of the given user name to log in to AIQ.
3. The next step in this process is to modify the project´s build.xml file to add the custom Ant Task in order to invoke the Appvance CI Plug-in executor, this task must invoke the main class named "CIPlugin" which takes the above-mentioned arguments (all of them are required):
4. You can add as many as Ant tasks to your 'build.xml' file to call many scenarios to run from TFS
 
**<u>Coming back to the build being created in TFS:</u>**

1. Once all the above are done, click the 'Save &amp; queue' option, you will get a 'Save build definition and queue' dialog, and click the 'Save &amp; queue' button again
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/gX4LVt0iti6BG1e8-d2e5160a2ee4.png)
2. The project gets created and you will notice the status in the build definitions
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/5uGICmMvTSouOuIQ-3776b415370d.png)
3. Clicking the job will show you details about the build, the build is started, the progress, and the success or failure status of the build
4. If failed, the logs shall show the reason for the failures for debugging purposes
5. ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/7GseBmOcih31cUPb-7d6c256cf45e.png)
6. ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/vEe4dOOcL8WAxx6R-0d7986d0b865.png)
7. ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/49Lasa43W9CrWC85-df0fbfffc946.png)
8. Now once those jobs are run successfully, you could log in to your server and check the results from Analyze page.
 
<div id="bkmrk-last-updated%3A-septem">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">September 01, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Run AIQ Tests from the Command Line

Operate an Appvance Test Scenario from the command line using the Appvance IQ.

Appvance IQ Test scenarios can be run from command line integration using a CIPlugin that Appvance provides. CIPlugin enabled you to start test scenarios from ant tag (CI Tools) and if needed, from the command line as well.

Click the link to download the [Appvance CI Plugin jar](https://s3-us-west-2.amazonaws.com/ciplugin-nodeps/CIPluginNoDeps.jar)

## Prerequisites

- Appvance CI Plugin - As mentioned above with the download link
- Java 1.8
- Scripts and Appvance Test scenario created and available
 
## Running the Test Scenario

1. Download the jar plug-in
2. Navigate to the folder where the plug-in is downloaded or moved
3. Open command prompt (make sure you have enough permissions or open CMD with Admin mode)
4. Copy the path of the test scenario that you need to run from the command prompt
5. From windows: Below is the syntax to run
    
    java -cp CIPluginNoDeps.jar com.appvance.enterprise.ci.CIPlugin http://localhost:8080 F:/Testing/Jmeter\_and\_Har/New-scenario.scenario appvance appvance
    
    where the first parameters are always the same (java -cp CIPluginNoDeps.jar com.appvance.enterprise.ci.CIPlugin)
    
    The next 4 parameters are:
    
    Server URL - Could be localhost or where AIQ is hosted along with the port number
    
    Path to scenario file - Scenario path
    
    Username - username of AIQ
    
    Password - The password that is used for the above username
6. From Mac: Below is the syntax to run
    
    java -cp CIPluginNoDeps.jar com.appvance.enterprise.ci.CIPlugin http://localhost:8080 ~/repositories/appvance/HOME/sahiTestApi.scenario appvance appvance
    
    The usage from the ant is illustrated in the link explaining how to start scenarios from Jenkins Ci Tool
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/MeUzMIUnqfVSY8TK-cbd2b18845d3.png)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/sM1uREJW0LjHOMLT-2825f2580969.png)
 
<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# CICD - TeamCity Integration

- Information within illustrates how to configure and run scenarios from TeamCity
- Applicable for both TeamCity installed locally as well as in the cloud

<u>Setup a build in TeamCity: Configuration and pre-requisite:</u>

TeamCity can be downloaded from this [location](https://www.jetbrains.com/teamcity/download/#section=section-get)

1. Download Links for the following are available at “[CI Jenkins](http://jenkins-ci.org/)”
2. After installation, TeamCity automatically launches using port 8080. Change the port to a different one (Example: 8087)
3. Install ANT using [http://ant.apache.org/bindownload.cgi](http://ant.apache.org/bindownload.cgi)
4. Download and install the appropriate file on your machine depending on the operating system used
5. Login to TeamCity with your credentials  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wxJuehNJAMX9JWWK-d2c15eca42c8.png)
6. Once logged in, click the Project button to Create a project  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/bGN1TtTOCgyqdJS7-3dbb10c72ead.png)
7. Click **From a Repository URL**, provide your GitLab creds and the repository URL, and Click **Proceed**  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Xgoa53eAfSXSAOSy-da57ffa8011f.png)
8. Click Version Control Settings  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/B42c1tdsAba9kI3v-d0040d7f8dca.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/upzPcS5ALCiJy2Kv-bb99731e411b.png)
9. Click Edit and change the branch as per your requirements (Changed the Default Branch to Demo)  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/629dnhCtUbUJ1s2J-b2465210d01e.png)
10. Click Build Steps and Add Build Step
11. Choose Runner Type as Ant  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/slMWUEYJSNJN9wjm-359d639e896b.png)
12. Choose the Targets by clicking the Edit Like button  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/CrT9BQ7qmqZMFKhK-a685816a898a.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/f2PFVeFEKB4Wd6QY-1f92ef11f064.png)
13. Click Run and choose the options  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/WfP9awweWddBZBI8-d8018bba2c81.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/QestxQgMGUuOyhE5-bf3876c85713.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/BQLsBbUhXZsCZlmk-92031e6e0bc3.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/InOtUgKUGtQRqkyB-14fcc141f2d4.png)  
    **Now how does the git-lab project look and what are the files that need to be changed?**

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8WuxGQStcRfhL6m2-f96551a9b3a8.png)Above is the screenshot of the project that was configured in Jenkins.

<u>Build.xml File:</u> Build.xml file and other files and the folder structure can be downloaded from [here](https://appvance-qa.s3-us-west-2.amazonaws.com/naveen/userguides/cicd/CICD_Pipeline_June2020.zip).

<u>creds.json File:</u>

{

"controller": {

"instances": \["i-0a8ede7xxxxx"\],

"ec2Creds": "ec2.creds",

"timeOut": 60,

"username": "AIQUSERNAME",

"password": "AIQPASSWORD",

"workFolder": "."

}

}

Basically has details about the controller machine and the credentials. Above can be used when we have the EC2 setup.

When we are running AIQ local builds, instances in the 2nd line could be replaced with "URL" and the full URL of the AIQ controller could be provided.

ec2.creds will have details of the Ec2 account: This can be used when we are using AIQ Controller on the EC2 machine and when your tests are run in the AWS cloud.

AWS\_ACCESS\_KEY\_ID=YOURAWSACCESSKEY

AWS\_SECRET\_ACCESS\_KEY=YOURAWSSECRETKEY

REGION:us-west-2.ec2.amazonaws.com

Look for Build Triggers and look for Invoke Ant.

Under Targets, call

- deps
- startNode
- createScenarioDashboard
- stopNode

Note: All the above are case-sensitive

---

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# CICD - Repository Alone

This guide shows CI/CD Integration without the use of any cloud services like S3 buckets to store the results and create the dashboard.

You can configure the repository to store test assets, the same Repository (Which could be any flavors of GIT or SVN) can be used to store all the test results and create dashboards.

Below are the steps that need to be followed.

1. Configure repository in AIQ under preferences &gt; Repository. Please visit the Repository chapter to know more about how to configure repositories using HTTP or SSH
2. Below is the required folder structure and files  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/PcLugZlULNIEI9cS-158e2e87cfdd.png)
    - lib will hold the Restclient.jar file.
    - The scenario folder holds all the scenario files that are required to be run.
    - scenarioReports and scenarioResults are the files that are required to store the results that will be uploaded to the git repo that is configured
    - build.xml is the file that holds all the configuration details and the ant targets
    - creds.json file holds the server details and login details of AIQ
    - githttp.json file holds details of git repo to use along with HTTP credentials and branch details.
    - gitSsh.json file holds details of the git repo, the URL, ssh credentials, and the branch details.
    
    [Here](https://appvance-qa.s3-us-west-2.amazonaws.com/naveen/userguides/cicd/cicd_repo_alone.zip) is the zip of the above folder structure to download for reference
3. Configure build.xml with buildversion to use, specify product, specify customer name, specify an environment, specify dir, and the scenario file to use  
    If the AISG is going to be run, make changes accordingly and point to the abpt file from the freshly run AISG
4. creds.json - provide the URL of AIQ services running, provide credentials of AIQ
5. Depending on SSH or HTTP, provide the details of the Repo, credentials, branch, sshPhrase, and sshKey in either githttp.json or gitSsh.json  
    Note: Depending on which file is being used, make the reference of that file in build.xml for the below-mentioned property  
    &lt;property name="gitCredentials" value="githttp.json" /&gt;  
    Once all the changes are made and saved  
    Open command prompt of if this is driven from any CICD tools, run "blueprintDashboard" for creating dashboard report and "scenarioDashboard" for creating scenario dashboards  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/j2WdD15sBFus2U42-fa7540f61a5d.png)![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Bm4ZBSYuwBdg662d-5561c5908e42.png)
6. Once the build is successfully run, go to AIQ &gt; Preferences &gt; Repository
7. Click Explore Repository  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/whDYs4d9cE8jfl3d-83a87dfbbda4.png)
8. Look for the folder called reports  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/KT10wpjMi9zUs7G7-75abcd087b66.png)
9. Click Reports&gt; Products &gt; main.html to have the dashboards created  
    ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/ftRQF3wcbzTgDAhx-a4c6fdfd669c.png)

---

Last updated: October 16, 2026

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

# CICD- AntTags

## Appvance IQ - CICD - All about Ant tags

Below is the list of all Ant tags/Java Class that is defined in build.xml file and their descriptions

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/I0y2qJufcN6V6LrS-97911489617e.png)<u>Below are Ant Tasks and their descriptions and examples</u>

- S3Downlaod
- StartNode
- WaitForAIQ
- CreateBlueprint
- Report (AISG)
- CheckBlueprintResults
- Dashboard (AISG)
- GenerateScenario
- ExecuteScenario
- UpdateJiraTicket
- FetchScenarioResults
- Report (Scenario)
- UploadToDashboard
- HouseKeeping
- CheckScenarioResults
- ProductDashboard
- ShutdownAIQ
- StopNode
- AddAIQUser
- ForEachInDPL
- UpdateBlueprintTemplate
- ForEachInFolder
- ExtractAutovalidations
- UpdateCSVValidations
- DownloadRepository
- GitReporter
- History Manager
- ProjectManager
- ProductManager
- UploadRepository
- Git Support
- ConsumeBlueprint
- FunctionalExecuter
- FunctionalReport
- Dashboard Git Support
- Terminate Instance
- Launch Instance
- UploadReportToS3

## <u>**S3Downlaod**</u>

Description

Downloads a folder from S3. Requires S3 credentials and an output file.

Input Parm

credentials: This points to the credentials file. It is a property file similar to

AWS\_ACCESS\_KEY\_ID=AKIA........

AWS\_SECRET\_ACCESS\_KEY=G8w...............

REGION:us-west-2.ec2.amazonaws.com

bucketBase: It is the AWS Bucket where the folder is located

localFolder: The folder where the file will be downloaded

remoteFolder: Remove the folder inside AWS Bucket

## <u>**StartNode**</u>

Description

Starts an AIQ Machine using the information in aiqCreds. Creates machine id in the generatedConfig file.

Input params

aiqCreds: Path of the configuration relative to the project (build.xml). Should have next format

{

"controller": {

"instances": \["i-07cb37f006XXXX"\],

"ec2Creds": "ec2.creds",

"timeOut": 60,

"username": "AIQUserName",

"password": "AIQPassword",

"workFolder": "."

}

}

ec2Creds is a creds file to connect to EC2, the format is

AWS\_ACCESS\_KEY\_ID=AKIA....

AWS\_SECRET\_ACCESS\_KEY=W96Axh4UqDl.....

REGION:us-west-2.ec2.amazonaws.com

- generatedConfig Path of the generated configuration file relative to the project (build.xml). Contains EC2 AMI information. Should have next format

```
{
```

```
"instanceId":"i-07cb37f006083a225",
```

```
"url":"http://ec2machine1:8080/TMServer/ws/TestNode"
```

```
}
```

## <u>**WaitForAIQ**</u>

Description

Waits until AIQ is ready

Input Params

- timeout: The timeout for this ant task in seconds. If AIQ is not ready after these seconds the task will fail. IF the parameter is not set the default value is 10 minutes
- aiqCreds: The AIQ credentials are in JSON format, the same format for running a scenario. The URL is optional. if not set. The Task will use the URL from consoleDetails

```
{
```

```
"controller":{
```

```
"url":"http://localhost:8080",
```

```
"username":"",
```

```
"password":""
```

```
}
```

```
}
```

- consoleDetails: File which contains URL if it is not set in aiqCreds

```
{
```

```
"url":"http://localhost:8080"
```

```
}
```

Output

AIQ should be ready and available otherwise the ant task will fail

## <u>**CreateBlueprint**</u>

Description: Creates a AISG.

Inputs

- projectName: "LeadGenius".
- template: "&lt;Project-Folder&gt;/blueprintTemplateFile.abpt".
- aiqCreds: "&lt;Project-Folder&gt;/localhost.json".

```
{
```

```
"controller":{
```

```
"url":"http://[ec2.machine.dns]:8080",
```

```
"username":"appvance",
```

```
"password":"appvance",
```

```
"workFolder":"/Users/[UserName]/workFolder" <--- for mac users
```

```
"workFolder":"c:/Users/administrator/workFolder" <--- for windows users
```

```
}
```

```
}
```

- outputFolder: "&lt;Project-Output-Folder&gt;/Output"
- forceNewScan: "true" // is defined as true
- requestMaxDuration: "2000"
- reportStatusCode: "300" for page updates
- customer: CustomerSample.com
- buildVersion: 0001

Ant Task Example

&lt;taskdef name="createBlueprint" classname="com.appvance.ci.CreateBlueprint"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;createBlueprint template="${template}" aiqCreds="${aiqCreds}" buildVersion="${buildVersion}" outputFolder="${blueprintResults}"

projectName="${projectName}" requestMaxDuration="4000" consoleDetails="${consoleDetails}" reportStatusCode="400" customer="${customer}" forceNewScan="true" /&gt;

Output

AISG is created inside outputFolder parameter

## <u>Report (AISG)</u>

Description

Creates a Dashboard report based on Junit results. It can handle integrations in the Junit results

Input Params

- fileConfig="generateRegressionScenario.json"
- aiqCreds="controller01.json"
- consoleDetails="consoleDetails.json"
- logsRemoteFolder="E:/Regression/Logs"
- projectName="moduleName"
- outputFolder="Output"

Output

Generates a Scenario and its scripts inside the Output folder

Ant Task Example

&lt;taskdef name="uploadReportToS3" classname="com.appvance.AISG.UploadReportToS3"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;uploadReportToS3 buildVersion="${buildVersion}" credentials="${awsCredentials}" bucketBase="${Bucket}" executionType="blueprints"

reportFolder="${blueprintResults}" environment="${environment}" product="${product}" /&gt;

## <u>CheckBlueprintResults</u>

Description

Checks AISG and fail if results are worse than expected

Input Params

- maxFailingRequests : max allowed number of requests with failing status codes. If not set, it will not be tested
- maxValidationFailures : max allowed number of AISG validations failures. If not set, it will not be tested
- minValidationRatio : minimum allowed percentage integer (1-100) that shows the ratio of succeeded validations. If not set, it will not be tested

Output

Fail if results are worse than expected

Ant Task Example

&lt;taskdef name="checkBPResults" classname="com.appvance.AISG.CheckBlueprintResults"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;checkBPResults maxFailingRequests="${maxFailingRequests}" maxValidationFailures="${maxValidationFailures}" minValidationRatio="${minValidationRatio}" reportFolder="${reports}" /&gt;

## <u>Dashboard (AISG)</u>

Description

Creates the history for the current branch and product using the AISG history.

Input params

- credentials="${awsCredentials}" s3 credentials
- customer="${customer}" customer name for description
- bucketBase="${Bucket}" s3 source to save data
- environment="${environment}" parameter used for classifying content
- executionType="blueprints" helps create an html with two tabs (for scenarios and for AISG content only)
- product="${product}" parameter used for classifying content

Output

Creates the AISG HTML for the history dashboard and uploads these all synchronized files to s3.

Ant Task Example

The first scenario saves the initial time and the second scenario is set to false to avoid overwriting it.

&lt;taskdef name="dashboard" classname="com.appvance.AISG.BlueprintDashboard"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;dashboard credentials="${awsCredentials}" customer="${customer}" bucketBase="${Bucket}" environment="${environment}" executionType="blueprints" product="${product}" /&gt;

## <u>GenerateScenario</u>

Description

Generates a regression scenario

Input Params

- fileConfig="generateRegressionScenario.json"
- aiqCreds="controller01.json"
- consoleDetails="consoleDetails.json"
- logsRemoteFolder="E:/Regression/Logs"
- projectName="moduleName"
- outputFolder="Output"

Output

Generates a Scenario and its scripts inside the Output folder

Ant Task Example

&lt;taskdef name="genScenario" classname="com.appvance.ci.GenerateScenario"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;genScenario fileConfig="${fileConfig}" aiqCreds="${aiqCreds}" consoleDetails="${consoleDetails}" logsRemoteFolder="${logsRemoteFolder}" projectName="${projectName}" outputFolder="${outputFolder}" /&gt;

## <u>ExecuteScenario</u>

Description

Executes a Scenario and, if saveIntitialTime is not true, timing information will be saved in results.properties file in the resultsFolder.

Input params

- aiqCreds: Path of the configuration relative to the project (build.xml). Should have the next format.

{

"controller": {

"instances": \["i-07cb37f006083a225"\],

"ec2Creds": "ec2.creds",

"timeOut": 60,

"username": "appvance",

"password": "appvance",

"workFolder": "."

}

}

- dir: Path to the scenario folder, current scenario folder value is "scenario"
- scenario: Name of the scenario to execute, example "LeadGenius\_31\_34\_TestEnv.scenario"
- resultsFolder: The place where results.properties are saved. It contains useful information to create reports and dashboards. By default, its value is "results".
- saveInitialTime: Indicates the results.properties file should be created in the result folder directory. By default it is true.

Output

The scenario should be completely executed and, if saveIntitialTime is not true, timing information will be saved in results.properties file in the resultsFolder.

Ant Task Example

The first scenario saves the initial time and the second scenario is set to false to avoid overwriting it.

&lt;taskdef name="executeScenario" classname="com.appvance.ci.ExecuteScenario"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;executeScenario aiqCreds="controller01.json" dir="${dir}" scenario="Scenarioname.scenario" consoleDetails="${consoleDetails}" resultsFolder="${scenarioResults}" /&gt;

<u>UpdateJiraTicket</u>

Description

Logs into Jira, and updates the ticket status, adding a comment based on the execution result file.

Input:

- jiraCreds: it is a JSON file with the next format:

{

"url": "httpS://.....",

"username": "userQA",

"password": "XXXXXXXX",

"destinationStatus" : {

"success": "done",

"failure": "in progress"

}

}

- ticketId: this is the identifier for the ticket to be updated.
- executionResult: the JSON file.
- updateStatus:
- maxFailures: maximum number of failures before considering the test fails.
- minSuccessPercentage: minimum percentage before considering the test fails.

Output:

These ant tags will log in to Jira, and it will update the ticket status by adding a comment based on the execution result file.

## <u>FetchScenarioResults</u>

Description

Save scenario results in the results folder. It will update the results.properties file inside the results folder with useful timing properties for report and dashboard creation.

Inputs

- aiqCreds: Path of the configuration relative to the project (build.xml). Should have the next format.

{

"controller": {

"instances": \["i-07cb37f006083a225"\],

"ec2Creds": "ec2.creds",

"timeOut": 60,

"username": "appvance",

"password": "appvance",

"workFolder": "."

}

}

- scenario: name of scenario to execute
- consoleDetails:
- resultsFolder: name of the folder to save result files. It should contain the results.properties file which contains useful timing properties for report and dashboard creation.
- stopOnFailure: boolean, this enables the process to continue or stop when fails.

Output

Save scenario results into the results folder parameter. The report.properties file will be updated with useful timing properties for report and dashboard creation.

Ant Task Example

&lt;taskdef name="fetchScenarioResults" classname="com.appvance.ci.FetchScenarioResults" &gt;

&lt;classpath refid="RestClientLibPath"/&gt;

&lt;/taskdef&gt;

&lt;fetchScenarioResults aiqCreds="creds.json" scenario="BasicScenario.scenario" consoleDetails ="params.json" stopOnFailure="false"/&gt;

## <u>Report (Scenario)</u>

Description

Creates a Dashboard report based on Junit results. It can handle integrations in the Junit results

Input Params

- projectName="moduleName"
- resultsFolder="${scenarioResults}"
- reportFolder="${scenarioReports}"
- executionType="scenarios"
- environment="${environment}"
- consoleDetails="consoleDetails.json"
- product="${product}"
- buildVersion="${buildVersion}"
- bucketBase="${Bucket}"
- aiqCreds="controller01.json"
- credentials="${awsCredentials}"

Output

Generates a Scenario and its scripts inside the Output folder

Ant Task Example

&lt;taskdef name="Report" classname="com.appvance.ci.Report"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;Report projectName="${projectName}" resultsFolder="${scenarioResults}" reportFolder="${scenarioReports}" executionType="scenarios"

environment="${environment}" consoleDetails="${consoleDetails}" product="${product}" buildVersion="${buildVersion}" bucketBase="${Bucket}" aiqCreds="${aiqCreds}"credentials="${creds.json}" /&gt;

## <u>UploadToDashboard</u>

Description

This ant task uploads files.

Input Params

- bucketBase="${Bucket}"
- product="${product}"
- projectName="${projectName}"
- environment="${environment}"
- executionType="scenarios"
- credentials="${awsCredentials}"
- buildVersion="${buildVersion}"
- reportFolder="${scenarioReports}"
- consoleDetails="${consoleDetails}"
- aiqCreds="${aiqCreds}"

Output

No output, this ant task only uploads files

Ant Task Example

&lt;taskdef name="uploadToDashboard" classname="com.appvance.ci.UploadToDashboard"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;uploadToDashboard bucketBase="${Bucket}" product="${product}" projectName="${projectName}"

environment="${environment}" executionType="scenarios" credentials="${awsCredentials}" buildVersion="${buildVersion}"

reportFolder="${scenarioReports}" consoleDetails="${consoleDetails}" aiqCreds="${aiqCreds}" /&gt;

## <u>HouseKeeping</u>

Description

Keeps a max number of builds in s3

Input Params

- credentials="${awsCredentials}"
- keep="${MaxBuilds}"
- bucketBase="${Bucket}"
- executionType="scenarios"
- product="${product}"
- environment="${environment}"

Output

Keeps a max number of builds in s3

Ant Task Example

&lt;taskdef name="HouseKeeping" classname="com.appvance.ci.HouseKeeping"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;HouseKeeping credentials="${awsCredentials}" keep="${MaxBuilds}" bucketBase="${Bucket}" executionType="scenarios" product="${product}" environment="${environment}" /&gt;

## <u>CheckScenarioResults</u>

Description

Checks a set of JUnit results and fails if the results are worse than the expected in report.json file.

If ANY high-important TestCase fails, it will fail.

Even if every low importance fails, it won't fail because of this.

The minSucessRatio and maxFailingTestCases are applied to normal importance

Input Params

- reportFile: The dir where the JSON report is located. If not set the default is "report/report.json".
- minSuccessRatio: minimum allowed percentage integer (1-100) that shows the ratio of succeeded validations. If not set, it will not be tested
- maxAllowedFailures : max allowed failed test cases. If not set it will not be tested

Output

Checks a set of JUnit results and fails if the results are worse than expected. Will do nothing if the results are good enough.

Ant Task Example

&lt;taskdef name="checkScenarioResults" classname="com.appvance.ivy.CheckScenarioResults" &gt;

&lt;classpath refid="IvyPath"/&gt;

&lt;/taskdef&gt;

&lt;checkScenarioResults reportFile="report/report.json" minSucessRatio ="95" maxAllowedFailures ="5" /&gt;

## <u>ProductDashboard</u>

Description

Creates the main dashboard report for the CICD

- reportFile: The dir where the JSON report is located. If not set the default is "report/report.json".
- minSuccessRatio: minimum allowed percentage integer (1-100) that shows the ratio of succeeded validations. If not set, it will not be tested
- maxAllowedFailures : max allowed failed test cases. If not set it will not be testedSinchronize the historical files and create a report with the latest results for all the history

Input Params

- credentials="${awsCredentials}" AWS credentials
- bucketBase="${Bucket}" AWS path to locate files
- customer="${customer}" Customer description to show in the html

Output

Creates the main dashboard report for the CICD

Ant Task Example

&lt;taskdef name="ProductDashboard" classname="com.appvance.ci.ProductsDashboard"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;ProductDashboard credentials="${awsCredentials}" bucketBase="${Bucket}" customer="${customer}" /&gt;

## <u>ShutdownAIQ</u>

Description

Shutdown and AIQ Server based on specs from the configuration file

Input Params

- aiqCreds: The AIQ credentials are in JSON format, the same format for running a scenario. The URL is optional. if not set. The Task will use the URL from consoleDetails

{

"controller":{

"url":"http://localhost:8080",

"username":"appvance",

"password":"appvance"

}

}

- consoleDetails: File which contains URL if it is not set in aiqCreds

{

"url":"http://localhost:8080"

}

Output

AIQ should be stopped. If not the task will fail.

Ant Task Example

&lt;target name="stopAIQ" depends="deps"&gt;

&lt;taskdef name="shutdown" classname="com.appvance.ci.ShutdownAIQ"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;shutdown

aiqCreds="${aiqCreds}"

consoleDetails="${consoleDetails}" /&gt;

&lt;/target&gt;

<u>StopNode</u>

Description

Stops an AIQ Machine using the information in aiqCreds.

Input:

- aiqCreds:

{

"controller": {

"instances": \["i-07cb37f006083a225"\],

"ec2Creds": "ec2.creds",

"timeOut": 60,

"username": "appvance",

"password": "appvance",

"workFolder": "."

}

}

- dir: name of the scenario
- consoleDetails:

Ant Tag Example

&lt;taskdef name="stopNode" classname="com.appvance.ci.StopNode"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;stopNode aiqCreds="${aiqCreds}" consoleDetails="${consoleDetails}" /&gt;

## <u>AddAIQUser</u>

Description

Creates a user into AIQ.

Input Parm

- username="${username}"
- password="${password}"
- role="${role}" valid values: “Admin”, “User”
- aiqCreds="CICD/localhost.json"

Output

An user is created.

Ant Task Example

&lt;target name="checkCreateUsers" depends="init"&gt;

&lt;path id="TestPath"&gt;

&lt;pathelement path="${javac.classpath}"/&gt;

&lt;pathelement path="${build.test.classes.dir}"/&gt;

&lt;pathelement path="${build.classes.dir}"/&gt;

&lt;pathelement location="dist/AppvanceCIClient.jar"/&gt;

&lt;/path&gt;

&lt;taskdef name="forEachInDPL" classname="com.appvance.ci.ForEachInDPL" &gt;

&lt;classpath refid="TestPath"/&gt;

&lt;/taskdef&gt;

&lt;taskdef name="addAIQUser" classname="com.appvance.ci.AddAIQUser" &gt;

&lt;classpath refid="TestPath"/&gt;

&lt;/taskdef&gt;

&lt;forEachInDPL csv="test/com/appvance/ci/users.csv" &gt;

&lt;addAIQUser username="${username}" password="${password}" role="${role}" aiqCreds="CICD/localhost.json"/&gt;

&lt;/forEachInDPL&gt; &lt;/target&gt;

## <u>ForEachInDPL</u>

Description:

Receives the DPL path, the DPL type, and a task list.

Input Params

csv: "CICD/templates.csv"

type: "JsDPL" || “HashDPL”

task=&lt;updateBlueprintTemplate input="CICD/Legacy.mbpt" output="output/original-${template}.mbpt.json" type="none" /&gt;

&lt;updateBlueprintTemplate input="output/original-${template}.mbpt.json"

Ant Task Example

&lt;forEachInDPL csv="CICD/templates.csv" &gt;

&lt;updateBlueprintTemplate input="CICD/Legacy.mbpt" output="output/original-${template}.mbpt.json" type="none" /&gt;

&lt;updateBlueprintTemplate input="output/original-${template}.mbpt.json"

output="output/dpl-${template}.mbpt.json"

resource="CICD/templates.csv"

type="updateDataset" /&gt;

&lt;/forEachInDPL&gt;

## <u>UpdateBlueprintTemplate</u>

Description

Updates the Blueprint template.

Input Params

- input="output/original-${template}.mbpt.json"
- output="output/dpl-${template}.mbpt.json"
- resource="CICD/templates.csv"
- type="updateDataset"

Output

From a Blueprint template, it generates a list of modified Blueprint templates.

Ant Task Example

&lt;target name="checkUpdateBlueprintTemplate" depends="init"&gt;

&lt;path id="TestPath"&gt;

&lt;pathelement path="${javac.classpath}"/&gt;

&lt;pathelement path="${build.test.classes.dir}"/&gt;

&lt;pathelement path="${build.classes.dir}"/&gt;

&lt;pathelement location="dist/AppvanceCIClient.jar"/&gt;

&lt;/path&gt;

&lt;taskdef name="updateBlueprintTemplate" classname="com.appvance.AISG.UpdateBlueprintTemplate" &gt;

&lt;classpath refid="TestPath"/&gt;

&lt;/taskdef&gt;

&lt;taskdef name="forEachInDPL" classname="com.appvance.ci.ForEachInDPL" &gt;

&lt;classpath refid="TestPath"/&gt;

&lt;/taskdef&gt;

&lt;forEachInDPL csv="CICD/templates.csv" &gt;

&lt;updateBlueprintTemplate input="CICD/Legacy.mbpt" output="output/original-${template}.mbpt.json" type="none" /&gt;

&lt;updateBlueprintTemplate input="output/original-${template}.mbpt.json"

output="output/dpl-${template}.mbpt.json"

resource="CICD/templates.csv"

type="updateDataset" /&gt;

&lt;/forEachInDPL&gt;

&lt;/target&gt;

## <u>ForEachInFolder</u>

Description

Processes a list of files, using a pattern to filter file types inside a folder, then executes a list of tasks.

Input Params

- folder = theFolder
- match = theMatch

&lt;taskdef name="forEachInFolder" classname="com.appvance.ci.ForEachInFolder" &gt;

&lt;classpath refid="TestPath"/&gt;

&lt;/taskdef&gt;

Ant Task Example

&lt;forEachInFolder folder="testfolder"&gt;

&lt;echo message="Filename: ${filename}${line.separator}" file="output/ForEachFolder.txt" append="true" /&gt;

&lt;/forEachInFolder&gt;

&lt;forEachInFolder folder="testfolder" match =".\*.csv"&gt;

&lt;echo message="Filename: ${filename}${line.separator}" file="output/ForEachMatch.txt" append="true" /&gt;

&lt;/forEachInFolder&gt;

<u>ExtractAutovalidations</u>

## <u>UpdateCSVValidations</u>

Description

Updates a CSV file according to a pattern using a replacement string.

Input Parm

- type:
- Possible values for type:
- disable, enable, updateMatch.
- input:
- It is the CSV file path.
- output:
- match:
- replace:

Ant Task Example

&lt;target name="updateCSV" depends="deps"&gt;

&lt;taskdef name="updateCSVData" classname="com.appvance.AISG.UpdateCSVValidation"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;updateCSVData

type="disable || enable || updateMatch"

input="folder"

output="outputFolder"

match="getData"

replace="getContent"

/&gt;

&lt;/target&gt;

## <u>DownloadRepository</u>

Description

Clones a git repository

Input Parm

- folder="c:/pathToFutureGitFolder"
- credentials= path to a json file with Git credentials, this is a json file as follows:

For https connection

{

"username": "\*\*\*\*\*@appvance.com",

"password": "\*\*\*\*\*\*\*",

"repository": "https://gitlab.com/pathtest/development.git ",

"branch": "branchName",

"sshPhrase": "";

"sshKey": ""

}

For ssh connection

{

"username": "theUser@appvance.com",

"password": "",

"repository": "git@gitlab.com:pathtest.git",

"branch": "master",

"sshPhrase": "thisIsMyKeyPharse"; // optional if not required by git

"sshKey": "pathToprivateKeyFile"

}

Output

Git repository is cloned in to file system

Ant Task Example

&lt;taskdef name="downloadRepository" classname="com.appvance.ci.git.DownloadRepository"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;downloadRepository folder="${localEmptyFolder}" credentials="${gitCredentialsFile}" /&gt;

## <u>GitReporter</u>

Description

Generates internal Statistics

Input Parm

- folder="${localEmptyFolder}" // location for local dashboard files
- reportFolder= "${blueprintResults}"
- environment="${environment}"
- executionType="blueprints" // valid values "blueprints" || "scenarios"
- projectName="${projectName}"
- buildVersion="${buildVersion}"
- product="${product}"
- resultsFolder= "" // for AISG keep it blank, for scenario you may enter "ScenarioResults"

Output

Updates the statistics for local files

Ant Task Example

&lt;taskdef name="gitReporter" classname="com.appvance.ci.git.GitReporter"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;gitReporter

folder="${localEmpyFolder}"

reportFolder= "${blueprintResults}"

environment="${environment}"

executionType="blueprints"

projectName="${projectName}"

buildVersion="${buildVersion}"

product="${product}"

resultsFolder= ""

/&gt;

## <u>History Manager</u>

Description

Generates internal Statistics

Input Params

- folder="${localEmpyFolder}" // location for local dashboard files
- product="${product}"
- environment="${environment}"
- buildVersion="${buildVersion}"
- executionType="blueprints" // valid values "blueprints" || "scenarios"
- projectName="${projectName}"

Output

Updates the statistics for local files

Ant Task Example

&lt;taskdef name="historyManager" classname="com.appvance.ci.git.HistoryManager"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;historyManager

folder="${localEmpyFolder}"

product="${product}"

environment="${environment}"

buildVersion="${buildVersion}"

executionType="blueprints"

projectName="${projectName}"

/&gt;

## <u>ProjectManager</u>

Description

Generates internal Statistics

Input Params

- folder="${localEmpyFolder}" // location for local dashboard files
- buildVersion="${buildVersion}"
- product="${product}"
- environment="${environment}"
- executionType="blueprints" // valid values "blueprints" || "scenarios"
- customer="${customer}"

Output

Updates the statistics for local files

Ant Task Example

&lt;taskdef name="dashboard" classname="com.appvance.ci.git.ProjectManager"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;dashboard

folder="${localEmpyFolder}"

buildVersion="${buildVersion}"

product="${product}"

environment="${environment}"

executionType="blueprints"

customer="${customer}"

/&gt;

## <u>ProductManager</u>

Description

Generates internal Statistics

Input Parm

- folder="${localEmpyFolder}" // location for local dashboard files
- customer="${customer}"

Output

Updates the statistics for local files

Ant Task Example

&lt;taskdef name="productManager" classname="com.appvance.ci.git.ProductManager"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;productManager

folder="${localEmpyFolder}"

customer="${customer}"

/&gt;

<u>UploadRepository</u>

Description

Commits changes into a git repository

Input Parm

- credentials="${gitCredentials}"
- folder="${localEmpyFolder}" // location for local dashboard files
- customer="${customer}"

Output

Updates the statistics for local files

Ant Task Example

&lt;taskdef name="commitReports" classname="com.appvance.ci.git.UploadRepository"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;commitReports

credentials="${gitCredentials}"

folder="${localEmpyFolder}"

customer="${customer}"

/&gt;

<u>**ConsumeBlueprint**</u>

Description

Detects a AISG that is loaded in memory.

Input Parm

aiqCreds="${aiqCreds}"

it’s the JSON file that contains the IQ credentials.

{

"controller":{

"url":"http://\[ec2.machine.dns\]:8080",

"username":"appvance",

"password":"appvance",

"workFolder":"/Users/\[UserName\]/workFolder" &lt;--- for mac users

"workFolder":"c:/Users/administrator/workFolder" &lt;--- for windows users

}

}

buildVersion="001" // define the number of copilation according to the pipeline number.

outputFolder="blueprintResults" //it’s the folder where is going to be downloaded the reports.

projectName="aProjectName" //the name that discribes to of the projet

requestMaxDuration="4000" //maximum duration per request

consoleDetails="${consoleDetails}" //

reportStatusCode="400" // minimum expected error code.

customer="${customer}" // it’s a name that describes to the customer.

Output

c:\\Builds\\Resources\\\[blueprint-name\].abp

Ant Task Example

&lt;target name="blueprintConsume" depends="ivyDeps"&gt;

&lt;taskdef name="consumeBlueprint" classname="com.appvance.ci.ConsumeBlueprint"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;consumeBlueprint

aiqCreds="${aiqCreds}"

buildVersion="${buildVersion}"

outputFolder="${blueprintResults}"

projectName="${projectName}"

requestMaxDuration="4000"

consoleDetails="${consoleDetails}"

reportStatusCode="400"

customer="${customer}" /&gt;

&lt;/target&gt;

<u>**FunctionalExecuter**</u>

Description

This Ant task runs complex functional scenarios.

This Ant task does not require AIQ, but it requires Test Designer if the script uses it. You can create a report from the results of the ant task using the FunctionalReport ant task (FunctionalReport )

Qualified Class Name

com.appvance.ci.functional.FunctionalExecuter

Input Params

&lt;taskdef name="functionalExecuter" classname="com.appvance.ci.functional.FunctionalExecuter" &gt;

&lt;classpath refid="CIPath"/&gt;

&lt;/taskdef&gt;

&lt;functionalExecuter maxThread="1" resultFolder="${resultFolder}" testclass="${testclass}" /&gt;

The Locker &amp; Bridge Variable support

If scripts have variables in the locker or the bridge, it is important to notice they required some details in the script java class but no change is required in the script itself

@Test

public void doFirstTestBroken() {

//Somewhere in the script this happens

new TheLocker().put("myVar", "MyValue");

//Leave the script

}

@Test(dependsOnMethods = {"doFirstTestBroken"})

public void doSecondTestBroken() {

/\*\*

- This is NOT 100% to succeed IT could succeed times, if you have
- Only 1 thread BUT if you have multiple threads, the first thread could run
- Different TestCase and
- maxThread take a look!!! if maxThread=1 this will
- Always work but it is not guaranteed to work with many threads
- &lt;functionalExecuter maxThread="10" resultFolder="p10${resultFolder}" testclass="${testclassParallel}" /&gt;

\*/

//Fresh thread will run this piece

Assert.assertEquals("MyValue", new TheLocker().get("myVar"));

}

// --------------------------------------------------------------------------------

// -- DO NOT WORRY, our Shiny new Appvance CI Runner can do this and much more

// -- IF the scripts save the data in the locker you need to move it to a

// -- local variables and back to the locker for the next script

// -----------------------------------------------------------------------------

private Object myVar;

@Test

public void doFirstTestFixed() {

//Somewhere in the script this happends

new TheLocker().put("myVar", "MyValue");

//..

// Now before leaving we put it in a script level variable

myVar = new TheLocker().get("myVar");

}

@Test(dependsOnMethods = {"doFirstTestFixed"})

public void doSecondTestFixed() {

/\*\*

- As we do not want to change the script, so we retrieve it from local
- script and add it to the locker of this thread\*

\*/

new TheLocker().put("myVar", myVar);

//Eventually the script will read it from

Assert.assertEquals("MyValue", new TheLocker().get("myVar"));

}

//------------------------------------------------

//-- For ServiceSuiteBrige &amp; TestDesginer bridge variables

//-- Solution is simpler, you keep the bridge as Java Class variables

//--------------------------------------------------

@Test

public void doFirstServiceSuiteBridgeBroken() throws Exception {

ServiceSuiteBridge bridge = new ServiceSuiteBridge();

bridge.put("myVar", "myValue");

}

@Test(dependsOnMethods = {"doFirstServiceSuiteBridgeBroken"})

public void doSecondServiceSuiteBridgeBroken() throws Exception {

ServiceSuiteBridge bridge = new ServiceSuiteBridge();

//This will aalways fail because brige is new object

Assert.assertEquals("myValue", bridge.getVariable("myVar"));

}

//---------------------------------

// Solution is to have a setup

//---------------------------------

private ServiceSuiteBridge serviceSuiteBridge;

@BeforeClass

public void setup() throws Exception {

serviceSuiteBridge = new ServiceSuiteBridge();

}

@Test

public void doFirstServiceSuiteBridgeFixed() throws Exception {

serviceSuiteBridge.put("myVar", "myValue");

}

@Test(dependsOnMethods = {"doFirstServiceSuiteBridgeFixed"})

public void doSecondServiceSuiteBridgeFixed() throws Exception {

//This is fine as long as doFirstServiceSuiteBridgeFixed do not branch!

//CAREFULL with multiple threads accessing this bridge at the same time

// If you need to branch use same approach as the locker, save variables

//as Java class variables

Assert.assertEquals("myValue", serviceSuiteBridge.getVariable("myVar"))

## <u>**FunctionalReport**</u>

Definition

These Ant tags create a report for the Appvance CI Complex Functional Runner (FunctionalExecuter ).

Qualified Class Name

com.appvance.ci.functional.FunctionalReport

Input Params

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/dQxpzrE17kA9eQRU-dcf469bcbc5e.png)credentials File will be similar to this

AWS\_ACCESS\_KEY\_ID=XXX

AWS\_SECRET\_ACCESS\_KEY=XXX

REGION:us-west-2.ec2.amazonaws.com

Ouput

Upon successful ant task, the “reportFolder” will contain a correctly generated report of the execution based on the results inside the “resultsFolder”.

If the bucketBase &amp; credentials are set, the task will find previous executions (if any) inside Amazon AWS to fill the results column.

Ant Task Example

&lt;taskdef name="Report" classname="com.appvance.ci.functional.FunctionalReport"&gt;

&lt;classpath refid="CIPath" /&gt;

&lt;/taskdef&gt;

&lt;Report

projectName="${projectName}"

resultsFolder="${resultFolder}"

reportFolder="${reportFolder}"

environment="${environment}"

credentials="${awsCredentials}"

product="${product}"

buildVersion="${buildVersion}"

bucketBase="${Bucket}" /&gt;

## <u>**Dashboard Git Support**</u>

A sample of targets that are added to your build.xml will enable you to run scenarios and AISG and upload the results to a GIT repository.

You will need to provide GIT credentials in a credentials JSON file pointed by the gitCredentials property

## <u>**Terminate Instance**</u>

Terminates an ec2 instance using the instance id coming from the console details file.

Input

{

"instanceId": "i-TheInstanceId",

"url": "http://\[some domain goes here\]:8080/TMServer/ws/TestNode"

}

Cloud File

This XML file can be encrypted by AIQ or visible in plain text, this file is required to establish a connection with AWS

&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;cloud type="EC2" version="1"&gt;

&lt;config-param key="AIQProtocol" value="http"/&gt;

&lt;config-param key="AIQPort" value="8080"/&gt;

&lt;config-param key="AccountName" value="XXX"/&gt;

&lt;config-param key="AWSKey" value="XXX"/&gt;

&lt;config-param key="AWSSecretAcessKey" value="XXX//XX"/&gt;

&lt;config-param key="AMI" value="ami-XX"/&gt;

&lt;config-param key="InstanceType" value="t2.xlarge"/&gt;

&lt;config-param key="KeyPair" value="XX"/&gt;

&lt;config-param key="Security" value="sg-XX"/&gt;

&lt;config-param key="AWSRegion" value="http://us-west-2.ec2.amazonaws.com "/&gt;

&lt;config-param key="vpcId" value="vpc-XX"/&gt;

&lt;config-param key="subnetId" value="subnet-XX"/&gt;

&lt;/cloud&gt;

Tag Definition

&lt;target name="TerminateInstance" depends="deps"&gt;

&lt;taskdef name="TerminateInstance" classname="com.appvance.ci.TerminateInstance"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;LaunchInstance

testNodeDetails="${testNodeDetails}"

cloudFile="${cloudFile}"/&gt;

&lt;/target&gt;

Output

There is no output since the instance is terminated and all processes are completed.

## <u>**Launch Instance**</u>

This tag can create an ec2 instance from an existing AMI.

Note:

The AMI should have everything configured:

- AIQ running as a service
- Database fully installed

Inputs:

Cloud File created with AIQ:

AWS Creds

Note:

These three fields are required.

AWS\_ACCESS\_KEY\_ID=AKIAZ\*\*\*\*\*\*

AWS\_SECRET\_ACCESS\_KEY=eFK\*\*\*\*\*ojk/7ZCNb1fk\*\*\*\*\*Lq

REGION=us-west-2.ec2.amazonaws.com

Cloud File

This xml file can be encrypted by AIQ or visible in plain text

&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;cloud type="EC2" version="1"&gt;

&lt;config-param key="AIQProtocol" value="http"/&gt;

&lt;config-param key="AIQPort" value="8080"/&gt;

&lt;config-param key="AccountName" value="XXX"/&gt;

&lt;config-param key="AWSKey" value="XXX"/&gt;

&lt;config-param key="AWSSecretAcessKey" value="\*\*\*\*\*\*\*\*"/&gt;

&lt;config-param key="AMI" value="ami-XXX"/&gt;

&lt;config-param key="InstanceType" value="t2.xlarge"/&gt;

&lt;config-param key="KeyPair" value="XXX"/&gt;

&lt;config-param key="Security" value="sg-XXX"/&gt;

&lt;config-param key="AWSRegion" value="http://us-west-2.ec2.amazonaws.com "/&gt;

&lt;config-param key="vpcId" value="vpc-XXX"/&gt;

&lt;config-param key="subnetId" value="subnet-XXX"/&gt;

&lt;/cloud&gt;

Tag Definition

&lt;target name="LaunchInstance" depends="deps"&gt;

&lt;taskdef name="LaunchInstance" classname="com.appvance.ci.LaunchInstance"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;LaunchInstance

aiqCreds="${aiqCreds}"

credentials="${awsCredentials}"

testNodeDetails="${testNodeDetails}"

cloudFile="${cloudFile}"/&gt;

&lt;/target&gt;

Output

Updates the ConsoleDetails File:

{

"instanceId": "\[auto generated instance ID\]",

"url": "http://\[auto generated domain\]:8080/TMServer/ws/TestNode"

}

## <u>**UploadReportToS3**</u>

Description

Creates a Dashboard report based on Junit results. It can handle integrations in the Junit results

Qualified Class Name:

com.appvance.AISG.UploadReportToS3

Input Params

- fileConfig="generateRegressionScenario.json"
- aiqCreds="controller01.json"
- consoleDetails="consoleDetails.json"
- logsRemoteFolder="E:/Regression/Logs"
- projectName="moduleName"
- outputFolder="Output"

Output

Generates a Scenario and its scripts inside the Output folder

Ant Task Example

&lt;taskdef name="uploadReportToS3" classname="com.appvance.AISG.UploadReportToS3"&gt;

&lt;classpath refid="RestClientLibPath" /&gt;

&lt;/taskdef&gt;

&lt;uploadReportToS3 buildVersion="${buildVersion}" credentials="${awsCredentials}" bucketBase="${Bucket}" executionType="blueprints"

reportFolder="${blueprintResults}" environment="${environment}" product="${product}" /&gt;

---

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

## Cloud execution flow

Use the Ant tasks in dependency order: provision or start the node, wait for AIQ, create or generate the scenario, execute it, collect results, and shut down resources. Confirm that credentials, endpoints, and workspace paths are supplied by the build environment and review cleanup tasks after both successful and failed runs.

**Last updated: October 15, 2026**

# CICD - Dashboards

![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/GaX4GFNv2enaX8OJ-b4a99dab0f69.png)<u>Dashboards Explained:</u>

The main dashboard looks like the below:

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/gS19XQV2Xx2DdOKs-b0112b4d1b0d.png)1. The main dashboard will have all the entries for the scenarios and the AISG run for the application under test
2. The top right will have last updated with the date and time
3. Product is a drop-down field that lists out all the products of the dashboard, remember product was a property that was set in build.xml, and based on the provided value, a dashboard would be created
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8a1nlgNr85Lb9A8P-d2d8c40423ad.png)
4. The environment is again a drop-down field that lists out all the environments, remember environment is again a property that was set in build.xml, and based on the provided value, dashboards would be created or updated
5. Type Lists out all the test types, like functional scenarios, AISG etc
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/xFjAUqwyloJ1r3Jm-c17f995b9f89.png)
6. Build id - is again is a value provided in build.xml, it can be driven to be dynamically generated from other tools like Jenkins.
    
    From Jenkins:
    
    buildNumber=Appvance$BUILD\_NUMBER
    
    $BUILD\_NUMBER is an inbuilt method that creates a build number by itself so every time a pipeline is run, a number would be appended to Appvance (Example: Appvance01)
    
    Within Build.xml:
    
    Below example shows picking today's date as the build number which is defined inside build.xml as shown below:
    
    &lt;property name="buildVersion" value="${TODAY\_MY}" /&gt;
    
    &lt;tstamp&gt;
    
    &lt;format property="TODAY\_MY" pattern="MM-dd-yyyy" locale="en,US" /&gt;
    
    &lt;/tstamp&gt;
7. Test Name - It is the name of the test scenario name/AISG execution name
8. Date - Date of when the AISG or the test scenario was run
9. Duration - is the pipeline duration
10. Failures - will show the number of script failures for scenarios and the number of validation failures for AISG
11. Success Rate - Success rates in percentage for both Scenarios and AISG
12. Toggle Columns - You have options to toggle columns with Build Id, Product, Environment
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/PzL5KUgRDNz9VqRl-bec7269efe1d.png)**<u>Products and Environments:</u>**

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/r1uvZ0tndgnLZpAJ-6eaca3c7257a.png)**<u>Environments:</u>**

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/6ztph1wpRMNe8ZYR-4f651dff7525.png)**<u>History Results:</u>**

Click the icon for each of the entries under History Results to check the history results for a scenario run based on product/Environment/Test Type (AISG or Scenario)

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/cwZILaX5gEeAIKJu-b248485b086e.png)<u>AISG:</u>

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/i5Tde5sSpQyHSW08-ac79fc2c38ef.png)1. It has a search option on top so you can search for something specific, like dates, build number, etc
2. ID is the same as the build number
3. Name is the name of the AISG
4. Success rate gives the success rate of the AISG, if there are some validation failures, those can be checked using Validators
5. Start Time - shows when the AISG was started
6. Duration - shows how long the AISG was run
7. SmartTags - shows all the SmartTags that were used in the Green tick box and also the ones that are not used in the orange box. You can click them for a quick view
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/WK3wKWDpdm1JYMqN-887cc7b78af9.png)
8. Validations - will list all the successful validations and the failed validations, just like SmartTags, you can open the quick view to list out all the validations that were passed and all the validations that were failed
9. Extractions - will list all the successful and failed extractions and you can use the quick view to see the list of successful extractions and the failed ones
10. Slow requests - Depending on the user entry in the build.xml to filter out the slow responses (like 2000 msecs) - this will list out all the slow requests
11. Failed Requests - Depending on the user entry in the build.xml to filter out all the failed requests (302 and above) - this will list out all the failed requests
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Thua9kEORcmDCVQs-ae5db12baca5.png)
 
The graph shows successful and failed validations, slow and failing requests over a period of time. You can mouse hover on both graphs to get more details.

<u>View:</u>

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/vJQ7H73GUgmrGqg8-d5ad57c9c564.png)1. Test Coverage shows all the Unique Actions created, Unique pages found statistics and total scripts created, and an option to download all the JS scripts created from the AISG
    
    Coverage is basically:
    
    The list of unique actions is divided by total actions, The list of unique pages divis ided by total pages found, then both results are summarized and divided into 2, so the coverage is an average of the percentage of actions and pages found, Just those values are considered to generate the final value.
2. AISG section details will show the AISG type (Web or Mobile), AISG duration in minutes, and the number of browsers
3. Below sections - Failed Validations, Failed Requests, Failed Extractions, Successful Validations, Successful Extractions, Slow Requests, SmartTags-All can be expanded and collapsed
4. These sections can be dragged and dropped based on user needs, like dragging all the failed sections to one side and all the successful sections to the other side, even if the browser is refreshed, these sections stay as the user made changes
5. Reset to Defaults can be used to re-arrange the sections as default options
6. Each of the sections will have a Filter option to filter out based on the needs
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/6zVBlGlFiwexjvYE-ebf6c7419a0e.png)
7. Under failed requests, you can expand a particular request and copy the generated script which can be pasted in JS Edit &amp; Play to be replayed back. The same applies to slow requests as well.
8. The entire report can be downloaded as pdf using **Save report as PDF**on top of the page next to the Last updated
 
<u>Scenarios:</u>

1. Just like a AISG, a search option is available to filter out the entries
2. ID is the build-id
3. NameThen is the scenario name
4. Type shows if it is a functional, performance, or bulk scenario type
5. Initial Time - This shows when the scenario started executing
6. Success/Failure - This shows the list of success test cases and failed test cases, you can click the quick view to see the full list
7. Success percentage - This shows the success percentage
8. Duration - This shows the duration of the scenario run from AIQ. When scenarios are run in parallel, the duration will show the duration of the scenario which took longer. When scenarios are run in sequence, the duration will show the duration of all the scenarios summed up.
 
 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wLf1bTVurOy4vTN9-15b70680d971.png)You will also be able to view the graphs of history on the success and failure of the scenarios over a period of time

<u>View:</u>

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/3eJ0ogFfgyQiDTfj-0878912fe9b8.png)1. On top, it lists out the total Failures, Successes, and Success Percentages
2. Failed test case detailed section lists all the test cases that were failed and a one-line Failure reason with the importance set in the Scenario Editor test case section
3. You can expand each of the test cases to look at more details on the failure like Steps, script and resources to download, Failure snapshot, Instant replay to download, Failure snapshot of step highlighted, Trace, and error logs
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/R45NaeveO4AEIFFY-f27db5b98da0.png)
4. Each of the above details can be expanded to look into more details
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/S4BIYE8MUFL3Kwvu-46aece248c1d.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/jXolAMoiXP1adjD9-6303060c8b10.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/SZ2EiwQI4byTXgpz-ce4ea4a86bfe.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/zxNlRSiMFqpWbqvG-576a36c7bbf2.png)
5. The success test case will have the same details excluding the failed screen-shots and failed error logs
6. Previous 5 Execution Pass or Fail - This will give details about a test case consistency over the last 5 executions
 
<u>Min Actions and Min Pages:</u>

This is an optional field, but if you want to enable it on the dashboards, you should make the following changes.

Based on the entries from the user, min pages, and min actions, the build would be marked as success or failure.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/q517RcI6mrUfN6mf-072265a044b7.png)In order to have these changes on dashboards, please modify the build.xml as follows:

All these parameters are required in order to fully display this feature.

&lt;property name="minSuccessRate" value="95" /&gt; //minSuccessRate to skip set to “0“ zero

&lt;property name="minActions" value="40" /&gt; // set the minimum expected actions in the AISG, minActions to skip set to -1

&lt;property name="minPages" value="30" /&gt; // set the minimum expected pages in the AISG, minPages to skip set to -1

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Mxrd3xvSwWpsrpQI-dad75603d80e.png)This would be used in the below ant tags.

- createBlueprint
- consumeBlueprint
- checkBlueprintResults
 
<div id="bkmrk-last-updated%3A-august">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">August 14, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# CI/CD: Optimize Disk Space on AIQ Controller and Test Nodes

## Reduce required hard drive size on Test Nodes

- Make sure you are using latest version available of AIQ. Previous of AIQ have known issues where temporary files were not always deleted in some circumstances.
- Do not install MySQL on a Test Nodes.
- Do not configure any repository on a Test Node.
- Setup your root folders that are used when running Bulk Scenarios so they contain only the required files.
    
    
    - Avoid storing anything that is not required to run a scenario in your repositories. This includes things like reports, images, historical data, etc. In particular, store any generated AISG executions (formerly known as Blueprints) in an AWS S3 type repository, which is more suited for big files than GIT repositories.
    - Consider organizing your assets in multiple root folders. For example if you have two different web apps , divide the test assets into two root folders, one for every web app. This might involve duplicating shared test assets.
 
## Reduced required hard drive size on the Controller

- Make sure you are using latest version available of AIQ. Previous of AIQ have known issues where temporary files were not always deleted in some circumstances.
- Do not install MySQL in the controller. A separate server should host the MySQL server.
- Avoid storing anything that is not required to run a scenario in your repositories. This includes things like reports, images, historical data, etc. In particular, store any generated AISG executions (formerly known as Blueprints) in an AWS S3 type repository, which is more suited for big files than GIT repositories.
- Consider organizing your assets in multiple root folders. For example if you have two different web apps, divide the test assets into two root folders, one for every web app. This might involve duplicating shared test assets.
- Make sure that your AIQ users only have the required repositories in their accounts.
- If your GIT repository size is too large, this might be because there are a lot of past commits stored in the GIT database to preserve history. This history can be removed by creating a new repository and copying the current files in your repository and then using this new repository in your AIQ repository configurations. Doing this can have a huge impact in reducing the space needed for storing the local copies of your repository on the Controller.
- When running CICD pipelines there is a mode where the pipeline will assume that the required test assets for the scenario are already present in a Controller configured repository. This prevents the CICD agent cloning the repository and then copying the root folder from the CICD agent to the Controller before starting the scenario. That process takes time and uses hard disk space on the Controller.
    
    To enable this mode you need to provide the full path, including the repository name of the scenario, in the `${scenario}` variable in the `build.xml` file.
    
    For example, assuming the AIQ user specified in the `controller.json` is `cicduser@example.com`, you must login with that user and configure the repository and annotate the name of the repository you specified when configuring it. If you named it as ‘MyRepo’ then assign the following value to your scenario parameter:
    
    <div class="codeSnippet"><div class="codeSnippetBody">```
    scenario=REPOSITORY/MyRepo/<path_to_scenario>/<scenario_file_name>
    ```
    
     </div> </div>
 
<div id="bkmrk-last-updated%3A-novemb">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">November 19, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# CI/CD FAQ for AIQ Integrations

1. How to add multiple scenarios to build.xml file to run them in series?
2. How to schedule jobs in GitLab.
3. How to schedule pipelines sequentially in GitLab.
4. what is the difference between these 2 files - creds.json and consoledetails.json?
 
## **How to add multiple scenarios to build.xml file to run them in series?** 

There is an option to run multiple scenarios using build.xml file, and they could be run in series or in parallel.

Below is one example of executeScenario ant snippet of multiple scenarios defined and running in Sequential.

We can run the defined 2 scenarios in parallel as well just by un-commenting the parallel tags that are commented.

Note: Make sure you make changes both in executeScenario and fetchScenarioResults definitions.

<div class="codeSnippet" id="bkmrk-copy-%3Ctarget-name%3D%22e">[Copy](javascript:void(0);)<div class="codeSnippetBody" data-mc-continue="False" data-mc-line-number-start="1" data-mc-use-line-numbers="False">```
<target name="executeScenario" depends="deps"><br></br><taskdef name="executeScenario" classname="com.appvance.ci.ExecuteScenario"><br></br><classpath refid="RestClientLibPath" /><br></br></taskdef><br></br><!-- <parallel>--><br></br><executeScenario aiqCreds="${aiqCreds}" dir="${dir}" scenario="AMS/Scenario1.scenario" consoleDetails="${consoleDetails}" resultsFolder="${scenarioResults}" /><br></br><executeScenario aiqCreds="${aiqCreds}" dir="${dir}" scenario="AMS/Scenario2.scenario" consoleDetails="${consoleDetails}" resultsFolder="${scenarioResults}" /><br></br><!--</parallel>--><br></br><taskdef name="fetchScenarioResults" classname="com.appvance.ci.FetchScenarioResults"><br></br><classpath refid="RestClientLibPath" /><br></br></taskdef><br></br><!-- <parallel>--><br></br><fetchScenarioResults aiqCreds="${aiqCreds}" consoleDetails="${consoleDetails}" resultsFolder="${scenarioResults}" scenario="AMS/Scenario1.scenario" stopOnFailure="${stopOnFailure}" /><br></br><fetchScenarioResults aiqCreds="${aiqCreds}" consoleDetails="${consoleDetails}" resultsFolder="${scenarioResults}" scenario="AMS/Scenario2.scenario" stopOnFailure="${stopOnFailure}" /><br></br><!-- </parallel>--><br></br></target><br></br>
```

 </div> </div>## **How to schedule jobs in GitLab** 

1. Go to your Project
2. Click CICD-&gt;Schedules
3. Click New Schedule
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/IShkc1kJhrUQKk4G-b0fb22cb29f2.png)
4. Provide a description
5. From the Cron Timezone select the Timezone user is familiar with
6. Enters the interval pattern i.e the schedule the user wants to run jobs on
7. Then click Save Pipeline
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/H0sfYevcbjy5mNWr-e8e7e8e93e8c.png)
8. Once you click save pipeline, the job will be scheduled
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/lpdRDkiEIMtQ5Jq2-4cb9e278dfd2.png)
 
## **How to schedule pipelines sequentially in GitLab** 

This Set up is useful when the subsequent project needs to be run after the first project

1. Copy the Trigger Token of the project that needs to be executed once the main pipeline is completed by navigating to Settings - &gt; CI/CD
    
    Copy the Trigger token
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FB4iJmhoSAR88Mcz-1fe8e94a388b.png)
2. In the Trigger page itself, the command to be added to the .yml will be given below
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/FhxXJUgfuzioX9y4-d26a10e2b7bb.png)
    
    Please replace TOKEN with Triggern token value
    
    Ref\_Name – refers to the branch which will be executed
3. Add the cURL in the .yml file and click run Pipeline
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/VTzZ7yx5P1h1s3bt-cd0c36f9e698.png)
 
## **What is the difference between these 2 files - creds.json and consoledetails.json?** 

consoledetails.json is written after running from instanceId (startNode)

creds.json has all the credentials to use existing ec2 consoledetails.json

<div class="codeSnippet" id="bkmrk-copy-%7B%22instanceid%22%3A%22">[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>"instanceId":"i-00d97858290605e2e",<br></br>"url":"http://ec2-xxx-xx-x.us-west-2.compute.amazonaws.com:8080/TMServer/ws/TestNode"}<br></br>creds.json<br></br>{<br></br>"controller": {<br></br>"url":"http://localhost:8080",<br></br>"ec2Creds": "ec2.creds",<br></br>"timeOut": 60,<br></br>"username":"appvance",<br></br>"password":"appvance",<br></br>"workFolder":"C:/Builds/Resources"<br></br>}<br></br>}<br></br>
```

 </div> </div><div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 28, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# SoapUI Integration

# SoapUI Integration with AIQ

## Recommended guidance

SoapUI integration should be treated as legacy or customer-specific unless it is actively required. For current API testing, prefer Service Suite when it can cover the same requests, assertions, data handling, and reporting.

## Integration review points

- SoapUI project location, version, plugins, dependencies, and execution host.
- Endpoint configuration, authentication, certificates, proxy, and firewall rules.
- Data sources, DPL mappings, assertions, and expected artifacts.
- Pass/fail mapping between SoapUI results and AIQ execution status.

## Maintenance guidance

1. Keep SoapUI assets in version control with clear ownership.
2. Do not store secrets inside project files or shared logs.
3. Run small validation tests before scheduled or high-volume execution.
4. Retire or consolidate redundant SoapUI content when Service Suite replaces it.

*Last updated: October 7, 2026*

# Run SoapUI as a Functional Test in AIQ

SoapUI support was removed in release 5.2.0 of AIQ.

1. Navigate to the Appvance IQ Home screen and click Build
2. Click File -&gt;New to create a new scenario
3. Select Functional Test from the Scenario Test Type drop-down
4. Click the Test Management tab and check: "Repeat scenario's test cases 1 time"
5. Click the Test Cases tab and click the link for Add test case link
6. Enter the Test case name and Script name
7. Select "Service Suite-SoapUI" from the Script Type drop-down
8. Click Browse and browse the Soap UI file and then the Test Suite and then the Test Case from the drop-down. Save the test case
9. Click the Locations tab
10. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode (Should be added by default)
11. Navigate to Resources and make sure the SoapUI bundle with version 5.2.1 is added by default
12. Also make sure the resources are added with Name, Type, and the correct path of the XML file
13. Navigate to Options and make sure that Enable logging, Save logs on Failure are selected
14. Click check box Custom Database Credentials (Database Logging) and make the following settings:
    
    Database Type: MySQL
    
    Driver: com.mysql.jdbc.Driver
    
    URL: jdbc:mysql://localhost:3306/utp?useSSL=false
    
    Default Schema: utp
    
    Username: utp
    
    Password: utp
15. Click File-&gt;Save to save the new scenario
16. Click Play Scenario from the top navigation bar
17. The controller window will open in a new tab which displays the tests running and will display the pass / fail status of the tests upon the test completion
18. The left part shows the steps and the duration in milliseconds and the right side shows the test run status under the Output tab
19. On The transactions tab, we can find the request/response and an error tab to drill down further
20. Click the Click here link to get to the list of Reports that Appvance IQ supports
 
<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 25, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Running SoapUI as a Performance Test

SoapUI support was removed in release 5.2.0 of AIQ.

1. Navigate to the Appvance IQ Home screen and click Build
2. Click File &gt;New to create a new scenario
3. Select Performance Test from the Scenario Test Type drop-down
4. Click the Test Management tab
5. Enter Iteration name, select Total Execution from the Completion Type drop-down, and enter Total Execution: 100
6. Click the Test Cases tab and click the link for Add test case execution
7. Enter the Test case name and Script name
8. Select "Service Suite-SoapUI" from the Script Type drop-down
9. Click Browse and browse the Soap UI XML file and then the Test Suite and then the Test Case from the drop-down
10. Save the test case
11. Enter 100 in the user box, Click Set (Run Time):
12. Ramp up 10 users every 10 seconds Maximum ramp-up time of 100 seconds and save the Run Time option
13. Click the Locations tab
14. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode (Should be selected by default)
15. Navigate to Resources and make sure SoapUI bundle with version 5.12 is added by default
16. Also make sure the resources are added with Name, Type, and the correct path of the XML file
17. Navigate to Options and make sure that Enable logging, Save logs on Failure are selected
18. Click check box Custom Database Credentials (Database Logging) and make the following settings:
    
    Database Type: MySQL
    
    Driver: com.mysql.jdbc.Driver
    
    URL: jdbc:mysql://localhost:3306/utp?useSSL=false
    
    Default Schema: utp
    
    Username: utp
    
    Password: utp
19. Click File &gt;Save to save the new scenario
20. Click Play Scenario from the top navigation bar
21. The controller window will open in a new tab which displays the tests running and will display the pass / fail status of the tests upon the test completion
22. The left part shows the steps and the duration in milliseconds and the right side shows the test run status under the Output tab
23. On The transactions tab, we can find the request/response and an error tab to drill down further
24. Click Click here link to get to the list of reports that Appvance IQ supports
 
<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 25, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# Running Data-enabled SoapUI Test

SoapUI support was removed in release 5.2.0 of AIQ.

Make sure the SoapUI project created has the properties defined and the request is data enabled properly as shown below in the screenshot.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/wo5tocmhMLJvjoex-ae0b75868c11.png)Save the project in SoapUI.

From Appvance IQ:

1. Navigate to the Appvance IQ Home screen and click Build
2. Click File -&gt;New to create a new scenario
3. Select Functional Test from the Scenario Test Type drop-down
4. Click the Test Management tab and check: "Repeat scenario's test cases 2 times"
5. Click the Test Cases tab and click the link for Add test case link
6. Enter the Test case name and Script name
7. Select "Service Suite-SoapUI" from the Script Type drop-down
8. Click Browse and browse the Soap UI file and then the Test Suite and then the Test Case from the drop-down. Save the test case
9. Click the Locations tab
10. 10\. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode (Should be added by default)
11. Navigate to Resources and make sure SoapUI bundle with version 5.2.1 is added by default
12. Also make sure the resources are added with Name, Type, and the correct path of the XML file
13. 13\. Go to the Resources tab, Click Add DPL, Select 'Hash DPL - Reads CSV, provides Map dictionary' from the Type drop-down, Provide Name (Important: Should be same as the property name provided in SoapUI), select the Data source (the CSV file with all the entries created)
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/8ZnKmOff83cstNsl-51ad2a8d6f7c.png)
14. Come back to the Test cases panel, click edit and click Add DPL, under Select DPL, select the DPL that we just added, provide the name (Important: Should be the same as the property name provided in SoapUI). Click Save
    
     ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/evBO4OwHVQoI935x-e60d4acdad19.png)
15. Navigate to Options and make sure that Enable logging, Save logs on Failure are selected
16. Click check box Custom Database Credentials (Database Logging) and make the following settings:
    
    Database Type: MySQL
    
    Driver: com.mysql.jdbc.Driver
    
    URL: jdbc:mysql://localhost:3306/utp?useSSL=false
    
    Default Schema: utp
    
    Username: utp
    
    Password: utp
17. Click File -&gt;Save to save the new scenario
18. Click Play Scenario from the top navigation bar
19. The controller window will open in a new tab which displays the tests running and will display the pass / fail status of the tests upon the test completion
20. The left part shows the steps and the duration in milliseconds and the right side shows the test run status under the Output tab
21. On The transactions tab, we can find the request/response and an error tab to drill down further
22. Click the Click here link to get to the list of Reports that Appvance IQ supports
 
<div id="bkmrk-last-updated%3A-july-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">July 25, 2024</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>

# How to query and validate Splunk logs in Service Suite

## Overview

The `<span class="editor-theme-code">splunk.js</span>` library provides a reusable integration layer between AIQ Service Suite and Splunk. It allows test scripts to query Splunk indexes using SPL (Search Processing Language), filter and retrieve log data, and assert on the results as part of a functional or end-to-end test validation flow.

Common use cases include:

- Asserting that an audit log event was written after a user action (e.g. login, purchase, payment)
- Validating specific field values in application logs (e.g. transaction status, HTTP response codes)
- Checking that no ERROR or FATAL log entries appeared after a critical scenario
- Waiting for async events to appear in Splunk before continuing a test
- Extracting values from Splunk and storing them in TheLocker for downstream test cases

**Prerequisite:**<span style="color:rgb(205,200,194);background-color:rgb(24,26,27);"> The </span>AIQ<span style="color:rgb(205,200,194);background-color:rgb(24,26,27);"> TestNode executing the script must have network access to the Splunk REST API on port </span>**8089**<span style="color:rgb(205,200,194);background-color:rgb(24,26,27);">. Verify security group / firewall rules before using this library.</span>

---

## Setup

#### 1. Add splunk.js to your repository  
  
splunk.js file: splunk.js 

Upload `<span class="editor-theme-code">splunk.js</span>` to your scenario repository. A recommended location is a shared folder so it can be reused across multiple scenarios:

your-repo/  
 shared/  
 splunk.js &lt;-- place it here  
 scenarios/  
 checkout-flow/  
 setup.js  
 script1.js

### 2. Configure DPL variables

Never hardcode Splunk credentials in scripts. Add the following variables to your DPL (Data Provider Library) or scenario data file:

<table id="bkmrk-dpl-variabledescript" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">DPL Variable

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Description

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Example

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">SPLUNK_HOST</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Hostname or IP of the Splunk instance

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.internal.mycompany.com</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">SPLUNK_TOKEN</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Splunk service account Bearer token

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">eyJrIjoiT...</span>`

</td></tr></tbody></table>

To generate a Bearer token in Splunk: **Settings → Tokens → New Token**. Use a dedicated service account, not a personal user.

<span style="color:rgb(205,200,194);background-color:rgb(24,26,27);">Do not commit credentials to the repository. Always use DPL variables or TheLocker for sensitive values.</span>

### 3. Include the library in your script

Use the Service Suite `<span class="editor-theme-code">include</span>` directive at the top of any script that needs Splunk access. The `<span class="editor-theme-code">{ds}</span>` token resolves to the root of your scenario's data source directory at runtime:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`

---

## Initialization

Call `<span class="editor-theme-code">splunk.init()</span>` once at the beginning of each script before making any queries:

`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">            $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code">    </span>`*`<em class="editor-theme-code editor-theme-italic">// DPL variable</em>`*  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">port</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">            </span>``<span class="editor-theme-code">8089</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">           $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code">   </span>`*`<em class="editor-theme-code editor-theme-italic">// DPL variable</em>`*  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">defaultIndex</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">    </span>``<span class="editor-theme-code">'app_logs'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code">      </span>`*`<em class="editor-theme-code editor-theme-italic">// used when no index is specified in SPL</em>`*  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">defaultEarliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-15m'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code">          </span>`*`<em class="editor-theme-code editor-theme-italic">// default look-back window for all searches</em>`*  
`<span class="editor-theme-code">});</span>`

### Full init options

<table id="bkmrk-optiondefaultdescrip" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Option

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Default

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Description

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">host</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">localhost</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Splunk hostname or IP

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">port</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">8089</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Splunk REST API port

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">scheme</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">https</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">https</span>` or `<span class="editor-theme-code">http</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">token</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">null</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Bearer token (preferred auth method)

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">username</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">null</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Basic auth username (alternative to token)

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">password</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">null</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Basic auth password (alternative to token)

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">defaultIndex</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">main</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fallback Splunk index

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">defaultEarliest</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">-15m</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Default time window start

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">defaultLatest</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">now</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Default time window end

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">defaultCount</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">1000</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Max rows returned per search

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">pollIntervalMs</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">2000</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">How often to poll for job completion (ms)

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">maxPollAttempts</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">30</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Max poll attempts before timeout (30 × 2s = 60s)

</td></tr></tbody></table>

---

## How HTTP calls work internally

The library uses native Service Suite HTTP commands throughout. No browser-style `<span class="editor-theme-code">fetch</span>` or external modules are used.

<table id="bkmrk-operationservice-sui" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Operation

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Service Suite command used

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Submit search job

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">createPost(url, body, "application/x-www-form-urlencoded")</span>` + `<span class="editor-theme-code">process(call)</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Poll job status

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">createGet(url)</span>` + `<span class="editor-theme-code">process(call)</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fetch results

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">createGet(url)</span>` + `<span class="editor-theme-code">process(call)</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Per-request auth header

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">call.addHeader("Authorization", "Bearer ...")</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Read response body

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">resp.toStringContent()</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Read HTTP status code

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">resp.status</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Sleep between polls

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">java.lang.Thread.sleep(ms)</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Base64 encode (Basic auth)

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Java.type("java.util.Base64").getEncoder().encodeToString(...)</span>`

</td></tr></tbody></table>

---

## API Reference

### Query methods

<table id="bkmrk-methodreturnsdescrip" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Method

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Returns

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Description

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.search(spl, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Array</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Run any SPL query and return all result rows

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.searchOne(spl, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Object|null</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Return only the first result row, or null if none

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.count(spl, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Number</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Return the number of matching events

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.getField(spl, field, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">String</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Return a single field value from the first row

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.getFields(spl, fields[], opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Object</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Return multiple field values from the first row

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.getAllValues(spl, field, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Array</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Return one field's value across all rows

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.waitForEvent(spl, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">Array</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Poll until at least one matching event appears

</td></tr></tbody></table>

All query methods accept an optional `<span class="editor-theme-code">opts</span>` object: `<span class="editor-theme-code">{ earliest, latest, count }</span>`. `<span class="editor-theme-code">waitForEvent</span>` also accepts `<span class="editor-theme-code">pollMs</span>` and `<span class="editor-theme-code">maxAttempts</span>`.

### Assertion methods

<table id="bkmrk-methoddescriptionspl" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Method

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Description

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.assertCount(rows, n, msg)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fails if row count ≠ n

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.assertAtLeast(rows, n, msg)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fails if fewer than n rows returned

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.assertFieldEquals(rows, field, value, msg)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fails if the field on row\[0\] ≠ expected value

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.assertFieldContains(rows, field, substring, msg)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fails if the field on row\[0\] does not contain the substring

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.assertNoErrors(index, earliest, msg)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Fails if any ERROR or FATAL entries exist in the time window

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.assertEventOccurred(spl, msg, opts)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Combined search + assertAtLeast(1) in one call

</td></tr></tbody></table>

### Utility methods

<table id="bkmrk-methoddescriptionspl-1" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Method

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Description

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">splunk.storeResult(rows, field, lockerKey)</span>`

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Store a field value from row\[0\] into TheLocker for downstream scripts via `<span class="editor-theme-code">_retrieve(lockerKey)</span>`

</td></tr></tbody></table>

---

## Usage Examples

### Example 1 — Assert a login audit event was written

After executing a login API call, verify that Splunk captured the corresponding audit entry:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">         $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">        $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">defaultIndex</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'audit'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> testUser </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">TEST_USERNAME</span>``<span class="editor-theme-code">;</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.assertEventOccurred(</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'index=audit action=login userId="'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> testUser </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'" result=SUCCESS'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'Login audit event must appear in Splunk after successful authentication'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">{</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">earliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-5m'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ Login audit event confirmed in Splunk'</span>``<span class="editor-theme-code">);</span>`

### Example 2 — Validate field values on a specific transaction

Retrieve a transaction log by its ID and assert that its status and currency fields are correct:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">  $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> txnId </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">_retrieve(</span>``<span class="editor-theme-code">'LAST_TXN_ID'</span>``<span class="editor-theme-code">);</span>``<span class="editor-theme-code">  </span>`*`<em class="editor-theme-code editor-theme-italic">// value stored by an upstream test case</em>`*  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> rows </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> splunk</span>``<span class="editor-theme-code">.search(</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'index=payments txnId="'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> txnId </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'" | head 1'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">{</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">earliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-10m'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.assertAtLeast(</span>``<span class="editor-theme-code">rows</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">1</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'Transaction '</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> txnId </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">' must appear in Splunk'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.assertFieldEquals(</span>``<span class="editor-theme-code">rows</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'status'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code">   </span>``<span class="editor-theme-code">'APPROVED'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'Transaction must be APPROVED'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.assertFieldEquals(</span>``<span class="editor-theme-code">rows</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'currency'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'USD'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code">      </span>``<span class="editor-theme-code">'Currency must be USD'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ Transaction '</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> txnId </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">' validated — status=APPROVED, currency=USD'</span>``<span class="editor-theme-code">);</span>`

### Example 3 — No-error assertion after a critical flow

After running a checkout scenario, assert that no ERROR or FATAL entries were written to the application log index during the test window:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">         $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">        $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">defaultIndex</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'app_logs'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.assertNoErrors(</span>``<span class="editor-theme-code">'app_logs'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-10m'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'No ERROR or FATAL log entries expected after checkout flow'</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ No errors found in Splunk after checkout flow'</span>``<span class="editor-theme-code">);</span>`

### Example 4 — Wait for an async event

Some flows write to Splunk with a delay (e.g. payment processors, message queues). Use `<span class="editor-theme-code">waitForEvent</span>` to poll rather than failing immediately:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">  $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> txnId </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">_retrieve(</span>``<span class="editor-theme-code">'LAST_TXN_ID'</span>``<span class="editor-theme-code">);</span>`  
*`<em class="editor-theme-code editor-theme-italic">// Poll every 3 seconds, up to 10 times (30s total)</em>`*  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> rows </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> splunk</span>``<span class="editor-theme-code">.waitForEvent(</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'index=payments event=PAYMENT_CONFIRMED txnId="'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> txnId </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'"'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">earliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">    </span>``<span class="editor-theme-code">'-5m'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">pollMs</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">      </span>``<span class="editor-theme-code">3000</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">    </span>``<span class="editor-theme-code">maxAttempts</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">10</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.assertFieldEquals(</span>``<span class="editor-theme-code">rows</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'processorCode'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'00'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'Processor must return approval code 00'</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ Async payment confirmation found in Splunk'</span>``<span class="editor-theme-code">);</span>`

### Example 5 — Extract a value and store it in TheLocker

Retrieve a generated value from Splunk and make it available to downstream test cases:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">  $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> testUser </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">TEST_USERNAME</span>``<span class="editor-theme-code">;</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> rows </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> splunk</span>``<span class="editor-theme-code">.search(</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'index=sessions userId="'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> testUser </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'" | sort -_time | head 1'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">{</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">earliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-5m'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.storeResult(</span>``<span class="editor-theme-code">rows</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'sessionId'</span>``<span class="editor-theme-code">,</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'SPLUNK_SESSION_ID'</span>``<span class="editor-theme-code">);</span>`  
*`<em class="editor-theme-code editor-theme-italic">// Downstream scripts: var sid = _retrieve('SPLUNK_SESSION_ID');</em>`*  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ Session ID extracted from Splunk and stored in TheLocker'</span>``<span class="editor-theme-code">);</span>`

### Example 6 — SPL aggregation: validate counts across all hosts

Use a `<span class="editor-theme-code">| stats</span>` pipe to check that no host served 5xx errors on a specific endpoint:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">  $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> rows </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> splunk</span>``<span class="editor-theme-code">.search(</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'index=api endpoint="/checkout" | stats count(eval(status>=500)) as server_errors by host | where server_errors=0'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">{</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">earliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-30m'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ '</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> rows</span>``<span class="editor-theme-code">.</span>``<span class="editor-theme-code">length</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">' host(s) had zero 5xx errors on /checkout in the last 30 minutes'</span>``<span class="editor-theme-code">);</span>`

### Example 7 — getAllValues: check for unexpected HTTP status codes

Retrieve all HTTP status codes from recent API calls and fail if any 5xx appears:

/\*\*  
*`<em class="editor-theme-code editor-theme-italic"> * @aiq</em>`*.servicesworkbench  
*`<em class="editor-theme-code editor-theme-italic"> */</em>`*  
`<span class="editor-theme-code">include(</span>``<span class="editor-theme-code">'{ds}/shared/splunk.js'</span>``<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">splunk</span>``<span class="editor-theme-code">.init({</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">host</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code">  $</span>``<span class="editor-theme-code">SPLUNK_HOST</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">token</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> $</span>``<span class="editor-theme-code">SPLUNK_TOKEN</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> statuses </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> splunk</span>``<span class="editor-theme-code">.getAllValues(</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'index=api endpoint="/api/order" | head 200'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'status'</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">{</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">earliest</span>``<span class="editor-theme-code">:</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">'-5m'</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">}</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">var</span>``<span class="editor-theme-code"> badStatuses </span>``<span class="editor-theme-code">=</span>``<span class="editor-theme-code"> statuses</span>``<span class="editor-theme-code">.filter(</span>``<span class="editor-theme-code">function</span>``<span class="editor-theme-code">(</span>``<span class="editor-theme-code">s</span>``<span class="editor-theme-code">)</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">{</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">return</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">parseInt(</span>``<span class="editor-theme-code">s</span>``<span class="editor-theme-code">)</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">>=</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">500</span>``<span class="editor-theme-code">;</span>`  
`<span class="editor-theme-code">});</span>`  
`<span class="editor-theme-code">assert(</span>``<span class="editor-theme-code">badStatuses</span>``<span class="editor-theme-code">.</span>``<span class="editor-theme-code">length</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">===</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">0</span>``<span class="editor-theme-code">,</span>`  
`<span class="editor-theme-code">  </span>``<span class="editor-theme-code">'Found '</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> badStatuses</span>``<span class="editor-theme-code">.</span>``<span class="editor-theme-code">length</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">' 5xx response(s) on /api/order: '</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> badStatuses</span>``<span class="editor-theme-code">.join(</span>``<span class="editor-theme-code">', '</span>``<span class="editor-theme-code">)</span>`  
`<span class="editor-theme-code">);</span>`  
`<span class="editor-theme-code">log(</span>``<span class="editor-theme-code">'✓ All '</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> statuses</span>``<span class="editor-theme-code">.</span>``<span class="editor-theme-code">length</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">+</span>``<span class="editor-theme-code"> </span>``<span class="editor-theme-code">' /api/order responses were below 500'</span>``<span class="editor-theme-code">);</span>`

---

## Error handling

All library methods throw a descriptive error on failure. These surface directly in the AIQ test report with context including the HTTP status code, Splunk SID, field name, or assertion mismatch. No additional `<span class="editor-theme-code">try/catch</span>` is required — let errors propagate so the scenario fails with a clear message.

---

## Common issues

<table id="bkmrk-symptomlikely-causef" style="border:0.666667px solid rgb(57,62,64);margin:24px 0px 0px;border-collapse:collapse;width:760px;table-layout:fixed;font-size:1em;height:1px;"><colgroup><col></col><col></col><col></col></colgroup><tbody><tr style="height:46.75px;"><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Symptom

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Likely cause

</th><th class="align-left" style="background-color:rgb(32,35,36);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:0px;text-align:left;vertical-align:top;min-width:48px;font-weight:400;">Fix

</th></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">HTTP 401 on job creation

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Invalid or expired token

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Regenerate the token in Splunk Settings → Tokens

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Connection refused / timeout

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">TestNode cannot reach Splunk port 8089

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Check EC2 security groups and firewall rules

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">`<span class="editor-theme-code">assertAtLeast</span>` fails even though event exists

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Log ingestion lag — event not yet indexed

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Use `<span class="editor-theme-code">splunk.waitForEvent()</span>` instead of `<span class="editor-theme-code">splunk.search()</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Search times out

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Broad query or slow Splunk cluster

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Narrow the SPL time window or add more filters; increase `<span class="editor-theme-code">maxPollAttempts</span>`

</td></tr><tr><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Field not found error

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Field name differs from what Splunk extracts

</td><td class="align-left" style="background-color:rgb(24,26,27);border-width:0.666667px 0px 0px 0.666667px;border-style:solid;border-color:rgb(221,222,225);padding:8px;text-align:left;min-width:48px;font-weight:400;vertical-align:top;">Run the same SPL in the Splunk UI and verify field names in the results table

</td></tr></tbody></table>

---

## Best practices

- **Always use DPL variables** for `<span class="editor-theme-code">SPLUNK_HOST</span>` and `<span class="editor-theme-code">SPLUNK_TOKEN</span>`. Never hardcode connection details in scripts.
- **Keep time windows short** (e.g. `<span class="editor-theme-code">-5m</span>` or `<span class="editor-theme-code">-10m</span>`) to keep searches fast and assertions specific to the current test run.
- **Use** `<span class="editor-theme-code">| head N</span>` in SPL to cap result sizes when you only need a few rows.
- **Prefer** `<span class="editor-theme-code">waitForEvent</span>` over a fixed sleep for async flows — it stops as soon as the event appears.
- **Use** `<span class="editor-theme-code">assertNoErrors</span>` as a blanket post-scenario health check in addition to specific field assertions.
- **Use** `<span class="editor-theme-code">storeResult</span>` to pass Splunk values into TheLocker rather than re-querying Splunk in every downstream script.
- **Call** `<span class="editor-theme-code">splunk.init()</span>` **once per script** at the top, before any other `<span class="editor-theme-code">splunk.*</span>` call.

# Integration with Datadog (APM)

Datadog is a supported third-party APM integration with AIQ. Datadog is an observability service for cloud-scale applications, providing monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform.

## Datadog Setup

1. Login to your Datadog Dashboard at: [https://app.datadoghq.com/dashboard/](https://app.datadoghq.com/dashboard/ "https://app.datadoghq.com/dashboard/")
2. Sign in with your credentials.
3. Navigate to a dashboard that you want to integrate with AIQ and select the duration range using the **Unix timestamps** option as in   
      
    [![image.png](https://docs.appvance.net/uploads/images/gallery/2026-08/scaled-1680-/VCiMGI7zkOLY19TB-image.png)](https://docs.appvance.net/uploads/images/gallery/2026-08/VCiMGI7zkOLY19TB-image.png)  
     4. Copy the URL of the dashboard.

## AIQ Setup

1. Open AIQ.
2. Navigate to **Global Options** &gt; **Preferences** &gt; **APM Integrations.**
3. Select Datadog in the dropdown.
4. Paste the URL of your DataDog Dashboard in the URL field.
5. Create a name for the integration.
6. Set the time to analyze along the execution. For example, 10 minutes will analyze 5 minutes before and 5 minutes after of a point selected in the execution.
7. Click **Save** button.
8. Confirm the integration is saved in the dropdown at the top left corner.

## Test the Integration

1. Log in to AIQ and go to the reports section. Look for a past scenario with logged detailed executions.
2. Click Analyze link and select the **Testcase Executions** report in the drop down.[![image.png](https://docs.appvance.net/uploads/images/gallery/2026-08/scaled-1680-/Vrsc8MacfFtFMUCa-image.png)](https://docs.appvance.net/uploads/images/gallery/2026-08/Vrsc8MacfFtFMUCa-image.png)
3. Click on one of the triangles in the graph to show the details of that execution. Remember the time that is shown.   
    Example: Datadog execution details at 4:11:59 PM.  
    [![image.png](https://docs.appvance.net/uploads/images/gallery/2026-08/scaled-1680-/duGZvSbXeQp0LYeK-image.png)](https://docs.appvance.net/uploads/images/gallery/2026-08/duGZvSbXeQp0LYeK-image.png)
4. Below the graph you will find a button with a label matching the name you gave to the APM integration. When you click this button it will open a new window with the DataDog report between the time specified in the APM integration settings.  
    Example: 10 minutes, should show the report between 4:06pm and 4:16pm.  
    [![image.png](https://docs.appvance.net/uploads/images/gallery/2026-08/scaled-1680-/qJWRhW9hhDwy0MUS-image.png)](https://docs.appvance.net/uploads/images/gallery/2026-08/qJWRhW9hhDwy0MUS-image.png)