unit-testing - 安排 Jmeter 分布式测试

我正在使用 JMeter 的分布式测试功能,它运行良好。然而,当我安排这个分布式运行时,它只是立即运行并且无视时间表。它只发生在分布式测试中。有什么想法吗?

最佳答案

我还没有遇到那个小 gem 。你试过了吗starting from the command line看看它是否正常工作?

Step 3b: Start the JMeter from a non-GUI Client

As an alternative, you can start the remote server(s) from a non-GUI (command-line) client. The command to do this is:

jmeter -n -t script.jmx -r
or
jmeter -n -t script.jmx -R server1,server2...

Other flags that may be useful:
-Gproperty=value - define a property in all the servers (may appear more than once)
-Z - Exit remote servers at the end of the test.


The first example will start whatever servers are defined in the JMeter property remote_hosts; the second example will define remote_hosts from the list of servers and then run the remote servers.
The command-line client will exit when all the remote servers have stopped. 

https://stackoverflow.com/questions/3768600/

相关文章:

jpa - JPQL 中的复杂顺序

.net - 通过 RDP 部署 .NET 应用程序

ruby-on-rails - 如何在 Rails 中访问父模型的实例变量?

django-sessions - 在 Django 中,如何找到当前登录用户的所有其他事件 ses

php - 在 XML 中使用 HMAC-SHA1 生成 SignatureValue

.net - 高性能文件操作和 I/O 完成线程

python-3.x - 如何在 Panel (3D Blender 2.55) 中创建 UI "i

excel - 如何使用 Excel 公式(无 VBA)在 HTTP POST 响应中检索一段数据?

ruby-on-rails - 从mysql导入夹具数据

ruby-on-rails - 超时::Selenium/Capybara/Cucumber 出错