首页 > 其他 > 详细

jmeter的master-slave模式

时间:2018-03-05 17:59:16      阅读:205      评论:0      收藏:0      [点我收藏+]

  要求:

  • 1、相同的jmeter版本
  • 2、最好相同的java版本

  jmeter可以通过master-slave的方式实现更大的并发,但是作为master的机器将会消耗更多的资源,因为所有的slave的压测数据都要通过网络传输到master机器上,然后由master机器完成这些数据的整理和输出。

  各个slave并非分布式,而是都跑相同的测试用例。Note: The same test plan is run by all the servers. JMeter does not distribute the load between servers, each runs the full test plan. So if you set 1000 Threads and have 6 JMeter server, you end up injecting 6000 Threads.

  压测时,master会把jmx脚本内容发给所有的slave,由slave执行压测任务。但是数据文件不会被master发给slave,因此过程中如果需要从csv中获取数据,需要提前放到slave机器里去,或者slave机器可以连接读取的文件服务器等。If the test uses any data files, note that these are not sent across by the client so make sure that these are available in the appropriate directory on each server

  sd

 

  

 

原文:http://jmeter.apache.org/usermanual/remote-test.html

参考翻译:https://www.jianshu.com/p/1a4dc49b1993

jmeter的master-slave模式

原文:https://www.cnblogs.com/shengulong/p/8510107.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!