Skip to content

Latest commit

 

History

History

runtest

I used apache ab for the testing. There's a Jmeter project file.

install Jmeter

wget http://www.bizdirusa.com/mirrors/apache//jmeter/binaries/apache-jmeter-2.10.tgz
tar -xvf apache-jmeter-2.10.tgz

Start test

run commands like following:

jmeter -t performance.jmx -n -Jusernumber=10  -Jloopcount=2 -Jtargetip=127.0.0.1 -Jtargetport=5000 -Jtargeturl=/getfile/1k/ -Jlogname=1.jtl
  • usernumber concurrency number
  • loopcount how many test to be run on each connection
  • targetip , targetport , targeturl service IP, port and URL information
  • logname log file, can be opened with Jmeter GUI