jmeter压力测试报错,求大神指导步骤详细点,新手上拉
2016/12/23 16:58:58 ERROR - jmeter.monitor.parser.ParserImpl: Failed to parse the bytes org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.apache.jmeter.monitor.parser.ParserImpl.parseBytes(ParserImpl.java:78)
at org.apache.jmeter.monitor.model.ObjectFactory.parseBytes(ObjectFactory.java:50)
at org.apache.jmeter.visualizers.MonitorAccumModel.addSample(MonitorAccumModel.java:165)
at org.apache.jmeter.visualizers.MonitorHealthVisualizer.add(MonitorHealthVisualizer.java:110)
at org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:595)
at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:571)
at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:796)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:456)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
at java.lang.Thread.run(Thread.java:745)
2016/12/23 16:58:58 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener:java.lang.NullPointerException
at org.apache.jmeter.visualizers.MonitorAccumModel.addSample(MonitorAccumModel.java:166)
at org.apache.jmeter.visualizers.MonitorHealthVisualizer.add(MonitorHealthVisualizer.java:110)
at org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:595)
at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:571)
at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:796)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:456)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
at java.lang.Thread.run(Thread.java:745)
2016/12/23 16:58:58 INFO- jmeter.threads.ListenerNotifier: Continuing to process further listeners
2016/12/23 16:58:58 INFO- jmeter.threads.JMeterThread: Thread is done: 首页-牛人推荐-获取全部牛人 1-1
2016/12/23 16:58:58 INFO- jmeter.threads.JMeterThread: Thread finished: 首页-牛人推荐-获取全部牛人 1-1
2016/12/23 16:58:58 INFO- jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2016/12/23 16:58:58 INFO- jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
:L我不会性能 我也出现这个问题,不知道怎么解决:'( 这是SAX解析XML报的错,你检查一下是不是XML声明时前面加了空格了,这会造成SAX解析错误,还有后面紧接着的空指针异常!
还有你这是压测过程中报的错还是一开始报的错?
页:
[1]