sudo yum install sshpass -y -q
sshpass - package
-y - yes
- JRE 1.6 or above
- JMeter 2.8 or above
Installing Server Agent in Server machine:
Step 1: Download ServerAgent-2.2.1.zip from http://jmeter-plugins.org/downloads/all/
Step 2: UnZip the ServerAgent-2.2.1.zip in the Server machine(tomcat machine root directory).
Step 3: Run the startAgent.sh using sudo.
Step 4: We can run startAgent.sh with different arguments and settings. For Instance, running server agent using different tcp port instead of default port(4444) like below.
sudo ./startAgent.sh --udp-port 0 --tcp-port 4560
Step 5: Now the Server agent instance is running in the server with tcp port 4444.