jmeter - Jmeter distribtion testting on linux
问题描述
I am trying do distributed testing on linux server using apache-jmeter 2.9
The default port (1099) is already used(by jboss) I changed the port as 1097 I start jmeter-server on one machine for now and start test on single machine.
jmeter-server seems to start succesfuly but when evern i trying to exceute script is shows following error.
[jboss@StagingSvr2 bin]$ ./jmeter -n -t CBL_Load/CBL_Admin_Load.jmx -l
.jtl -R 172.16.0.2
Creating summariser <summary>
Created the tree successfully using CBL_Load/CBL_Admin_Load.jmx
Configuring remote engine for 172.16.0.2
Failure connecting to remote host: 172.16.0.2
java.rmi.ConnectIOException: non-JRMP server at remote endpoint
Failed to configure 172.16.0.2
[![enter image description here][1]][1]No remote engines were started.
I have gone through google but not able to find exact solution that where I am doing blundder!
解决方案
- Make sure nothing is listening at the port
1097
using netstat or nc or telnet. Looking intonon-JRMP server at remote endpoint
something is present there which is not JMeter RMI endpoint. Try locating a free port using aforementioned tools and bind JMeter slave to it With regards to
bind JMeter slave
I would recommend amending your startup command to something like:./jmeter-server -Dserver_port=xxxx
where
xxxx
is a free port on your Linux systemAmend your Master startup command to include the port as well like:
./jmeter -R 172.16.0.2:xxxx -n -t CBL_Load/CBL_Admin_Load.jmx -l result.jtl
More information:
推荐阅读
- r - R中的DCC GARCH:观察次数
- python-3.x - (算法)在 Python 中找到穿过所需节点集(可能使用 BFS)并返回原点的最短路径
- r - 循环将年份分为两部分
- c# - 用户启动的多个线程。仅使用最后一个结果
- ios - 应用程序进入后台后应用程序是否会重新启动
- java - 如何用 Java 编写程序来编译 .asm(汇编语言)文件?
- java - 如何通过 Selenium 在网页中捕获 WebElement 的屏幕截图,而不是整个屏幕或页面
- reactjs - ReactJs -> 使用 .net 框架自动完成文本框
- node.js - 为什么我的应用程序在 docker 容器内运行时侦听端口 80 而不是端口 3000?
- java - 我是否用这个令牌替换代码重新发明轮子?