Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Use jmeter to pressurize private cloud after uploading

Shulou Source: shulou.com Published: 2022-06-01 10:51:48 10月03日 Update

Steps:

Native execution

Cp / Users/zhao/Downloads/myjmeter/createmodel.jmx / Users/zhao/Desktop/

Execute after the development machine rz is uploaded

Tunnel ftp put-cluster nbwjw-host web1-upload createmodel.jmx-dir test

Private cloud machine execution

Cp / home/rd/ftp/zhao/test/taskcat.jmx / home/zhao/apache-jmeter-3.3/script/jmxfile/

/ home/zhao/apache-jmeter-3.3/bin/jmeter.sh-JthreadNum=5-JrunTimes=10-n-t / home/zhao/apache-jmeter-3.3/script/jmxfile/createmodel.jmx

Multithreading strategy pressurization

/ home/zhao/apache-jmeter-3.3/bin/jmeter.sh-JthreadNum=5-JstartNum=1-JaddNum=1-JrunTimes=10-n-t / home/zhao/apache-jmeter-3.3/script/jmxfile/taskcat.jmx-l / home/zhao/apache-jmeter-3.3/script/jtlfile/25_t.jtl-e-o / home/zhao/apache-jmeter-3.3/script/htmlfile/25_t_ResultReport

File transfer command

Start serving python-m SimpleHTTPServer 8090 on web1

Download the file curl-O http://10.76.3.21:8090/autojmeter.py on web2

Tags: Files private up and down commands machines steps policies threads up native transfer development services Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker Xiaomi Microsoft MySQL