JMeter-在进行负载测试时,主从配置相对于所有主配置的好处 [英] JMeter - Benefits of master-slaves configuration over all masters when doing a load test
问题描述
关于JMeter用于负载测试的分布式配置(不在云中),
About JMeter Distributed configuration for load testing (not in cloud),
我可以在不同的计算机上设置X JMeter母版,并使用共享文件夹通过共享文件执行它们.
I can setup X JMeter masters in different machines and execute them with shared files using shared folder(s).
好处是:
-
每个母版都不使用其他母版,可以在需要时使用动态/不同属性关闭和启动.
Each master is oblivious to other and can be shutdown and start when needed with dynamic/different properties.
每个主数据库都有其自己的日志和结果,可以分别进行浏览.
Each master have its own logs and results that can be explored separately.
我不需要JMeter主机之间的网络连接.
I don't need network connection between JMeter masters' machines.
在这种情况下使用主从配置有什么好处?专注于负载测试时,这似乎是不必要的开销.
What are the benefits for using master-slave configuration in such case? It seems like an unnecessary overhead when focusing on load test.
推荐答案
好处是:
- 将结果集中在1个节点(主节点)上,您可以从主节点跟踪Summarizer中的结果,在那里生成CSV/XML文件,并且可以在测试结束时使用除了您描述的缺点之外,还有:
-网络配置复杂度
-需要在每个节点上部署csv(尽管有一些带有插件的选项(redis,简单表服务器)
-节点与主节点之间的网络流量
Besides the drawbacks you describe there are: - network configuration complexity - need to deploy csv on each node (although there are options with plugins (redis, simple table server) - network traffic between nodes and master
它是在无业游民,ansible,云...之类的部署自动化无法使用时创建的.
It was created at time deployment automation was not available through things like vagrant, ansible, cloud ...
这篇关于JMeter-在进行负载测试时,主从配置相对于所有主配置的好处的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!