[ptt-users] Error executing sample agent

Frank Cohen fcohen at pushtotest.com
Mon Mar 12 03:41:47 PST 2007


Hi Anagha: Thanks for your interest in TestMaker. Please confirm a  
couple of things:

Are you running the HTTPS_SSL_Reference.py script?
Which version of Java are you running?
Which version of TestMaker are you running?

When I run HTTPS_SSL_Reference.py I see:

Proxy recorder server started on port: 8090
HTTPS shows how to configure X509 Digital Certificates
for HTTPS communication in the TestMaker environment.

Note: This script requires you to set the paths
to your own environment.

------------------------------
Agent stopped.
------------------------------
Agent error:
Traceback (innermost last):
   File "<string>", line 55, in ?
java.io.FileNotFoundException: c:/temp/clientcert.der (No such file  
or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native  
Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance 
(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance 
(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at org.python.core.PyReflectedConstructor.__call__ 
(PyReflectedConstructor.java)
	at org.python.core.PyJavaInstance.__init__(PyJavaInstance.java)
	at org.python.core.PyJavaClass.__call__(PyJavaClass.java)
	at org.python.core.PyObject.__call__(PyObject.java:270)
	at org.python.pycode._pyx1.f$0(<string>:55)
	at org.python.pycode._pyx1.call_function(<string>)
	at org.python.core.PyTableCode.call(PyTableCode.java)
	at org.python.core.PyCode.call(PyCode.java)
	at org.python.core.Py.runCode(Py.java)
	at org.python.core.Py.exec(Py.java)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
	at com.pushtotest.testmaker.gui.AgentRunner.run(Unknown Source)

java.io.FileNotFoundException: java.io.FileNotFoundException: c:/temp/ 
clientcert.der (No such file or directory)





On Mar 12, 2007, at 2:43 AM, Anagha Gadgil wrote:

> Hello,
>
> I have just started using TestMaker and tried executing the sample  
> agent .
> This is the error message I get. Can anyone please tell me if I  
> need to do
> any classpath setting?
>
>
> ------------------------------
> Agent stopped.
> ------------------------------
> Agent error:
> Traceback (innermost last):
>   File "<string>", line 22, in ?
> java.lang.NoClassDefFoundError:
> com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl
>
>       at java.lang.J9VMInternals.verifyImpl(Native Method)
>
>       at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
>
>       at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
>
>       at java.lang.Class.forNameImpl(Native Method)
>
>       at java.lang.Class.forName(Class.java:131)
>
>       at
> org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java)
>
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
>
>       at org.python.core.Py.findClassEx(Py.java)
>
>       at
> org.python.core.SysPackageManager.findClass(SysPackageManager.java)
>
>       at org.python.core.PackageManager.findClass(PackageManager.java)
>
>       at
> org.python.core.SysPackageManager.findClass(SysPackageManager.java)
>
>       at org.python.core.PyJavaPackage.__findattr__ 
> (PyJavaPackage.java)
>
>       at org.python.core.imp.importFromAs(imp.java)
>
>       at org.python.core.imp.importFrom(imp.java)
>
>       at org.python.pycode._pyx8.f$0(<string>:22)
>
>       at org.python.pycode._pyx8.call_function(<string>)
>
>       at org.python.core.PyTableCode.call(PyTableCode.java)
>
>       at org.python.core.PyCode.call(PyCode.java)
>
>       at org.python.core.Py.runCode(Py.java)
>
>       at org.python.core.Py.exec(Py.java)
>
>       at org.python.util.PythonInterpreter.exec 
> (PythonInterpreter.java)
>
>       at com.pushtotest.testmaker.gui.AgentRunner.run(Unknown Source)
>
>
> java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError:
> com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl
>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users
>



--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
TestMaker: The open-source SOA test automation tool





More information about the Users mailing list