TestNode Settings
Change TestNode Port Number
UseAppvance thisIQ articlecommunicates with a TestNode over port 8080 for HTTP and 8443 for HTTPS by default.
Stop Appvance IQ.
Navigate to review\aiq_distribution\TestNode\etc
Open settingsjetty-http.xml thatin affectnotepad executioneditor capacity,or browsersimilar
Search for 8080 and result collection.
What changed in this article
Normalized “TestNode” to “Test Node” and scopedreplace thepageporttonumberAIQwithexecutionanysettings.preferred value
Save forthe nodefile
Restart browser/runtimeAppvance paths,IQ
Confirm logs,the proxy/certificateTestNode configuration,is andon heartbeat.
http://:7070/TMServer/ws/TestNodeand see the message: TestNode. Hi there, this is an AXIS service! Perhaps there will be a smallform scenariofor afterinvoking the service here.
Changing TestNode Memory Settings
To set the memory for an installed TestNode, change the contents of /AIQ/TestNode/startup.bat for Windows and /AIQ/TestNode/startup.sh for Unix and Mac OS X systems. These files contain the following command line:
@"%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. This tells the JVM to use pre-compilation and 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 and setting these properties:
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 nodethe settings.
Validation workflow
Reviewin thenodeOptionsrole,tabcontrollerwhenURL, browser/runtime availability, and execution capacity before changing settings.Update onlyusing therequiredScenariosettingBuilderandtorestartconfigure theaffected service if needed.Run a small execution and confirm heartbeat, logs, output, and results collection.
ReviewAppvance note:IQ/TestNode/startup.sh This(or page.bat)Appvance nowIQ/Appvance focusesMonitor/startMonitor.sh on(or operationally.bat)
Last updated: OctoberNovember 2,06, 20262023
If you have any feedback on this topic, please contact us at documentation@appvance.ai.