搭建完环境后基本卡在了这两个问题上,导致测试无法完成,请问问题可能出在哪里,给一些思路也可以
1、启动测试后就连接建立超时,并结束测试任务 但是在监控器--代理列表,代理是在线的,也已经确认过代理、监控器、被测服务之间是可以正常通信的 2019-08-01 10:08:52,738 INFO before thread. init headers and cookies 2019-08-01 10:08:53,563 INFO thread-2 is invoked after 3500 ms sleep 2019-08-01 10:08:53,564 INFO before thread. init headers and cookies 2019-08-01 10:08:53,587 ERROR Connection establishment timed out net.grinder.plugin.http.TimeoutException: Connection establishment timed out at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3448) ~[grinder-httpclient-3.9.1.jar:na] at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3089) ~[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:474) ~[grinder-http-3.9.1.jar:na] at net.grinder.plugin.http.HTTPRequest$GET$0.call(Unknown Source) ~[na:na] at TestRunner.test(demo2-3.groovy:71) ~[na:na] at net.grinder.scriptengine.groovy.junit.GrinderRunner.run(GrinderRunner.java:170) ~[ngrinder-groovy- 3.4.3.jar:na] at net.grinder.scriptengine.groovy.GroovyScriptEngine$GroovyWorkerRunnable.run(GroovyScriptEngine.java:147) ~[ngrinder-groovy-3.4.3.jar:na] at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:118) ~[grinder-core-3.9.1.jar:na] 2、如若能正常启动,在2分钟之后,会出现如下错误,导致结束测试,这个报错一点思路都没有。。 2019-07-30 14:45:10,107 INFO before thread. init headers and cookies 2019-07-30 14:45:10,142 ERROR Premature EOF encountered HTTPClient.RetryException: Premature EOF encountered at HTTPClient.StreamDemultiplexor.retry_requests(StreamDemultiplexor.java:530) ~[grinder-httpclient-3.9.1.jar:na] at HTTPClient.StreamDemultiplexor.close(StreamDemultiplexor.java:498) ~[grinder-httpclient-3.9.1.jar:na] at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:369) ~[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:474) ~[grinder-http-3.9.1.jar:na] at net.grinder.plugin.http.HTTPRequest$GET$0.call(Unknown Source) ~[na:na] at TestRunner.test(demo2-3.groovy:71) ~[na:na] at net.grinder.scriptengine.groovy.junit.GrinderRunner.run(GrinderRunner.java:170) ~[ngrinder-groovy-3.4.3.jar:na] at net.grinder.scriptengine.groovy.GroovyScriptEngine$GroovyWorkerRunnable.run(GroovyScriptEngine.java:147) ~[ngrinder-groovy-3.4.3.jar:na] at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:118) ~[grinder-core-3.9.1.jar:na] |
Free forum by Nabble | Edit this page |