2010-09-22 97 views
1

我使用的JMeter的分布式测试功能工作正常。但是,当我安排这个分布式运行时,它会立即运行并忽略时间表。它只发生在分布式测试中。任何想法?调度Jmeter分布式测试

回答

0

我还没有遇到那个小宝石。您是否尝试过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. 
+0

嗨,谢谢。问题出在我的身边,从机的日期时间与主机不同步。现在起作用了。 – bala 2010-09-23 13:34:12