Skip to main content

Configure AIQ Test Node Settings

Use this article to review AIQ Test Node settings that affect execution capacity, browser availability, connectivity, and result collection.

ChangeWhat TestNodechanged Portin Numberthis article

Appvance

  • Normalized IQ“TestNode” communicatesto with“Test aNode” TestNodeand overscoped portthe 8080page to AIQ execution settings.
  • Added checks for HTTPnode identity, controller connection, browser/runtime paths, capacity, working directories, logs, proxy/certificate configuration, and 8443heartbeat.
  • Added forvalidation HTTPS by default.
    1. Stop Appvance IQ.

    Navigate to \aiq_distribution\TestNode\etc

    Open jetty-http.xml in notepad editor or similar

    Search for 8080 and replace the port number with any preferred value

    Save the file

    Restart Appvance IQ

    Confirm the TestNode is on the new port number by browsing the new location. For example, after setting the TestNodeguidance to run ona portsmall 7070,scenario browse

    after

    http://:7070/TMServer/ws/TestNodeandchanging seenode settings.

    Validation workflow

    1. Review the message:node TestNode.role, Hicontroller there,URL, thisbrowser/runtime isavailability, anand AXISexecution service!capacity Perhapsbefore therechanging willsettings.
    2. Update beonly the required setting and restart the affected service if needed.
    3. Run a formsmall for invoking the service here.

      Changing TestNode Memory Settings

      To set the memory for an installed TestNode, change the contents of /AIQ/TestNode/startup.bat for Windowsexecution and /AIQ/TestNode/startup.shconfirm forheartbeat, Unixlogs, output, and Macresults OS X systems. These files contain the following command line:

      collection.

    Review @"%Java_HOME%/bin/java" -Xmx128M -DSTOP.PORT=8079 -DSTOP.KEY=secret -jar start.jar @echo "TestNode? Started"

    Adjust the memory settings using the -Xmx parameter.

    Enabling Java Server Mode for Faster TestNode Performance

    The Java Virtual Machine (JVM) running the TestNode uses just-in-time compilation and other techniques to deliver the performance of your tests. You have two choices of JVM: Java Runtime Environment (JRE) and Java Development Kit (JDK.)

    To see which JVM you are running, open a command shell and run: java -version.

    The JDK offers a special -server switch.note: This tellspage thenow JVMfocuses toon useoperationally pre-compilationsafe andTest other techniques to improve your test performance. The tradeoff of -server is the test will take longer to start and use more memory.

    Proxy Server Configuration

    If you normally need a proxy service to access Web sites, instruct Appvance IQ to use the proxy with the following instructions for Appvance Designer 2.0

    For Appvance Designer 2.0, configure the external proxy by editing /Appvance IQ/sahi/userdata/config/userdata.properties andNode setting these properties:changes.

      ext.http.proxy.enable=true

      ext.http.proxy.host=external_proxy_server_hostname_or_ip

      ext.http.proxy.port=external_proxy_server_port

      If your proxy needs authorization, you should set these properties too:

        ext.http.proxy.auth.enable=true

        ext.http.proxy.auth.name=proxy_authorization_username ext.http.proxy.auth.password=proxy_authorization_password.

        Make the same changes with ext. HTTPS settings for HTTPS sites.

        In addition, if you need to bypass the external proxy for some local sites you need to configure that too in sahi.properties like this:

        ext.http.both.proxy.bypass_hosts=localhost|127.0.0.1|*.yourinternaldomain.com

        Note that there is only one bypass setting for both HTTP and HTTPS.

        For TestNode, configure the external proxy by changing the settings in the Options tab when using the Scenario Builder to configure the TestScenario.

        Appvance IQ/TestNode/startup.sh (or .bat)Appvance IQ/Appvance Monitor/startMonitor.sh (or .bat)


        Last updated: NovemberOctober 06,2, 20232026

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