You must install Resource Monitoring Agent on the target machine for which you want to
collect the performance statistics. The agents establish a connection with the Resource Monitoring
service.
Procedure
- Start HCL OneTest™ Server and
access the Resource Monitoring service from the target machine for which you want to collect
performance statistics.
- To download the agent, click Download the Jar File. You can also use curl and wget commands to download the agent without accessing
the Resource Monitoring web
UI.
curl -O -J https://hostName/rm/agent-jar
wget --content-disposition https://hostName/rm/agent-jar
- To run the agent, in the command prompt, specify the directory path that contains the agent jar
file and pass this command: On
Windows:
set HCL_ONETEST_OFFLINE_TOKEN=(Enter your offline token here)
java -jar (Enter the name of the downloaded jar file here) --serviceUrl=hostName/rm --projectId=<project_id>
On
Linux:sudo HCL_ONETEST_OFFLINE_TOKEN=(Enter your offline token here) java -jar (Enter the name of the downloaded jar file here) --serviceUrl=portNumber/rm --projectId=<project_id>
Results
If the agent is started, it is displayed in the list of Connected Resource Monitoring Agents
with the host name and status of the agent.