51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3788|回复: 2
打印 上一主题 下一主题

monitor results 问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-1-21 17:39:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我在一个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)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2009-1-21 22:36:07 | 只看该作者
等高手解决
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2009-1-22 14:33:21 | 只看该作者
看不懂。是不是楼主提供的资源太少了,高手也不知道怎么回事
建议提供更多资源,相信会有高手来指点的,嘿嘿!!!
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-22 16:53 , Processed in 0.082599 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表