jenkin系列_调度jmeter实现分布式测试
2014-11-24 14:57
716 查看
假设现在有 192.168.1.100(jmeter 控制器 C )、192.168.1.101(jmeter负载机 B)两台机器进行分布式测试,各个步骤如下
1. C 和B 安装jmeter,并运行bin目录下的jmeter-server.sh
2. project/src/test/jmeter/ 下放jmeter.properties,并设置多机负载
#---------------------------------------------------------------------------
# Remote hosts and RMI configuration
#---------------------------------------------------------------------------
# Remote Hosts - comma delimited
remote_hosts=127.0.0.1:1099,192.168.1.101:1099
#remote_hosts=localhost:1099,localhost:2010
3. 配置项目的pom.xml,在configuration中增加两个配置,如下
4. 确保C 和B两台计算机时间同步
5. 执行构建
1. C 和B 安装jmeter,并运行bin目录下的jmeter-server.sh
2. project/src/test/jmeter/ 下放jmeter.properties,并设置多机负载
#---------------------------------------------------------------------------
# Remote hosts and RMI configuration
#---------------------------------------------------------------------------
# Remote Hosts - comma delimited
remote_hosts=127.0.0.1:1099,192.168.1.101:1099
#remote_hosts=localhost:1099,localhost:2010
3. 配置项目的pom.xml,在configuration中增加两个配置,如下
<plugins> .... <configuration> <remoteConfig> <startServersBeforeTests>true</startServersBeforeTests> <stopServersAfterTests>false</stopServersAfterTests> </remoteConfig> </configuration> .... </plugins>
4. 确保C 和B两台计算机时间同步
5. 执行构建
相关文章推荐
- 微软软件实现技术授课系列内容之五:软件测试基础
- 用Apache JMeter进行性能测试之七(分布式执行)
- 巧用 honeyd 实现星形结构分布式软件的压力测试框架
- Hadoop系列之九:Hadoop集群伪分布式模式的实现详解
- 利用Fitnesse和Jmeter实现接口性能测试
- 微软软件实现技术授课系列内容之五:软件测试基础
- 利用Fitnesse和Jmeter实现接口性能测试
- JMeter的分布式测试
- 分布式网络爬虫关键技术分析与实现系列
- PHP相关系列 - php与memcached服务器交互的分布式实现源码分析[memcache版]
- C#基础系列:实现自己的ORM(MiniORM的测试代码)
- 《设计模式--基于C#的工程化实现及扩展》 Security Design Pattern 系列 1 公钥体系与分布式环境要求
- 《设计模式--基于C#的工程化实现及扩展》 Security Design Pattern 系列 1 公钥体系与分布式环境要求
- Jmeter分布式测试
- 【软件测试自动化-QTP系列讲座 8】==自定义COM组件的实现 (二)activex dll生成篇==
- 微软软件实现技术授课系列内容之五:软件测试基础
- 《设计模式--基于C#的工程化实现及扩展》补充 Security Design Pattern 系列 1 公钥体系与分布式环境要求
- 使用 JMeter 分布式性能测试
- Adhesive框架系列文章--WCF 分布式服务模块使用和实现
- Hadoop系列之九:Hadoop集群伪分布式模式的实现详解