Evaluation Guides
- AIQ Evaluation Guides
- Working with Test Designer
- Work with TestNG Scripts in AIQ
- Running SoapUI Scripts as a Functional Test
- Running SoapUI scripts as a Performance test
- Run JMeter Scripts as Functional Tests in AIQ
- Run JMeter Scripts as Performance Tests in AIQ
- Work with HAR Scripts in AIQ
- Record a Scenario Editor Test
- Legacy Functional Scenario Creation Reference
- Legacy Performance Scenario Creation Reference
- Legacy App Pen Scenario Creation Reference
AIQ Evaluation Guides
Learn how to use Appvance Test Designer, a powerful code-free scripting environment, to load test a web application.
Learn how to use TestNG scripts to load test a web application
Running SoapUI Scripts as a Functional Test
Learn how to run SoapUI scripts from Appvance IQ to conduct a Functional Test
SoapUI support was removed in release 5.2.0 of AIQ.
Running SoapUI scripts as a Performance test
Learn how to run SoapUI scripts from Appvance IQ to conduct a Performance Test
Running SoapUI Scripts as a Functional Test
Learn how to run the JMeter scripts from Appvance IQ to perform a Unit test
Running JMeter scripts as a Performance test
Learn how to run the JMeter scripts from Appvance IQ to perform a Performance test
Learn how to use HAR scripts to load test a web application
Last updated: July 25, 2024
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Working with Test Designer
Appvance Designer is a powerful code-free scripting environment that is included in Appvance IQ. In this lesson, you will learn how to use Test Designer Scripts (DS3) to load test a web application.
Pre-Requisite
This guide assumes you successfully completed Recording a Appvance Designer Script from Designer 3.0 or have a working Designer script.
About Appvance Designer Scripts
Designer scripts are captured using Appvance Test Designer, and easy and straightforward to modify, modularize and data-drive.
Designer Exercise 1
- Go to your Appvance IQ URL and login
- Select Build and click Scenario Editor
- Select File and click New
A new scenario appears with the Info tab selected, displaying the Scenario Test Type options. You will configure the scenario by selecting multiple tabs along the left, and supplying the requested information. - Click Please select a Test Type and select Functional Test
- Select the Test Management tab
For this example, we will only run the functional test case one time. Use this section in the future to indicate how many times to repeat each test case, as well as how many concurrent users you wish to allow. - Select the Test Cases tab
The Test Case tab allows you to define test cases to run for each iteration. If we had indicated to repeat the scenario more than once, an equivalent number of iterations would exist. - Click Add a Test Case Execution
Test Cases are a collection of one or more scripts, executed sequentially in the order you define. Any of the supported Script Types can be used together in a single Test Case. Scripts can also use, or share data (DPL) and browser sessions (Instances). Continue following our evaluation guides to learn more. - Enter a name in the Test Case Name box
- Enter a name in the Script Name box
Many times, test cases are a collection of scripts, where the test case name is different than a single script's name. We'll use only one script in this example, making the name potentially appear redundant. - Click the Script Type box and select Appvance Test Designer Script 3.0
- In the Resource box, click Browse
The Open window displays access to the Appvance IQ Server file system as well as any source control repositories configured in your user's Global Settings. - Select your Designer script containing the *.ds file extension and click Open
- Click the Browser box and select the browser the scenario should use to run the script
- Click Save
- Select File and click Save
The Save window display the same access to the Appvance IQ Server file system as well as your connected source control repositories. - Select a location to save the scenario, enter a name in the File Name box and click Save
Your scenario is ready to run. Remember, your scenario runs on the indicated test node, which for evaluations is most commonly the same location as the Appvance UTP Controller. You will not visually witness the test execute, as it is executing on the test node, with a physical browser. You can however monitor results live and post execution. - Click Play Scenario
- The scenario displays the live execution results
- Once the execution completes, click Output and select Click here
You can return to past executions by going to Analyze and selecting any prior execution
Similarly, you can click Play, and open a currently running execution, run or edit the scenario
Designer Exercise2
- Open Appvance IQ and login.
- Click Build.
- Select File > Open
- Navigate to the Designer_example/Spree directory in the training examples.
- Select spree_performance.scenario, and click Open.The Scenario Test Type is Performance Test
- Select Test Management. Repeat scenario's test case is set to 1
- Here you'll notice the Test Case is set to run with 2 users and 1 execution. This means two browser windows will open as separate users.
- Click the pencil icon to edit the Test Case.The Script Type is set to Appvance Designer Script, and the test case Resource points to the spree_test.ds file located in the Designer_example/Spree directory. Additionally, here we have a Data Production Library (DPL) called 'Users' which is a CSV file containing a list of users the test will use to login to the Spree site.
- Click 'Cancel'
- Select 'Resources 'All resources related to the Scenario are summarized, including the test case and CSV called Testusers.csv for data driving at the bottom. This is the file containing the aforementioned users.
- Click Play Scenario to execute the scenario.
- The Scenario loads in new browser windows (two this time as two users) and executes the interactions recorded in the designer script.
- Execution completion is indicated with Execution Done at the top.
- Click Output, then Click Here at the bottom to see the reports generated.
Last updated: June 02, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Work with TestNG Scripts in AIQ
In this lesson, you will learn how to use TestNG scripts to load test a web application.
About TestNG
TestNG is a testing framework used most often in Unit Testing. For more information about TestNG, visit >http://testng.org/.
TestNG Exercise
- Open Appvance IQ.
- Click Build.
- Click Scenario Editor.
- Select File > New.
- The Scenario Test Type is Unit Test.
Select Test Management.
The scenario test cases are specified to repeat 1 time.
Select Test Cases.
- From theTest Casestab, clickAdd a Test Case Execution.
- Enter a name for the test case in theTest Case Namebox.
- Enter a name for the script in theScript Namebox.
- Click theScript Typebox and selectTestNG.
5. Click Browse(to the right of the Resource box)
The Open window appears
The Script Type is set to TestNG, and the test case Resource points to the JAR file located in the respective TestNG directory.
A class from within the jar file (packagename.classname) is specified.
As the test is data enabled, a data connection, described later in this exercise in more detail, is specified, as well as how to use the data (Get Next Row of Data).
- Click Cancel.
- Select Resources.
All resources related to the Scenario are summarized, including the test case specified in Test Cases. Most notably, the Data Sources contains a connection to data, used in the TestNG test case, using a query to a SQL database.
- Click Play Scenario to execute the scenario.
- The Scenario loads in a new browser tab.
- As the scenario executes, details pertaining to the execution display in Live Reports.
- Once the execution completes, indicating a status of Execution Done, select Test case Executions.
- Select individual executions listed to view additional detail pertaining to the success or failure of the execution.
Last updated: August 02, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Running SoapUI Scripts as a Functional Test
SoapUI support was removed in release 5.2.0 of AIQ.
Appvance IQ is a platform that supports to run SoapUI scripts. Here are the steps that we need to follow to run the SoapUI scripts from Appvance IQ.
-
From the Appvance IQ Home screen and click Build a Scenario or open the Scenario Editor from the navigation tree.
-
Click File > New to create a new scenario.
-
Select Functional Test from the Scenario Test Type dropdown.
-
Click the Test Management tab and check: "Repeat scenario's test cases 1 time".
-
Click Test Cases tab and click the link for Add test case execution.
-
Enter Test case name and Script name.
-
Select SoapUI from Script Type dropdown.
-
Click Browse and browse the Soap UI file and then the Test Suite and then the Test Case.
-
Save the test case.
-
Click Locations tab.
-
Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode
-
Navigate to Resources and make sure SoapUI bundle with version 5.2.1 added by default.
-
Also make sure the resources are added with Name, Type and the correct path of the xml file.
-
Navigate to Options and make sure that Enable logging, Safe logs on Failure are selected.
-
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
-
Click File->Save to save new scenario.
-
Click Play Scenario from the top navigation bar.
-
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.
-
Left part shows the steps and the duration in milliseconds and right side shows the test run status under Output tab.
-
On the Transactions tab we can find the request/response and an error tab to drill down further.
-
Click Click here link to get to the list of Reports that Appvance IQ supports.
Last updated: July 25, 2024
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Running SoapUI scripts as a Performance test
Appvance IQ is a platform that supports to run SoapUI scripts. Here are the steps that we need to follow to run the SoapUI scripts from Appvance IQ.
SoapUI support was removed in release 5.2.0 of AIQ.
SoapUI Performance test
9. Click Browse and browse the Soap UI file and then the Test Suite and then the Test Case. Save the test case.
10. Browse the SoapUI script the xml file and save the test case.
11. Enter 100 in User box. Click Set (Run Time):
12. Ramp up 10 users every 10 second Maximum ramp up time 100 second and save Run Time option.
13. Click Locations tab.
14. Enter Name: localhost and URL:http://localhost:8080/TMServer/ws/TestNode (Should be added by default).
16. Also make sure the resources are added with Name, Type and the correct path of the jmx file.
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 >Save to save new scenario.
20. Click Play Scenario from the top navigation bar.
21. 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. Left part shows the steps and the duration in milliseconds and right side shows the test run status under 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.
Last updated: July 25, 2024
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Run JMeter Scripts as Functional Tests in AIQ
Appvance IQ is a platform that supports to run JMeter scripts. Here are the steps that we need to follow to run the JMeter scripts from Appvance IQ.
8. Click Browse and browse the JMeter file. Save the test case.
9. Click Locations tab.
10. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode
12. Also make sure the resources are added with Name, Type and the correct path of the jmx file.
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 >Save to save new scenario.
16. Click Play Scenario from the top navigation bar.
17. 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. Left part shows the steps and the duration in milliseconds and right side shows the test run status under Output tab.
19. On The transactions tab we can find the request/response and an error tab to drill down further.
20. Click Click here link to get to the list of Reports that Appvance IQ supports.
Last updated: July 28, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Run JMeter Scripts as Performance Tests in AIQ
Appvance IQ is a system that supports running JMeter scripts. Here are the steps that we need to follow to run the JMeter scripts from Appvance IQ.
9. Click Browse and Browse the respective JMeter Script and save the test case.
10. Enter 100 in User box. Click Set (Run Time):
11. Ramp up 10 users every 10 second Maximum ramp up time 100 second and save Run Time option.
12. Click Locations tab.
13. Enter Name: localhost and URL: http://localhost:8080/TMServer/ws/TestNode
15. Also make sure the resources are added with Name, Type and the correct path of the jmx file.
17. Click check box Custom Database Credentials (Database Logging) and use 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
18. Click File >Save to save new scenario.
19. Click Play Scenario from the top navigation bar.
20. 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.
21. Left part shows the steps and the duration in milliseconds and right side shows the test run status under Output tab.
22. On The transactions tab we can find the request/response and an error tab to drill down further.
23. Click Click here link to get to the list of Reports that Appvance IQ supports.
Last updated: July 28, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Work with HAR Scripts in AIQ
In this lesson you will learn how to use HAR scripts to load test a web application.
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.
How to Generate HAR File
- Open Appvance IQ in your favourite Browser
- Click Global Options.
- Click HTTP Proxy.
- Enter the Mark Step Name.
- Enter the Port number 9095 in the Text Box.(HTTP Proxy Port)
- Click Mark Step.
- Click Start Proxy.
- Open the Firefox browser, click Options → Advanced → Network → Settings
- Click Radio Button Manual proxy Configuration, Provide HTTP Proxy as "localhost" (If you are using client installer you need to provide domain name EX: ec2.xxxx.aws.com) and provide the same HTTP Proxy port and Click Ok.
- Provide some website in Firefox browser which you are going to record as HAR file.
- Verify in chrome browser all the requests are getting captured of that application.
- Click Download HAR Log.
- Click Stop Proxy.
HAR Exercise
- Open Appvance IQ.
- Click Build.
- Select File > New.
The Scenario Test Type is Load Test in Info tab.
Select Test Management.
- Iteration1's Completion Type is specified as Executions Per User, with a Max execution time of two minutes.
Select Test Cases.
- From theTest Casestab, clickAdd a Test Case Execution
- Enter a name for the test case in theTest Case Namebox
- Enter a name for the script in theScript Namebox
- Click theScript Typebox and selectHAR
5. ClickBrowse(to the right of the Resource box)
The Open window appears
Iteration1 contains one Test Case, Spree HAR, where the number of Users and Executions to run are specified.
- Click Edit Test Case (pencil icon).
The Script Type is set to HAR, and the test case Resource points to the spreeHAR.har file located in the HAR_example directory.
- Click Cancel.
- Select Resources.
All resources related to the Scenario are summarized, including the test case specified in Test Cases.
- Click Play Scenario to execute the scenario.
- The Scenario loads in a new browser tab.
- As the scenario executes, metrics pertaining to the execution display in Live Reports
- Once the execution completes, indicating a status of Execution Done, select Output and the Click here (within the Output details).
- Select Resource Correlation and/or Resource Usage.
Additional reports listed reveal more information about the scenario executed.
How to convert DS file to HAR:
- Open Appvance IQ.
- Navigate to DS record page.
- Open the DS file in Designer.
- Click Http History.
- Select Start Recording from Action Drop down.
- Navigate to Designer page.
- Run the Designer script.
- Once it is completed, navigate to DS3 HTTP History and click Export as HAR from File drop down.
- It saves as ZIP file
- Unzip the file to get the HAR file.
Last updated: August 03, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Record a Scenario Editor Test
Prerequisite
The Appvance Test Designer Setup must be complete before continuing
Recording your first Appvance Test Designer script
Before starting, make sure you have your Appvance IQ URL, user name and password available.
6. To successfully record each step, it is necessary to wait until DS3 IDE shows Recording as shown below.
7. After performing the steps you wish to record, return toDS3 Recorderand clickStop.
8. SelectFile→ Save
TheSavewindow appears, displaying the Appvance Test Designer controller file system; not the local machine.
9. Browse to the desired directory, enter a name for the script in theFileNamebox and clickSave
10. To playback from DS3 IDE, clickPlay and select the browser.
Last updated: June 26, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Legacy Functional Scenario Creation Reference
Pre-Requisite
Evaluation Guide: Recording a Appvance Designer Script from Designer 3.0
DB Connection should be tested successfully in Results page.(Global Options → Preferences → Results tab → Click Enabled Checkbox → Click Accept → Connection Status should be Successful)
Creating your first Functional Scenario
Last updated: October 25, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Legacy Performance Scenario Creation Reference
Pre-Requisite
Evaluation Guide: Recording a Appvance Designer Script from Designer 3.0
DB Connection should be tested successfully in Results page.(Global Options → Preferences → Results tab → Click Enabled Checkbox → Click Accept → Connection Status should be Successful)
reating your first Performance Scenario
Last updated: October 25, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Legacy App Pen Scenario Creation Reference
Pre-Requisite
Evaluation Guide:Recording a Appvance Designer Script from Designer 3.0
DB Connection should be tested successfully in Results page.(Logged in as Admin → Global Options → Admin Options → Results tab → Click Enabled Checkbox → Click Accept → Connection Status should be Successful)
Creating your first App Pen Scenario
Last updated: October 25, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai