Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Installation steps of nGrinder performance testing Framework

Shulou Source: shulou.com Published: 2022-06-03 05:17:51 11月16日 Update

NGrinder3.4.1 supports JDK1.8

Github address: https://github.com/naver/ngrinder/releases

Installation steps:

Install jdk

Install Tomcat

Install nGrinder

Download grinder-controller-3.4.1.war (address: https://github.com/naver/ngrinder/releases)

3.2 put the downloaded package in the webApps folder of Tomcat

3.3 modify the catalina.bat file or catalina.sh in the Tomcat/bin directory

Vi / usr/local/tomcat/bin/catalina.sh, add the following on the second line of the file:

JAVA_OPTS= "- Xms600m-Xmx1024m-XX:MaxPermSize=200m" # for linux catalina.sh

Set JAVA_OPTS=-Xms600m-Xmx1024m-XX:MaxPermSize=200m # for win catalina.bat

Start Tomcat, visit http://localhost:8080/ngrinder-controller-3.4.1/, and see the following to indicate that the installation is complete:

If you want the open link to be http://localhost:8080/, you can change the name of ngrinder-controller-3.4.1.war to ROOT.war

If you access http://localhost:8080/ngrinder-controller-3.4.1/ and cannot access it, the tomcat port may be occupied. You can adjust the tomcat profile server.xml according to the error message, modify it to an unoccupied port, and restart tomcat.

Install the agent

Use the default account admin/ password admin to enter, click admin-- > download Agent in the upper right corner, and the download file is ngrinder-agent-3.4.1-localhost.tar

Extract the package and run run_agent.sh (under linux) or run_agent.bat (under win)

Take a look at nGrinder's web page and click admin-- > Agent Management to view the newly added agent and the ip on the agent machine.

NGrinder can cluster in a simple way.

Installation monitoring

Also click admin-- > download Monitoring in the upper right corner, and the download file is ngrinder-monitor-3.4.1.tar.

Extract and run the run_monitor.sh or run_monitor.bat file.

Tags: File agent information address port monitor run step can pass name password folder method machine directory account link cluster page support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Docker Xiaomi Shulou Technology Apple