huajing_wu 发表于 2009-1-21 17:39:35

monitor results 问题

我在一个html sampler下面加了个monitor result,服务器用的是域名,在host文件作了映射;运行测试,发现如下错误,看意思大概是路由问题,但是我在本机访问那台机器根本没问题,不知道是什么原因,有哪位碰到类似问题的XDJM来指点下,万分感谢~~ :)


2009/01/21 17:13:21 ERROR - jmeter.monitor.parser.ParserImpl: Failed to read the bytes java.net.NoRouteToHostException: No route to host: connect

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

        at java.net.Socket.connect(Socket.java:518)

        at java.net.Socket.connect(Socket.java:468)

        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)

        at sun.net.www.http.HttpClient.openServer(HttpClient.java:389)

        at sun.net.www.http.HttpClient.openServer(HttpClient.java:516)

        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)

        at sun.net.www.http.HttpClient.New(HttpClient.java:306)

        at sun.net.www.http.HttpClient.New(HttpClient.java:318)

        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)

        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)

        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)

        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)

        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)

        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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:75)

        at org.apache.jmeter.monitor.model.ObjectFactory.parseBytes(ObjectFactory.java:51)

        at org.apache.jmeter.visualizers.MonitorAccumModel.addSample(MonitorAccumModel.java:155)

        at org.apache.jmeter.visualizers.MonitorHealthVisualizer.add(MonitorHealthVisualizer.java:84)

        at org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:445)

        at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:425)

        at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:239)

        at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:570)

        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:303)

        at java.lang.Thread.run(Thread.java:619)


2009/01/21 17:13:21 DEBUG - jmeter.visualizers.MonitorHealthVisualizer: StatsModel was null java.lang.NullPointerException

        at org.apache.jmeter.visualizers.MonitorHealthVisualizer.add(MonitorHealthVisualizer.java:86)

        at org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:445)

        at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:425)

        at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:239)

        at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:570)

        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:303)

honsongj 发表于 2009-1-21 22:36:07

等高手解决

kexi1314 发表于 2009-1-22 14:33:21

看不懂。是不是楼主提供的资源太少了,高手也不知道怎么回事
建议提供更多资源,相信会有高手来指点的,嘿嘿!!!
页: [1]
查看完整版本: monitor results 问题