使用Jmeter进行分布式性能测试

使用Jmeter进行分布式测试的主要步骤是:

  1. 在所有做为Agent的机器上安装相同版本的Jmeter,然后运行jmeter-server文件
  2. 在Cotroller机器上%Jmeter_Home%/bin下,找到Jmeter.properties,把Agent的ip添加到remote_hosts=192.168.0.1:1099,192.168.0.2:1099行
  3. 在Controller机器上Run->Remote Start/Remote Start All. 注意Controller本身也可以做为Agent(需重复步骤1和2)

更所参考文章:

  • http://www.51testing.com/html/75/n-101075.html
  • http://blog.csdn.net/johnvikey/article/details/5905175
  • http://jmeter.apache.org/usermanual/remote-test.html

猜你喜欢

转载自lijingshou.iteye.com/blog/2047618