2015-06-12 95 views
0
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 
2015/06/12 11:00:11 INFO - jmeter.samplers.SampleEvent: List of sample_variables: [] 
2015/06/12 11:00:11 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*) 
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group 
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. 
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error 
2015/06/12 11:00:11 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false 
2015/06/12 11:00:11 INFO - jmeter.threads.ThreadGroup: Started thread group number 1 
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started 
2015/06/12 11:00:11 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 
2015/06/12 11:00:11 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.IllegalStateException: The driver executable does not exist: D:\Mm performance\apache-jmeter-2.13\apache-jmeter-2.13\bin 
    at com.google.common.base.Preconditions.checkState(Preconditions.java:197) 
    at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:117) 
    at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:39) 
    at org.openqa.selenium.chrome.ChromeDriverService$Builder.usingDriverExecutable(ChromeDriverService.java:116) 
    at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.getThreadService(ChromeDriverConfig.java:72) 
    at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.createBrowser(ChromeDriverConfig.java:53) 
    at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.createBrowser(ChromeDriverConfig.java:18) 
    at com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig.getPreparedBrowser(WebDriverConfig.java:233) 
    at com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig.threadStarted(WebDriverConfig.java:220) 
    at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:610) 
    at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:998) 
    at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:980) 
    at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:579) 
    at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:567) 
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) 
    at java.lang.Thread.run(Thread.java:745) 

2015/06/12 11:00:11 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1 
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 
2015/06/12 11:00:11 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*) 
+0

您需要修復格式。沒有人想要通讀所有內容或爲您設置格式。 –

回答

1
  1. http://chromedriver.storage.googleapis.com/index.html下載最新版本的ChromeDriver的(如果還沒有)
  2. 以下行添加到system.properties文件(該文件都生活在/ bin中你的JMeter的安裝文件夾中)

    webdriver.chrome.driver=d:/chromedriver.exe 
    

    您可能需要替換d:/chromedriver.exe與實際路徑ChromeDriver二進制文件。請記住,使用正斜槓c:/somefoler/someotherfolder或者逃回,如果你使用的是Windows

  3. 重啓JMeter的

  4. ChromeDriver應正常工作斜線c:\\somefolder\\someotherfolder

請參閱Apache JMeter Properties Customization Guide瞭解各種JMeter屬性的高級信息以及設置,使用和覆蓋它們的方法。