我使用的是JMeter的分布式测试特性,它工作得很好。然而,当我计划这个分布式运行时,它只是立即运行,而忽略了计划。这只会发生在分布式测试中。有什么想法吗?
发布于 2010-09-22 22:49:11
我还没见过那块小宝石呢。你有没有试过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
复制相似问题