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

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:

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

  1. GraalVM 11 can be downloaded from https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-21.3.0.
  2. Download the Java 11 based Windows installer.
    GraalVMGitHub.png
  3. When the download is complete, extract the zip file to C:\Program Files.

Configure Environment Variables

  1. Locate the folder where graalvm 11 is copied over (in the C:/Program Files from the step above)
  2. For example C:\Program Files\graalvm-ce-java11-windows-amd64-21.3.0\graalvm-ce-java11-21.3.0
  3. Open the System Properties dialog, select the Advanced tab and click Environment Variables.
    SystemProperties.png
  4. In the System Variables section, click New.
  5. Enter JAVA_HOME as the variable name.
    For the variable value enter the path to the GraalVM that you downloaded and extracted. For example C:\Program Files\graalvm-ce-java11-21.3.0.
    NewSysVar.png
  6. Click Ok.
  7. In the System Variables list, select the Path variable and click Edit.
  8. 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;
    EditEnvVar.png

Confirm Java Installation

  1. Open a Command Prompt.
  2. Type java -version
  3. Confirm that the correct version of Java has been installed.
    CMDJavaVersion.png

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.

  1. Download the AIQ .zip file. An example file name is something like: AIQ-5.x.x-345862.zip.
  2. Extract the zip file.
  3. The AIQ software is contained in the aiq_distribution folder.

Considerations

If you notice that extracting the Appvance IQ zip file is slow, the following may suggestions may improve the performance of that task:

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.

MinimumRecommended (performance and load testing)
vCPU48
Memory (GB)1632
Network performance (Gbps)1Up 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.

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.

ParameterSuggested valueNotes
key_buffer_size21474836482 GB — MyISAM index cache
myisam_use_mmap1Memory-maps the data files
myisam_sort_buffer_size268435456256 MB for bulk inserts and repairs
myisam_max_sort_file_size21474836482 GB maximum sort file
tmp_table_size21474836482 GB — report temp tables stay in memory
max_heap_table_size2147483648Must match tmp_table_size
innodb_buffer_pool_size42949672964 GB, or 30 % of host memory
innodb_log_buffer_size1342177281 % of host memory
innodb_flush_log_at_trx_commit2Faster commits, small durability trade-off
innodb_io_capacity / _max2000 / 4000SSD storage
max_connections500Global connection ceiling on a dedicated host
max_user_connections200Per-user ceiling
wait_timeout / interactive_timeout1080Sleeping connections accumulate otherwise (AIQ-6619)
connect_timeout10Handshake timeout
max_allowed_packet10737418241 GB — large result sets and BLOBs
bulk_insert_buffer_size536870912512 MB for heavy transactional load
read_buffer_size20971522 MB per sequential MyISAM scan
read_rnd_buffer_size20971522 MB for sorted reads
sort_buffer_size83886088 MB per sorting thread
join_buffer_size41943044 MB per join without an index
table_open_cache4000Open table descriptors
table_definition_cache2000Cached table definitions
thread_cache_size100Threads kept for reuse
log_bin_trust_function_creators1Required — the schema scripts create stored procedures
validate_passwordOFFLeave ON if policy requires it, then match it in every password
slow_query_log / long_query_time1 / 5Optional — 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

  1. Install MySQL 8.4 (or 8.0.x) server on the controller host, using a service account that survives reboots.
  2. Stop the service, set the parameters above in my.ini, and start it again.
  3. Connect as root and run MySQLInitial.sql — it creates the schema and the aiq database user.
  4. Run MySQLAppvance.sql as that aiq user — it creates the AIQ tables and stored procedures.
  5. 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:

PlatformPath
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 -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

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.

Prerequisites:

Download and Install Autologon

  1. Download Autologon from Microsoft here: Download Autologon
  2. Extract Autologon.zip archive. For example, extract to C:\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:

  1. Open Autologon.
  2. Enter the Username, Domain and Password.
  3. Click Disable.

Check the Registry for Autologon entries:

  1. Inthe Registry navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  2. Change the value of the AutoAdminLogon key from 1 (true) to 0 (false), to disable the AutoAdminLogon feature.
    See Turn on automatic logon in Windows on the Microsoft site for more information.

Active Directory considerations:

  1. Open Autologon.exe (64 bit). The Autologon - Sysinternals window appears.
    image-20210927-162147.png
  2. Enter the user’s password and click Enable.
    image-20210927-162216.png
  3. Open Task Scheduler with administrative privileges, click Action and select Create Basic Task. The Create Basic Task Wizard appears.
    image-20210927-162316.png
  4. Enter a name in the Name box (such as AIQ or Appvance) and click NextThe Task Trigger list appears
  5. Select When I log on and click Next
    image-20210927-162527.png
  6. The Action list appears.
  7. Select Start a Program and click Next
    image-20210927-162744.png
  8. The Start a Program configuration appears.
  9. Click Browse.
  10. Browse to and select <aiq-path>/TestNode/startup.bat and click Open.
  11. IMPORTANT: Also enter the <aiq-path>/TestNode/ path in the Start in box and click Next.
    image-20210927-163155.png
  12. Select Open the Properties dialog for this task when I click Finish.
    image-20210927-163508.png
  13. Click FinishThe Properties dialog appears.
    image-20210929-162027.png
  14. 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
  15. Check Run with highest privileges.
  16. Click the Settings tab.
  17. Uncheck the Stop the task if it runs longer than option.
    image-20210927-163826.png
  18. Click OK.
  19. When prompted, enter the service username and password to apply the changes and click OK.
    image-20210927-161440.png

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.

  1. From your Appvance IQ URL, login and select Global Options > Admin Options > License (tab).
    AdminOptionsUploadLicense01.png
  2. Click Upload License.
  3. Browse to the license file provided by Appvance and click Open to load the license file.
    AdminOptionsUploadLicense02.png

 

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

  1. Copy your certificate to: <AIQ install path>\sahi\
  2. 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

Generate an Appvance Certificate

This procedure assumes that your Appvance Control machine is already set up and running.

  1. On the Appvance Controller machine, login to AIQ.
  2. Navigate to Global Options > Admin Options > Certificate (tab).
    AdminOptionsCertificate.png
  3. 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
  4. Click Update Certificate and Reboot.
    AdminOptionsCertificate02.png
  5. 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.
  6. 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.
  7. Restart the Appvance services on Appvance Controller machine.
  8. Browse to <AIQ install directory>\sahi and double-click appvance.cer
  9. Click Install Certificate.
  10. Select Current User and click Next.
  11. Select Place all certificates in the following store and click Browse.
  12. Select Trusted Root Certification Authorities and click OK.
  13. Click Next.
  14. Click Finish.
  15. When the Certificate Import Wizard window appears, indicating the import was successful, click OK.
  16. Click OK.

Configuring Port 8443

Once installed, you need to configure Port 8443 for public access.

  1. In Windows Settings, open the Network and Internet. Select Advanced network settings.
    WindowsPort01.png
  2. Select the Windows Firewall option.
    WindowsPort02.png
  3. Select Advanced settings.
    WindowsPort03.png
  4. Select Inbound Rules.
    iWindows11.png
  5. In the Action tab, select New Rule.
    iWindows12.png
  6. In Rule Type, select Port.
    iWindows13.png
  7. In Protocol and Ports, select TCP and specify the local port as 8443.
    iWindows14.png
  8. In Action, select Allow the connection.
    iWindows15.png
  9. In Profile, select all the options.
    iWindows16.png
  10. Name the port.
    iWindows17.png
  11. 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

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

Operational rules

  1. Use read-only checks first when diagnosing a production environment.
  2. Document any utility that changes configuration or service state.
  3. Do not paste secrets into command lines, logs, screenshots, or documentation.
  4. Prefer approved OS/package-manager tools over random downloaded utilities.
  5. 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.

Maintenance notes

  1. Prefer stable locators for the element being inspected.
  2. Use conditional waits before reading style values.
  3. Document why the CSS property is business-relevant.

Last updated: September 18, 2026