java.io.EOFException: Premature EOF encountered 에러 관련 문의 드립니다.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.io.EOFException: Premature EOF encountered 에러 관련 문의 드립니다.

YoungWoo Kim
This post was updated on .
안녕하세요. 성능 테스트 스크립트 작성 중에 아래와 같은 에러가 발생해서 문의 드립니다.

request 보낼때, 발생하며, GET 이나, POST 방식에 관계 없이 발생합니다.
(groovy, jython  두가지 타입의 언어로 모두 작성해 보았는데 동일합니다.)

관련해서 정보를 찾아보니, GRINDER쪽에 BUG로 리포팅이 되었던 비슷한 에러가 있는데, 혹시 이부분이랑은 관계가 없는지 문의 드립니다.

nGrinder 버전 3.4 사용중입니다.


GRINDER쪽 버그 : https://sourceforge.net/p/grinder/bugs/172/

에러 메시지 :
2016-07-18 17:52:45,939 ERROR Aborted run: Java exception calling TestRunner
net.grinder.scriptengine.jython.JythonScriptExecutionException: Java exception calling TestRunner
        result = request2.GET('보안 처리 ****** ?%s'% finalBody)
        File "${NGRINDER_HOME}/script/admin/보안 처리 ****** .py", line 208, in LineInit_V1
        self.LineInit_V1()
        File "${NGRINDER_HOME}/script/admin/보안 처리 ****** .py", line 118, in __call__
java.io.EOFException: Premature EOF encountered
        at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:316) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.RespInputStream.read(RespInputStream.java:155) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.HTTPResponse.readResponseData(HTTPResponse.java:1011) ~[grinder-httpclient-3.9.1.jar:na]
        at HTTPClient.HTTPResponse.getData(HTTPResponse.java:515) ~[grinder-httpclient-3.9.1.jar:na]
        at net.grinder.plugin.http.HTTPRequest$AbstractRequest.getHTTPResponse(HTTPRequest.java:1290) ~[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.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_91]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_91]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
        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.LineInit_V1$6(${NGRINDER_HOME}/script/admin/LineLGSTZ.py:211) ~[na:na]
        at org.python.pycode._pyx1.call_function(${NGRINDER_HOME}/script/admin/LineLGSTZ.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:134) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyFunction.__call__(PyFunction.java:317) ~[jython-standalone-2.5.3.jar:na]
        at org.python.core.PyMethod.__call__(PyMethod.java:109) ~[jython-standalone-2.5.3.jar:na]
        at org.python.pycode._pyx1.__call__$3(${NGRINDER_HOME}/script/admin/LineLGSTZ.py:118) ~[na:na]
        at org.python.pycode._pyx1.call_function(${NGRINDER_HOME}/script/admin/LineLGSTZ.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:745) [na:1.8.0_91]
Reply | Threaded
Open this post in threaded view
|

Re: java.io.EOFException: Premature EOF encountered 에러 관련 문의 드립니다.

songeunwoo
안녕하세요.
해당 내용은 메일로 전달해 드렸으며, 3.4.1 버전에서 패치되어 적용 될 예정입니다.
감사합니다.