I use Jmeter to generate a huge load to my web-server. Some slave machines are acted as Jmeter-server, another one - as Jmeter master that coordinates the load and collects statistics from slaves. Now I'm trying to integrate this system to CI (Jenkins). That's how I do it now. I have two separate Jenkins jobs: one of them prepares all slaves by running jmeter-server, another one runs Jmeter-master itself. All is fine with 2nd part: I successfully generate traffic and collect statistics. The issue is with 1st job. I have a huge set of slaves that can be rebooted anytime. So, I can't run the job that initiates jmeter-server once and forget about it. I need to run this job every time before Jmeter-master. But in this case on some machines (that were not rebooted) I have multiple copies of java processes (jmeter-server copies). So, I'm looking for a mechanism to start jmeter-server on slave nodes in a proper way. Any ideas appreciated. Thank you in advance!
相关问题
- Jenkins - cmd is not recognized
- JMeter - Using Variables from other BeanShell Pre/
- JMeter - Detecting a TransactionController Sampler
- When using Nokogiri, how do you suppress the inser
- Where Jenkins stores plugin configuration
相关文章
- dotnet restore还原nuget包时无法加载 https://api.nuget.org/
- jenkins在window集群环境中如何部署自动化发布?
- jenkins + Publish over FTP 自动部署前端React项目
- jenkins自定打包部署React前端项目遇到的问题。
- Jmeter如何做并发测试?需求:从Excel读取数据,设置集合点的那种 跪求大佬解惑。。。
- Best way to manage docker containers with supervis
- Access BitBucket payload data in Jenkins pipeline
- Jenkins Not Outputting Junit Report Info From File
Read this:
It combines:
JMeter
Maven Lazery JMeter plugin
Jenkins
All you have to do for jmeter-slaves is to start them from Jenkins using jmeter-server.sh , you might want to tweak port if you have 2 slaves on same host.
Then from controller you will reference those host machines (in this casse default port is used):