Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium jmeter的gui中出现空指针异常_Selenium_Selenium Webdriver_Junit_Jmeter - Fatal编程技术网

Selenium jmeter的gui中出现空指针异常

Selenium jmeter的gui中出现空指针异常,selenium,selenium-webdriver,junit,jmeter,Selenium,Selenium Webdriver,Junit,Jmeter,我正试图使用Jmeter通过JUnit请求访问服务器,但出现以下错误: jmeter.gui.gui包:检索gui java.lang.NullPointerException时出现问题 这是我的日志文件 2015/12/04 12:53:17信息-jmeter.util.BSFTestElement:将JavaScript引擎的jmeter版本注册为BSF-22的工作循环 2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSample

我正试图使用Jmeter通过JUnit请求访问服务器,但出现以下错误:

jmeter.gui.gui包:检索gui java.lang.NullPointerException时出现问题

这是我的日志文件

2015/12/04 12:53:17信息-jmeter.util.BSFTestElement:将JavaScript引擎的jmeter版本注册为BSF-22的工作循环 2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSamplerBase:无法找到htmlParser的.className属性,使用默认值 2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSamplerBase:text/html的解析器是
2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSamplerBase:application/xhtml+xml解析器是
2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSamplerBase:application/xml解析器是
2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSamplerBase:text/xml解析器是
2015/12/04 12:53:17信息-jmeter.protocol.http.sampler.HTTPSamplerBase:text/vnd.wap.wml的解析器是org.apache.jmeter.protocol.http.Parser.RegexpHTMLParser 2015/12/04 12:53:17信息-jmeter.gui.util.MenuFactory:跳过org.apache.jmeter.protocol.http.control.gui.webservices示例gui 2015/12/04 12:53:17信息-jmeter.gui.util.MenuFactory:跳过org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 2015/12/04 12:53:18信息-jorphan.exec.KeyToolUtils:keytool位于“keytool” 2015/12/04 12:53:18信息-jmeter.protocol.http.proxy.ProxyControl:http(S)测试脚本记录器SSL代理将使用文件C:\Users\Vishal\Downloads\apache-jmeter-2.13(1)\apache-jmeter-2.13\bin\proxyserver.jks中支持嵌入式第三方资源的密钥 2015/12/04 12:53:19信息-jmeter.samplers.SampleResult:注意:样本时间戳是开始时间 2015/12/04 12:53:19信息-jmeter.samplers.SampleResult:SampleResult.default.encoding设置为ISO-8859-1 2015/12/04 12:53:19信息-jmeter.samplers.SampleResult:SampleResult.useNanoTime=true 2015/12/04 12:53:19信息-jmeter.samplers.SampleResult:SampleResult.nanothread sleep=5000 2015/12/04 12:53:28错误-jmeter.gui.gui包:检索gui java.lang.NullPointerException时出现问题 位于org.apache.jmeter.gui.GuiPackage.getTestElementCheckSum(GuiPackage.java:853) 位于org.apache.jmeter.gui.GuiPackage.updateCurrentNode(GuiPackage.java:435) 位于org.apache.jmeter.gui.GuiPackage.getCurrentGui(GuiPackage.java:272) 位于org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:45) 位于org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 位于org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40) 位于org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63) 在java.awt.event.InvocationEvent.dispatch(未知源)处 位于java.awt.EventQueue.dispatchEventImpl(未知源) 位于java.awt.EventQueue.access$500(未知源) 在java.awt.EventQueue$3.run处(未知源) 在java.awt.EventQueue$3.run处(未知源) 位于java.security.AccessController.doPrivileged(本机方法) 位于java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(未知源) 位于java.awt.EventQueue.dispatchEvent(未知源) 位于java.awt.EventDispatchThread.pumpOneEventForFilters(未知源) 位于java.awt.EventDispatchThread.pumpEventsForFilter(未知源) 位于java.awt.EventDispatchThread.pumpEventsForHierarchy(未知源) 位于java.awt.EventDispatchThread.pumpEvents(未知源) 位于java.awt.EventDispatchThread.pumpEvents(未知源) 位于java.awt.EventDispatchThread.run(未知源)

2015/12/04 12:53:28错误-jmeter.gui.gui包:检索gui java.lang.NullPointerException时出现问题 位于org.apache.jmeter.gui.GuiPackage.getTestElementCheckSum(GuiPackage.java:853) 位于org.apache.jmeter.gui.GuiPackage.updateCurrentNode(GuiPackage.java:435) 位于org.apache.jmeter.gui.GuiPackage.getCurrentGui(GuiPackage.java:272) 位于org.apache.jmeter.gui.util.MenuFactory.addFileMenu(MenuFactory.java:224) 位于org.apache.jmeter.gui.util.MenuFactory.addFileMenu(MenuFactory.java:200) 位于org.apache.jmeter.gui.util.MenuFactory.getDefaultSamplerMenu(MenuFactory.java:305) 位于org.apache.jmeter.samplers.gui.AbstractSamplerGui.createPopupMenu(AbstractSamplerGui.java:49) 位于org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:158) 位于org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:47) 位于org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 位于org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40) 位于org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63) 在java.awt.event.InvocationEvent.dispatch(未知源)处 位于java.awt.EventQueue.dispatchEventImpl(未知源) 位于java.awt.EventQueue.access$500(未知源) 在java.awt.EventQueue$3.run处(未知源) 在java.awt.EventQueue$3.run处(未知源) 位于java.security.AccessController.doPrivileged(本机方法) 位于java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(未知源) 位于java.awt.EventQueue.dispatchEvent(未知源) 位于java.awt.EventDispatchThread.pumpOneEventForFilters(未知源) 位于java.awt.EventDispatchThread.pumpEventsForFilter(未知源) 位于java.awt.EventDispatchThread.pumpEventsForHierarchy(未知源) 位于java.awt.EventDispatchThread.pumpEvents(未知源) 位于java.awt.EventDispatchThread.pumpEvents(未知源) 位于java.awt.EventDispatchThread.run(未知源)

2015/12/04 12:53:31错误-jmeter.gui.gui包:检索gui java.lang.NullPointerException时出现问题 位于org.apache.jmeter.gui.GuiPackage.getTestElementCheckSum(GuiPackage.java:853) 位于org.apache.jmeter.gui.GuiPackage.updateCurrentNode(GuiPackage.java:435) 在org.apache上。