Windows Installation Guide for AIQ (GraalVM 11 Based)
This is a step-by-step guide for installing and configuring Appvance IQ on Windows.
- Installation Prerequisites
- Anti-Virus Settings
- Install and Configure GraalVM 11
- Download AIQ
- Installing and Configuring MySQL 8 Database (Windows)
- Runing Appvance IQ on Windows as a Service
- Installing License and Certificate
- Useful Utilities for AIQ Administration
- Use getCssValue in Scenario Editor Scripts
Installation Prerequisites
Install Preparation Checklist
Please ensure all preparation checklist items are completed and verified prior to install.
Your Appvance contact is always available and more than willing to help with any questions or issues. We recommend confirming the check list at least one business day prior to your scheduled install date, or more depending on your corporate timeframes for resolving permission issues.
Summary Install Preparation Checklist
After you have read the prerequisites, proceed to the next step: Anti-Virus Settings
Anti-Virus Settings
The Appvance IQ installation package is sizable and the vast majority of the contents will never change between installations or upgrades. Because of this, you can exclude the AIQinstallation folder the from the scheduled daily / weekly / monthly scans. Doing so will reduce the time and resources devoted to these scans. Also if these folders are not excluded, you may see some unexpected behavior in AIQ.
For example, this may impact scenario executions, specially on DS and DS3 engines that write many temporary files for requests and responses.
Following are some of the top Anti-virus programs from which the files and folders of Appvance IQ should be excluded:
- AVG Anti-virus
- Avast Anti-virus
- Kasperskey Anti-virus
- McAfee Virus Scan
- Norton Anti-virus
- Symantec Endpoint protection
- Windows Defender
See McAfee slows down Appvance IQ (Windows) for specific recommendations for McAfee.
After you have configured your anti-virus software, proceed to the next step: Install and Configure GraalVM 11
Install and Configure GraalVM 11
Appvance requires GraalVM 11 to be installed on the controller machine in order to run Appvance IQ. GraalVM is a JDK (Java Development Kit) that is designed to accelerate the execution of applications written in Java and other JVM languages.
For instructions on installing GraakVM on Appvance Test Nodes, see Appvance IQ Manual Test Designer Install (GraalVM 11 Based).
The release notes for GraalVM can be found on the GraalVM site.
Download and Install GraalVM Version 11
- GraalVM 11 can be downloaded from https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-21.3.0.
- Download the Java 11 based Windows installer.

- When the download is complete, extract the zip file to
C:\Program Files.
Configure Environment Variables
- Locate the folder where graalvm 11 is copied over (in the C:/Program Files from the step above)
- For example C:\Program Files\graalvm-ce-java11-windows-amd64-21.3.0\graalvm-ce-java11-21.3.0
- Open the System Properties dialog, select the Advanced tab and click Environment Variables.

- In the System Variables section, click New.
- Enter JAVA_HOME as the variable name.
For the variable value enter the path to the GraalVM that you downloaded and extracted. For exampleC:\Program Files\graalvm-ce-java11-21.3.0.
- Click Ok.
- In the System Variables list, select the Path variable and click Edit.
- Enter your Java path, appended by
\bin;at the beginning of the Variable value box. For example:C:\Program Files\graalvm-ce-java11-21.3.0\bin;
Confirm Java Installation
- Open a Command Prompt.
- Type
java -version - Confirm that the correct version of Java has been installed.

After the Java installation has been completed, proceed to the next step: Download Appvance AIQ
Last updated: October 7, 2026
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Download AIQ
Contact the Appvance Customer Success Team for the location of the AIQ download that you should install.
- Download the AIQ .zip file. An example file name is something like: AIQ-5.x.x-345862.zip.
- Extract the zip file.
- The AIQ software is contained in the
aiq_distributionfolder.
Considerations
If you notice that extracting the Appvance IQ zip file is slow, the following may suggestions may improve the performance of that task:
- Anti-virus programs, such as Windows Defender, being active with real-time searching for malware. This can delay in file intensive operations such as unzipping an archive. This may also affect scenario executions, specially on DS and DS3 engines that writes many temporary files for requests and responses. See Anti-Virus Settings for more information.
- Too little space free on the hard disk. Remove unwanted files or software to free up space.
After you have downloaded the AIQ software distribution, proceed to the next step: Installing and Configuring MySQL 8 Database (Windows)
Installing and Configuring MySQL 8 Database (Windows)
Installing MySQL is not required for Test Node instances. Only the AIQ controller needs a results database.
AIQ stores results in a MySQL 8 database. There are two supported ways to provide it: a local MySQL server on the Windows controller host, which is what this page covers, or Amazon RDS for MySQL, which is the recommended shape for production — see MySQL 8.x Database on AWS RDS (8.0 and 8.4).
Server requirements
MySQL 8 needs more resources than MySQL 5.7 did, so size the host for the database and not only for the controller. Do not use MySQL 8.1 — it contains changes AIQ does not support. Use 8.4 LTS for new installations; 8.0.x remains supported.
| Minimum | Recommended (performance and load testing) | |
|---|---|---|
| vCPU | 4 | 8 |
| Memory (GB) | 16 | 32 |
| Network performance (Gbps) | 1 | Up to 5 |
Performance and load testing need the larger shape because report generation runs its heavy work inside the stored procedures, on the database host.
Recommended MySQL parameters
Set these values in my.ini on the controller host and restart the MySQL service. On a self-hosted server you set the memory values directly instead of using the RDS formulas.
MyISAM matters more than InnoDB here. AIQ keeps its report tables on MyISAM, so key_buffer_size is what keeps report queries off the disk. Production indexes total roughly 757 MB.
| Parameter | Suggested value | Notes |
|---|---|---|
| key_buffer_size | 2147483648 | 2 GB — MyISAM index cache |
| myisam_use_mmap | 1 | Memory-maps the data files |
| myisam_sort_buffer_size | 268435456 | 256 MB for bulk inserts and repairs |
| myisam_max_sort_file_size | 2147483648 | 2 GB maximum sort file |
| tmp_table_size | 2147483648 | 2 GB — report temp tables stay in memory |
| max_heap_table_size | 2147483648 | Must match tmp_table_size |
| innodb_buffer_pool_size | 4294967296 | 4 GB, or 30 % of host memory |
| innodb_log_buffer_size | 134217728 | 1 % of host memory |
| innodb_flush_log_at_trx_commit | 2 | Faster commits, small durability trade-off |
| innodb_io_capacity / _max | 2000 / 4000 | SSD storage |
| max_connections | 500 | Global connection ceiling on a dedicated host |
| max_user_connections | 200 | Per-user ceiling |
| wait_timeout / interactive_timeout | 1080 | Sleeping connections accumulate otherwise (AIQ-6619) |
| connect_timeout | 10 | Handshake timeout |
| max_allowed_packet | 1073741824 | 1 GB — large result sets and BLOBs |
| bulk_insert_buffer_size | 536870912 | 512 MB for heavy transactional load |
| read_buffer_size | 2097152 | 2 MB per sequential MyISAM scan |
| read_rnd_buffer_size | 2097152 | 2 MB for sorted reads |
| sort_buffer_size | 8388608 | 8 MB per sorting thread |
| join_buffer_size | 4194304 | 4 MB per join without an index |
| table_open_cache | 4000 | Open table descriptors |
| table_definition_cache | 2000 | Cached table definitions |
| thread_cache_size | 100 | Threads kept for reuse |
| log_bin_trust_function_creators | 1 | Required — the schema scripts create stored procedures |
| validate_password | OFF | Leave ON if policy requires it, then match it in every password |
| slow_query_log / long_query_time | 1 / 5 | Optional — queries slower than 5 seconds |
No query cache. MySQL 8 removed query_cache_size and query_cache_type. If you are porting a 5.7 my.ini, delete those lines or the service will not start.
Install the database and schema
- Install MySQL 8.4 (or 8.0.x) server on the controller host, using a service account that survives reboots.
- Stop the service, set the parameters above in my.ini, and start it again.
- Connect as root and run MySQLInitial.sql — it creates the schema and the aiq database user.
- Run MySQLAppvance.sql as that aiq user — it creates the AIQ tables and stored procedures.
- Reconnect and confirm the values took effect with the verification queries below.
Both scripts work unchanged on 8.0 and 8.4.
Where the schema scripts are
You do not need to request these files — they ship inside the AIQ distribution. The two scripts live in the database folder of the TestNode web application:
| Platform | Path |
|---|---|
| Windows | <AIQ>\TestNode\webapps\AppvanceServer\WEB-INF\classes\database |
| Linux / macOS | <AIQ>/TestNode/webapps/AppvanceServer/WEB-INF/classes/database |
<AIQ> is the aiq_distribution folder of the package you installed — on Windows that is normally C:\AIQ\aiq_distribution, so the full path is C:\AIQ\aiq_distribution\TestNode\webapps\AppvanceServer\WEB-INF\classes\database. Both MySQLInitial.sql and MySQLAppvance.sql are in that folder.
Software downloads (official MySQL site):
- MySQL Community Server 8.4 — dev.mysql.com/downloads/mysql
- MySQL 8.0 or any earlier build — downloads.mysql.com/archives/community
- MySQL Workbench, if you prefer a GUI to the command line — dev.mysql.com/downloads/workbench
- Step-by-step using MySQL Workbench (connection, open script, execute) — Install Appvance IQ Database Schema
mysql -u root -p
SOURCE /path/to/MySQLInitial.sql;
SOURCE /path/to/MySQLAppvance.sql;
Verify before you continue
SELECT VERSION();
SHOW TABLES;
SHOW PROCEDURE STATUS WHERE Db = 'aiq';
SHOW VARIABLES LIKE 'max_allowed_packet';
SHOW VARIABLES LIKE 'wait_timeout';
max_allowed_packet must read 1073741824 and wait_timeout must read 1080. If either shows a default value, the parameter file was not picked up — check that you edited the my.ini the service actually reads, then restart it.
When you are done
Continue with Running AIQ on Windows as a Service. If you are deploying the database on AWS instead of locally, use MySQL 8.x Database on AWS RDS (8.0 and 8.4) — the parameter group, instance sizing and troubleshooting there replace the my.ini section of this page.
Last updated November 2026. Applies to MySQL 8.0.x and 8.4.x on Windows.
Runing Appvance IQ on Windows as a Service
It is recommended that you start AIQ services automatically rather than manually. The suggested method is to use the Autologon utility to setup Appvance IQ to run as service on Windows.
Autologon is Microsoft utility that enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the Registry, to log on the specified user automatically.
It is recommended to start Appvance services automatically, but they can be started manually if needed. See Starting AIQ Services Manually for more information.
Prerequisites:
- Appvance IQ is installed on Windows OS
- Login to Windows using an account with administrator privileges
Download and Install Autologon
- Download Autologon from Microsoft here: Download Autologon
- Extract
Autologon.ziparchive. For example, extract toC:\Autologon.
Setup Autologon Service
Checking for Previous Configurations
Verify that no other entries for Autologon service exist as follows. If there are previous configurations on the server, it may prevent Autologon from working correctly.
For any past users for which an Autologon service was created:
- Open Autologon.
- Enter the Username, Domain and Password.
- Click Disable.
Check the Registry for Autologon entries:
Active Directory considerations:
- When the user used to login is provided by an Active Directory domain and the Active Directory is set to have an interactive login, the Autologon process will not work. In those cases, try creating a local user in the machine itself, edit its group policy to remove any interactive logon and use this local user to set the autologin process.
Configuring Autologon
- Open Autologon.exe (64 bit). The Autologon - Sysinternals window appears.

- Enter the user’s password and click Enable.

- Open Task Scheduler with administrative privileges, click Action and select Create Basic Task. The Create Basic Task Wizard appears.

- Enter a name in the Name box (such as AIQ or Appvance) and click NextThe Task Trigger list appears
- Select When I log on and click Next

- The Action list appears.
- Select Start a Program and click Next

- The Start a Program configuration appears.
- Click Browse.
- Browse to and select <aiq-path>/TestNode/startup.bat and click Open.
- IMPORTANT: Also enter the <aiq-path>/TestNode/ path in the Start in box and click Next.

- Select Open the Properties dialog for this task when I click Finish.

- Click FinishThe Properties dialog appears.

- Select whether it runs when a user is logged into that test node of not. This choice will be important in situations where the system reboots when no one is logged into that test node.
- Run only when user is logged on
- Run whether the user is logged on or not
- Check Run with highest privileges.
- Click the Settings tab.
- Uncheck the Stop the task if it runs longer than option.

- Click OK.
- When prompted, enter the service username and password to apply the changes and click OK.

Verifying Autologon Service
You may test the Autologon service by running it manually from the Task Scheduler. However to ensure the settings are working as expected, it is recommended that you restart the server and confirm that Appvance IQ launches properly without a user directly logging into the server.
After you have configured AIQ to run as a service, proceed to the next step: Installing License and Certificate
Last updated: January 22, 2025
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Installing License and Certificate
AIQ requires a valid license file and a valid certificate for the server that hosts the Controller.
Install License
License files are distributed by the Appvance Customer Success Team or Appvance Support. Be sure that you have been provided a license file before you proceed.
- From your Appvance IQ URL, login and select Global Options > Admin Options > License (tab).

- Click Upload License.
- Browse to the license file provided by Appvance and click Open to load the license file.

Install Appvance Certificate
Every Appvance Controller requires a valid certificate. You may provide and install your own server certificate, or update and use the Appvance-provided certificate.
Provide your own certificate
- Copy your certificate to:
<AIQ install path>\sahi\ - Install your certificate in Trusted Root Certification Authorities.
See the Microsoft site for more information on Trusted Root Certification Authorities.
Update the Appvance-provided certificate
About the Appvance Certificate
The default Appvance certificate points to localhost and must be updated to point it to your specific IP or DNS. To do so, follow the steps in this topic.
Important
- These steps are only to be performed on the Appvance Controller machine
- The certificate creation steps currently ONLY work on Windows, however, the generated certificate is valid for Linux/Mac as well
- If using EC2 and you stop and restart the server, the DNS will be lost and you must repeat this process
- Once installed on the Appvance Controller, configure the certificate on client machines using How to Install Appvance IQ on Windows (GraalVM 11 Based) (related topics: Firefox configuration to work with https and Windows configuration to work with https)
Generate an Appvance Certificate
This procedure assumes that your Appvance Control machine is already set up and running.
- On the Appvance Controller machine, login to AIQ.
- Navigate to Global Options > Admin Options > Certificate (tab).

- Enter the DNS or IP of the AIQ controller. Do not enter a protocol or a port. For example:
ec2-12-21-23-23.us-west-2.compute.amazonaws.com - Click Update Certificate and Reboot.

- After a successful reboot, please use a new browser window and navigate to the AIQ Controller for the certificate to take effect. The browser may fail to load the IP address, the certificate still generate.
- Appvance generates the certificate, with a valid key store, inside the Appvance Controller machine's TestNode\certs directorySpaces and periods are replaced with '_' in the file name.
- Restart the Appvance services on Appvance Controller machine.
- Browse to <AIQ install directory>\sahi and double-click appvance.cer
- Click Install Certificate.
- Select Current User and click Next.
- Select Place all certificates in the following store and click Browse.
- Select Trusted Root Certification Authorities and click OK.
- Click Next.
- Click Finish.
- When the Certificate Import Wizard window appears, indicating the import was successful, click OK.
- Click OK.
Configuring Port 8443
Once installed, you need to configure Port 8443 for public access.
- In Windows Settings, open the Network and Internet. Select Advanced network settings.

- Select the Windows Firewall option.

- Select Advanced settings.

- Select Inbound Rules.

- In the Action tab, select New Rule.

- In Rule Type, select Port.

- In Protocol and Ports, select TCP and specify the local port as 8443.

- In Action, select Allow the connection.

- In Profile, select all the options.

- Name the port.

- Click Finish.
The AIQ controller firewall requires specific TCP ports open. Find the complete list in .Appvance IQ Production System Requirements.
Last updated: July 31, 2024
If you have any feedback on this topic, please contact us at documentation@appvance.ai
Useful Utilities for AIQ Administration
Recommended guidance
Use utilities to support AIQ installation, troubleshooting, and administration. Utilities should help validate ports, certificates, disk space, network access, logs, browser dependencies, and service health without becoming undocumented production changes.
Examples of useful utility checks
- Port listeners and conflicts for AIQ services, Test Nodes, databases, and proxies.
- Disk usage, memory, CPU, and process status on AIQ hosts.
- Certificate expiration, trust chains, and TLS connectivity.
- Browser installation and version checks on execution nodes.
- Network connectivity to repositories, applications under test, integrations, and package sources.
Operational rules
- Use read-only checks first when diagnosing a production environment.
- Document any utility that changes configuration or service state.
- Do not paste secrets into command lines, logs, screenshots, or documentation.
- Prefer approved OS/package-manager tools over random downloaded utilities.
- Keep customer-specific scripts in a controlled repository with owners and review history.
Last updated: October 5, 2026
Use getCssValue in Scenario Editor Scripts
Use getCssValue in Scenario Editor Scripts
Use getCssValue only when validating a CSS property is part of the test objective. For most functional tests, validate visible behavior or business output instead of implementation-level styles.
Recommended use
- Confirm a required state is represented by a CSS property, such as disabled, highlighted, hidden, or color-coded status.
- Validate style behavior only after the page has reached a stable state.
- Keep expected values maintainable and avoid checking browser-specific formatting unless necessary.
Maintenance notes
- Prefer stable locators for the element being inspected.
- Use conditional waits before reading style values.
- Document why the CSS property is business-relevant.
Last updated: September 18, 2026