Re: No '=' found for token starting at position
Philip Aston <[email protected]> Sat, 18 Feb 2012 15:40:53 +0000
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Fixed for next version under bug 3489034.
https://sourceforge.net/tracker/index.php?func=detail&aid=3489034&group_id=18598&atid=118598
Thanks for the report.
- Phil
On 18/02/12 00:11, Alex Crane wrote:
> Earlier today I submitted the below email to the user list. I have
> resolved the issue by adding the following line to Cookie.java after
> the other two similar lines mentioned in the patch/fix
> http://sourceforge.net/tracker/index.php?func=detail&aid=2952023&group_id=18598&atid=118598
> :
>
> set_cookie = set_cookie.replaceAll("(?i);\\s*HttpOnly",";");
>
> There is probably a better way to correct this, but I wanted to submit
> the fix I used to the development list.
>
> Thanks for the great tool.
>
> Alex
>
>
>
>
> Using Grinder 3.7.1 I am getting the below in my logs it looks similar
> to this issue http://sourceforge.net/tracker/index.php?func=detail&aid=2952023&group_id=18598&atid=118598.
> Though that looks like it was fixed a while ago:
>
> Thanks for any help.
>
> 2012-02-17 13:13:06,143 ERROR Sliver-4 thread-0 [ run-0 ]: Aborted
> run: Java exception calling TestRunner
> net.grinder.scriptengine.jython.JythonScriptExecutionException: Java
> exception calling TestRunner
> File "C:\Users\ACrane\Projects\LoadTesting\obi11g\bin\.\Sliver-file-store\current\obi_login_test.py",
> line 26, in __call__
> java.net.ProtocolException: Bad Set-Cookie header:
> ORA_BIPS_LBINFO=1358c8477c0;, ORA_BIPS_NQID=; path=/analytics;
> httponly; expires=Thu, 01 Jan 1970 00:00:00 GMT, ORA_BIPS_NQID=;
> path=/xmlpserver; httponly; expires=Thu, 01 Jan 1970 00:00:00 GMT,
> ORA_BIPS_ATGKEY=; path=/analytics; httponly; expires=Thu, 01 Jan 1970
> 00:00:00 GMT
> No '=' found for token starting at position 253
> at HTTPClient.Cookie.parse(Cookie.java:196)
> ~[grinder-httpclient-3.7.1.jar:na]
> at HTTPClient.CookieModule.handleCookie(CookieModule.java:472)
> ~[grinder-httpclient-3.7.1.jar:na]
> at HTTPClient.CookieModule.responsePhase1Handler(CookieModule.java:421)
> ~[grinder-httpclient-3.7.1.jar:na]
> at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:745)
> ~[grinder-httpclient-3.7.1.jar:na]
> at HTTPClient.HTTPResponse.getData(HTTPResponse.java:510)
> ~[grinder-httpclient-3.7.1.jar:na]
> at net.grinder.plugin.http.HTTPRequest$AbstractRequest.getHTTPResponse(HTTPRequest.java:1265)
> ~[grinder-http-3.7.1.jar:na]
> at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:503)
> ~[grinder-http-3.7.1.jar:na]
> at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:449)
> ~[grinder-http-3.7.1.jar:na]
> at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:435)
> ~[grinder-http-3.7.1.jar:na]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_30]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_30]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_30]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
> at org.python.core.PyReflectedFunction.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyMethod.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyObject.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyInstance.invoke(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.pycode._pyx1.__call__$4(C:\Users\ACrane\Projects\LoadTesting\obi11g\bin\.\Sliver-file-store\current\obi_login_test.py:26)
> ~[na:na]
> at org.python.pycode._pyx1.call_function(C:\Users\ACrane\Projects\LoadTesting\obi11g\bin\.\Sliver-file-store\current\obi_login_test.py)
> ~[na:na]
> at org.python.core.PyTableCode.call(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyTableCode.call(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyTableCode.call(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyFunction.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyMethod.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyObject.invoke(Unknown Source) ~[jython-2.2.1.jar:na]
> at org.python.core.PyInstance.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at org.python.core.PyObject.__call__(Unknown Source)
> ~[jython-2.2.1.jar:na]
> at net.grinder.scriptengine.jython.JythonScriptEngine$JythonWorkerRunnable.run(JythonScriptEngine.java:250)
> ~[grinder-core-3.7.1.jar:na]
> at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:118)
> ~[grinder-core-3.7.1.jar:na]
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Grinder-development mailing list
> Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/grinder-development
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/