RE: [Grinder-use] HTTPProxy run after recording
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
From: Fitzgerald, C. <Calum.Fitzgerald@TheAA.com> - 2005-08-10 11:38:33
|
From the brief look I've had the error doesn't seem to make sense in relation to your scripts. The error refers to methods that should be called when trying to establish a HTTPS connection, and from your script you are only trying to access HTTP. where are your your scripts and properties file located? is it in the same directory "C:\Grinder\grinder-3.0-beta25\lib>" that you are launching grinder from? It might be worth removing the ssl entries from the grinder.properties. also try specifying the absolute path to the properties file when calling it: java net.grinder.Grinder "C:\Grinder\grinder-3.0-beta25\<location>\grinder.properties" it also might be worth trying to download the grinder binaries again, beta26 is out now. Cheers Calum -----Original Message----- From: Tushar [mailto:ba...@ma...] Sent: Wednesday August 2005 11:48 To: gri...@li... Subject: RE: [Grinder-use] HTTPProxy run after recording Hello Calum, Thanks for reply. Please find attached files for your reference. CLASSPATH=C:\Grinder\grinder-3.0-beta25\lib\grinder.jar I ran the script using C:\Grinder\grinder-3.0-beta25\lib>java net.grinder.Grinder Regards Tushar -----Original Message----- From: Fitzgerald, Calum [mailto:Calum.Fitzgerald@TheAA.com] Sent: Wednesday, August 10, 2005 14:16 To: 'Tushar'; gri...@li... Subject: RE: [Grinder-use] HTTPProxy run after recording Please could you post your grinder. properties, your classpath and startup options for net.grinder.Grinder and your httpscript.py to help track down the problem. Cheers Calum -----Original Message----- From: Tushar [mailto:ba...@ma...] Sent: Tuesday August 2005 15:34 To: gri...@li... Subject: [Grinder-use] HTTPProxy run after recording Hello All, I recorded one script using Grinder3.0. I changed proxy setting to address=localhost and port=8001 > java net.grinder.TCPProxy -httpplugin It created httpscript.py and httpscript_tests.py file. I added the same into grinder.properties and run using java net.grinder.Grinder It created the error log file with:: 8/9/05 7:51:59 PM (thread 0 run 0): Aborted run, script threw class java.lang.NoSuchMethodError: HTTPClient.HTTPConnection.setCheckCertificates(Z)V java.lang.NoSuchMethodError: HTTPClient.HTTPConnection.setCheckCertificates(Z)V at net.grinder.plugin.http.HTTPConnectionWrapper.setVerifyServerDistinguishedNa me(HTTPConnectionWrapper.java:167) at net.grinder.plugin.http.HTTPConnectionWrapper.<init>(HTTPConnectionWrapper.j ava:81) at net.grinder.plugin.http.HTTPPluginThreadState.getConnectionWrapper(HTTPPlugi nThreadState.java:91) at net.grinder.plugin.http.HTTPRequest$AbstractRequest.getHTTPResponse(HTTPRequ est.java:824) at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:363) at net.grinder.plugin.http.HTTPRequest.GET(HTTPRequest.java:313) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyInstance.invoke(PyInstance.java) at net.grinder.engine.process.TestPyJavaInstance.access$101(TestPyJavaInstance. java:35) at net.grinder.engine.process.TestPyJavaInstance$2.call(TestPyJavaInstance.java :77) at net.grinder.engine.process.ThreadContextImplementation.invokeTest(ThreadCont extImplementation.java:155) at net.grinder.engine.process.TestData.dispatch(TestData.java:79) at net.grinder.engine.process.TestPyJavaInstance.dispatch(TestPyJavaInstance.ja va:48) at net.grinder.engine.process.TestPyJavaInstance.invoke(TestPyJavaInstance.java :74) at org.python.pycode._pyx0.__call__$2(httpscript.py:13) at org.python.pycode._pyx0.call_function(httpscript.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.invoke(PyObject.java) at org.python.core.PyInstance.__call__(PyInstance.java) at org.python.core.PyObject.__call__(PyObject.java) at net.grinder.engine.process.JythonScript$JythonRunnable.run(JythonScript.java :143) at net.grinder.engine.process.GrinderThread.run(GrinderThread.java:128) at java.lang.Thread.run(Unknown Source) Please let me know the reason for the same. Regards Tushar ********************************************************* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT. This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use ********************************************************* ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Grinder-use mailing list Gri...@li... https://lists.sourceforge.net/lists/listinfo/grinder-use ********************************************************* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT. This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use ********************************************************* ********************************************************* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT. This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use ********************************************************* |