2010-09-22 64 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