report结果统计信息"Executed Tests"数据有误

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

report结果统计信息"Executed Tests"数据有误

jonathan
<a href="http://server:port/perftest/68">http://server:port/perftest/68
场景运行完毕的report页面中
Executed Tests 14,014        =====> 此处是错误的,应该显示运行总次数,当前显示的是成功的次数
Successful Tests 14,014
Errors 2

-----------------------------------
detail_report 中的结果:
Executed Tests 14,016
Successful Tests 14,014
Errors 2

-----------------------------------
列表页面中 Err Rate的数据显示和detail_report一致


请验证一下,是否是显示错误
另外问一下:
我查看了错误日志,看到脚本中的错误是调用脚本就出错了,这个应该计算到成功率里吗?
2015-04-16 01:42:40,448 ERROR Aborted run: Java exception calling TestRunner
net.grinder.scriptengine.jython.JythonScriptExecutionException: Java exception calling TestRunner
        result = request1.GET("http://www.lightinthebox.com")
        File "/home/xxx/.ngrinder_agent/file-store/admin/current/01_homepage.py", line 35, in __call__
net.grinder.plugin.http.TimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_51]
        at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[na:1.7.0_51]
        at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_51]
        at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:172) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:110) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:277) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.RespInputStream.read(RespInputStream.java:155) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.RespInputStream.read(RespInputStream.java:115) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.Response.readResponseHeaders(Response.java:980) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.Response.getHeaders(Response.java:698) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.Response.getVersion(Response.java:290) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3239) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2883) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2675) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.HTTPConnection.Get(HTTPConnection.java:986) ~[grinder-httpclient-3.9.1.jar:na]
        at net.grinder.plugin.http.HTTPRequest$2.doRequest(HTTPRequest.java:504) ~[grinder-http-3.9.1.jar:na]
        at net.grinder.plugin.http.HTTPRequest$AbstractRequest.getHTTPResponse(HTTPRequest.java:1276) ~[grinder-http-3.9.1.jar:na]
        at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:499) ~[grinder-http-3.9.1.jar:na]
        at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:445) ~[grinder-http-3.9.1.jar:na]
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51]
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:404) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:408) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:124) ~[jython-standalone-2.5.3.jar:na]
        at org.python.pycode._pyx1.__call__$3(/home/litbdev/.ngrinder_agent/file-store/admin/current/01_homepage.py:42) ~[na:na]
        at org.python.pycode._pyx1.call_function(/home/litbdev/.ngrinder_agent/file-store/admin/current/01_homepage.py) ~[na:na]
        at org.python.core.PyTableCode.call(PyTableCode.java:165) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyBaseCode.call(PyBaseCode.java:301) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyBaseCode.call(PyBaseCode.java:194) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyFunction.__call__(PyFunction.java:387) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:220) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:211) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:206) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.invoke(PyObject.java:3555) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyInstance.instance___call__(PyInstance.java:351) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyInstance.__call__(PyInstance.java:342) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyObject.__call__(PyObject.java:371) ~[jython-standalone-2.5.3.jar:na]
        at net.grinder.scriptengine.jython.JythonScriptEngine$JythonWorkerRunnable.run(JythonScriptEngine.java:250) ~[grinder-core-3.9.1.jar:na]
        at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:118) ~[grinder-core-3.9.1.jar:na]
        at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]