From fcohen at pushtotest.com Wed May 2 06:49:55 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed May 2 08:18:56 2007 Subject: [Dev] TestNode requires Java 1.5 Message-ID: <939FF7C5-18D1-4D61-B25B-12D242250C5A@pushtotest.com> I tried running the TM TestNode startup.bat and get and error saying that version of tomcat will only run with java 1.5. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Thu May 3 09:59:40 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 3 11:53:30 2007 Subject: [Dev] TestNode won't start when logs directory does not exist Message-ID: <00410554-29C7-42FB-9ECD-60BB5ED99B9D@pushtotest.com> I successfully checked-out and built the tm5 project. It runs under Apple's jdk 1.5 on my PowerMac G4. One funky thing I found is the default distribution does not automatically create the TestNodes/logs directory. Tomcat won't start without it. Strange! huh! -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From filipafmsoares at gmail.com Thu May 3 10:40:07 2007 From: filipafmsoares at gmail.com (Filipa) Date: Thu May 3 12:09:22 2007 Subject: [Dev] MalformedCookieException In-Reply-To: <4D352285-CE45-4A7D-891F-6EDBB7F80417@pushtotest.com> References: <6c03e9240704300657k62193451s87038c027f2eab21@mail.gmail.com> <4D352285-CE45-4A7D-891F-6EDBB7F80417@pushtotest.com> Message-ID: <6c03e9240705031040i1f2d8a8fk3cca66d2fa25d6d6@mail.gmail.com> Frank, Thanks for your help. I've tried the workaround and it resolved my problem. Best regards, Filipa On 4/30/07, Frank Cohen wrote: > > Hi Filipa: Thanks for using TestMaker. The problem you encountered is > a problem with the JCookie library that handles cookies for > TestMaker. The bug is reported at http://bugs.pushtotest.com/ticket/ > 8. We have a community provided fix that will appear in Testmaker > 4.4.2 distribution in the new week or two. In the meantime, please > read the bug report for a workaround. Please post a reply to this if > the workaround is confusing or doesn't work for you. Thanks. -Frank > > > > > > On Apr 30, 2007, at 6:57 AM, Filipa wrote: > > > Hi! > > > > I'm using TestMaker 4.4 and I'm getting a MalformedCookieException. > > As anyone knows what is the problem? I have already changed the > > jcookie.jar to a recent version but the problem persists. > > > > Thanks in advance! > > > > Here is the error detail: > > Request step: 2, http://siaithsy/PortalWeb/page > > > > com.sonalb.net.http.cookie.MalformedCookieException : TailMatch : > > Code=SBCL_0019 : > > OriginClass=com.sonalb.net.http.cookie.RFC2965CookieParser : > > OriginMethod=allowedCookie : CausalException= > > > > at com.sonalb.net.http.cookie.RFC2965CookieParser.allowedCookie > > (RFC2965CookieParser.java:634) > > > > at > > com.sonalb.net.http.cookie.RFC2965CookieParser.parseSingleCookieV0 > > (RFC2965CookieParser.java:1056) > > > > at com.sonalb.net.http.cookie.RFC2965CookieParser.parseSetCookieV0 > > (RFC2965CookieParser.java:850) > > > > at com.sonalb.net.http.cookie.RFC2965CookieParser.parseCookies > > (RFC2965CookieParser.java:121) > > > > at com.sonalb.net.http.cookie.Client.getCookies (Client.java:175) > > > > at com.sonalb.net.http.cookie.Client.getCookies(Client.java:170) > > > > at com.sonalb.net.http.cookie.Client.getCookies(Client.java:160) > > > > at com.pushtotest.tool.protocolhandler.HTTPProtocol.connect > > (HTTPProtocol.java:380) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at org.python.core.PyReflectedFunction.__call_ _ > > (PyReflectedFunction.java) > > > > at org.python.core.PyMethod.__call__(PyMethod.java) > > > > at org.python.core.PyObject.__call__(PyObject.java:270) > > > > at org.python.core.PyInstance.invoke (PyInstance.java) > > > > at agentbase$py.connect$6(C:\TestMaker\.\lib\.\agentbase.py:208) > > > > at agentbase$py.call_function(C:\TestMaker\.\lib\.\agentbase.py) > > > > 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.PyInstance.invoke(PyInstance.java ) > > > > at agentbase$py.get$4(C:\TestMaker\.\lib\.\agentbase.py:178) > > > > at agentbase$py.call_function(C:\TestMaker\.\lib\.\agentbase.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.PyInstance.invoke(PyInstance.java) > > > > at org.python.pycode._pyx2.runTest$4(:63) > > > > at org.python.pycode._pyx2.call_function() > > > > 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.PyInstance.invoke(PyInstance.java) > > > > at org.python.pycode._pyx2.f$0(:862) > > > > at org.python.pycode._pyx2.call_function() > > > > 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) > > > > ------------------------------ > > Agent stopped. > > > > _______________________________________________ > > Dev mailing list > > Dev@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/dev > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, > phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > -- Filipa M. Soares Abrantes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070503/d5c2b246/attachment-0001.htm From fcohen at pushtotest.com Thu May 3 17:09:37 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 3 18:38:52 2007 Subject: [Dev] MalformedCookieException In-Reply-To: <6c03e9240705031040i1f2d8a8fk3cca66d2fa25d6d6@mail.gmail.com> References: <6c03e9240704300657k62193451s87038c027f2eab21@mail.gmail.com> <4D352285-CE45-4A7D-891F-6EDBB7F80417@pushtotest.com> <6c03e9240705031040i1f2d8a8fk3cca66d2fa25d6d6@mail.gmail.com> Message-ID: <2F437005-E421-4254-9581-BC971938E529@pushtotest.com> Thanks for letting us know. That's great. -Frank On May 3, 2007, at 10:40 AM, Filipa wrote: > Frank, > > Thanks for your help. I've tried the workaround and it resolved my > problem. > > Best regards, > Filipa > > On 4/30/07, Frank Cohen wrote: Hi Filipa: > Thanks for using TestMaker. The problem you encountered is > a problem with the JCookie library that handles cookies for > TestMaker. The bug is reported at http://bugs.pushtotest.com/ticket/ > 8. We have a community provided fix that will appear in Testmaker > 4.4.2 distribution in the new week or two. In the meantime, please > read the bug report for a workaround. Please post a reply to this if > the workaround is confusing or doesn't work for you. Thanks. -Frank > > > > > > On Apr 30, 2007, at 6:57 AM, Filipa wrote: > > > Hi! > > > > I'm using TestMaker 4.4 and I'm getting a MalformedCookieException. > > As anyone knows what is the problem? I have already changed the > > jcookie.jar to a recent version but the problem persists. > > > > Thanks in advance! > > > > Here is the error detail: > > Request step: 2, http://siaithsy/PortalWeb/page > > > > com.sonalb.net.http.cookie.MalformedCookieException : TailMatch : > > Code=SBCL_0019 : > > OriginClass=com.sonalb.net.http.cookie.RFC2965CookieParser : > > OriginMethod=allowedCookie : CausalException= > > > > at com.sonalb.net.http.cookie.RFC2965CookieParser.allowedCookie > > (RFC2965CookieParser.java:634) > > > > at > > com.sonalb.net.http.cookie.RFC2965CookieParser.parseSingleCookieV0 > > ( RFC2965CookieParser.java:1056) > > > > at com.sonalb.net.http.cookie.RFC2965CookieParser.parseSetCookieV0 > > (RFC2965CookieParser.java:850) > > > > at com.sonalb.net.http.cookie.RFC2965CookieParser.parseCookies > > (RFC2965CookieParser.java:121) > > > > at com.sonalb.net.http.cookie.Client.getCookies (Client.java:175) > > > > at com.sonalb.net.http.cookie.Client.getCookies(Client.java:170) > > > > at com.sonalb.net.http.cookie.Client.getCookies(Client.java:160) > > > > at com.pushtotest.tool.protocolhandler.HTTPProtocol.connect > > (HTTPProtocol.java:380) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java :25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at org.python.core.PyReflectedFunction.__call_ _ > > (PyReflectedFunction.java) > > > > at org.python.core.PyMethod.__call_ _(PyMethod.java) > > > > at org.python.core.PyObject.__call__(PyObject.java:270) > > > > at org.python.core.PyInstance.invoke (PyInstance.java) > > > > at agentbase$py.connect$6(C:\TestMaker\.\lib\.\agentbase.py:208) > > > > at agentbase$py.call_function(C:\TestMaker\.\lib\.\agentbase.py) > > > > 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.PyInstance.invoke(PyInstance.java ) > > > > at agentbase$py.get$4(C:\TestMaker\.\lib\.\agentbase.py:178) > > > > at agentbase$py.call_function(C:\TestMaker\.\lib\.\agentbase.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.PyInstance.invoke(PyInstance.java) > > > > at org.python.pycode._pyx2.runTest$4(:63) > > > > at org.python.pycode._pyx2.call_function() > > > > 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.PyInstance.invoke(PyInstance.java) > > > > at org.python.pycode._pyx2.f$0(:862) > > > > at org.python.pycode._pyx2.call_function() > > > > 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) > > > > ------------------------------ > > Agent stopped. > > > > _______________________________________________ > > Dev mailing list > > Dev@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/dev > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com , phone 408 374 > 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > > > > -- > Filipa M. Soares Abrantes > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Fri May 4 15:59:15 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri May 4 17:28:46 2007 Subject: [Dev] Thoughts on service monitor and functional test definition Message-ID: I've been doing some thinking about how PushToTest Version 5 could operate a functional test as a service monitor. Here is an example TestScenario XML snippet defining a load test: Now here is a snippet defining a service monitor that uses the same functional test. The difference is the element and its children. Seems pretty straight forward. I also wondered about running a functional test across a variety of TestNodes. Here is a snippet of a functional test document: What do you think? I'm looking for comments, feedback, and improvements. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Thu May 10 20:07:23 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 10 21:38:23 2007 Subject: [Dev] Status and Check-ins please Message-ID: Hi William: Here's my list of things to finish for PushToTest TestMaker 5 "beta": dpl with lingo jsr223 scripting languages (including run local) installer (tm, testnode, monitor, firefox w/testgen4web, soapui, jre) docs/read-me/examples (frank) -commandline needs Preferences GUI and XML enhancements testgen4web - jython agent generator localhost testnode startup in Preferences GUI monitor for mac and linux + snmp monitor icon to run scripts locally Would you please post your status and check-in all of the changes to cvs? Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA governance and test automation tool -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From wmartinez at AVANTICATEC.NET Fri May 11 09:08:20 2007 From: wmartinez at AVANTICATEC.NET (=?us-ascii?Q?William_Martinez_Pomares?=) Date: Fri May 11 10:40:46 2007 Subject: [Dev] Status and Check-ins please In-Reply-To: Message-ID: <85A61B0FDDD4834EA295605C349BABAA21E7BB@dc1avantica.AVANTICA.AVANTICATEC.NET> Hello. This is the status: 1. DPL with Lingo is done. Also, there is an example that shows Lingo DPL and how to create a custom DPL. 2. Notification are done, including SSL connection so mail server and the credentials in the preferences. You can also override those with the credentials directly in the testscenario.xml 3. JSR223 contains now a button to run script locally. They are also runnable in TestNetwork 4. Commandaline. You can execute a testscenario from commandline using TestMaker -t testscenarioname.xml 5. and are now supported. Adding this new tags to the testScenario.xml you can convert the script from a load test to a monitor (runs periodically and notifies when there is a problem) or a functionaltest (runs an specific number of times to check if it still works). 6. A new HTMLUnit tool was added, that will allow developers to use Gargoyle HTMLUnit api to test HTML. 7. A new Import TG4W cript was added. It will take a TG4W xml script and generate a Jython Script that uses HTMLUnit to simulate the recored HTML session. It will also generate a standard Testscenario.xml with the jython call. 8. Now testmaker ships with an incorporated TestNetwork. Using preferences, Testmaker can start automatically its local TestNetwork node. Still working on: Monitor for Mac and SNMP Monitor layer. William Martinez Pomares Architect Avantica Technologies Phone(US) :+1 (650) 353-4522 Ext 131 Fax(US) :+1 (877) 372-1955 Phone(CR) :+506 283-9100 Ext 131 Fax(CR) :+506 253-7451 http://www.avantica.net -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Frank Cohen Sent: Thursday, May 10, 2007 9:07 PM To: TestMaker Developers List Subject: [Dev] Status and Check-ins please Hi William: Here's my list of things to finish for PushToTest TestMaker 5 "beta": dpl with lingo jsr223 scripting languages (including run local) installer (tm, testnode, monitor, firefox w/testgen4web, soapui, jre) docs/read-me/examples (frank) -commandline needs Preferences GUI and XML enhancements testgen4web - jython agent generator localhost testnode startup in Preferences GUI monitor for mac and linux + snmp monitor icon to run scripts locally Would you please post your status and check-in all of the changes to cvs? Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA governance and test automation tool -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ Dev mailing list Dev@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/dev From fcohen at pushtotest.com Fri May 11 10:18:46 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri May 11 11:49:52 2007 Subject: [Dev] Status and Check-ins please In-Reply-To: <85A61B0FDDD4834EA295605C349BABAA21E7BB@dc1avantica.AVANTICA.AVANTICATEC.NET> References: <85A61B0FDDD4834EA295605C349BABAA21E7BB@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: <521F3B46-F586-43DA-ABFC-A8F5EC77263F@pushtotest.com> Excellent progress. I'll work this weekend on the release notes, a draft tutorial, and packaging the "beta" release. -Frank On May 11, 2007, at 9:08 AM, William Martinez Pomares wrote: > Hello. > This is the status: > 1. DPL with Lingo is done. Also, there is an example that shows Lingo > DPL and how to create a custom DPL. > 2. Notification are done, including SSL connection so mail server and > the credentials in the preferences. You can also override those > with the > credentials directly in the testscenario.xml > 3. JSR223 contains now a button to run script locally. They are also > runnable in TestNetwork > 4. Commandaline. You can execute a testscenario from commandline using > TestMaker -t testscenarioname.xml > 5. and are now supported. Adding this new > tags to the testScenario.xml you can convert the script from a load > test > to a monitor (runs periodically and notifies when there is a > problem) or > a functionaltest (runs an specific number of times to check if it > still > works). > 6. A new HTMLUnit tool was added, that will allow developers to use > Gargoyle HTMLUnit api to test HTML. > 7. A new Import TG4W cript was added. It will take a TG4W xml > script and > generate a Jython Script that uses HTMLUnit to simulate the recored > HTML > session. It will also generate a standard Testscenario.xml with the > jython call. > 8. Now testmaker ships with an incorporated TestNetwork. Using > preferences, Testmaker can start automatically its local TestNetwork > node. > > Still working on: > Monitor for Mac and SNMP Monitor layer. > > William Martinez Pomares > Architect > Avantica Technologies > Phone(US) :+1 (650) 353-4522 Ext 131 > Fax(US) :+1 (877) 372-1955 > Phone(CR) :+506 283-9100 Ext 131 > Fax(CR) :+506 253-7451 > http://www.avantica.net > > > > -----Original Message----- > From: dev-bounces@lists.pushtotest.com > [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Frank Cohen > Sent: Thursday, May 10, 2007 9:07 PM > To: TestMaker Developers List > Subject: [Dev] Status and Check-ins please > > > Hi William: Here's my list of things to finish for PushToTest > TestMaker 5 "beta": > > dpl with lingo > > jsr223 scripting languages (including run local) > installer (tm, testnode, monitor, firefox w/testgen4web, soapui, jre) > docs/read-me/examples (frank) > -commandline > needs Preferences GUI and XML enhancements > > > testgen4web - jython agent generator > localhost testnode startup in Preferences GUI > monitor for mac and linux + snmp monitor > icon to run scripts locally > > Would you please post your status and check-in all of the changes to > cvs? > > Thanks. > > -Frank > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA governance and test automation tool > > > > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Sat May 12 11:53:41 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Sat May 12 13:25:04 2007 Subject: [Dev] C test runner? Message-ID: Hi William: FYI, I expect we will be doing a bunch of these overtime. What do you think? -Frank Hi Pierre: We're going to release a "feature complete" version of PushToTest TestMaker Version 5 next week that has a new Test Scenario system for running tests. The syntax looks like this: Note the langtype attribute. PushToTest 5 has a new test runner with drivers for Java, Jython, Groovy, Ruby, Rhino (JavaScript), soapui, TestGen4Web, and the JSR 223 Script Engines. For instance, langtype="groovy" would run a test written in Groovy. We would be glad to add an additional driver to make a call to a C library called through a DLL. Would you please tell me more about your intended use to help us define the DLL interface better. For instance, will you be passing attributes to the DLL? What is the return value for a successful run of the C library? -Frank On May 12, 2007, at 12:35 AM, Pierre Laboureau wrote: > Hi, > > PushToTest can run nominally load tests with some protocols like > HTTP, SOAP, ... I know that pushtotest can work with others Java > APIs to stress an environment throughout others protocols. > > But can Jython load C libraries without Java interfaces ? I think > about an use-case whrere I will have to stress throuthout "owner > protocol" by using the software provider's C API > > Pierre. > _______________________________________________ > Users mailing list > Users@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 -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From wmartinez at avantica.net Sat May 12 15:48:36 2007 From: wmartinez at avantica.net (William Martinez) Date: Sat May 12 17:20:01 2007 Subject: [Dev] C test runner? In-Reply-To: References: Message-ID: Hi. C Language may be supported by using JNI. We can either create a simple Java unit test that calls a specific DLL that in turn calls the C code. The DLL would then be a wrapper that exposes the same functions as the C API, in that way the Java Agent developer can call the same API as if calling directly C. William. On Sat, 12 May 2007 11:53:41 -0700 Frank Cohen wrote: > Hi William: FYI, I expect we will be doing a bunch of >these overtime. What do you think? -Frank > > > > Hi Pierre: We're going to release a "feature complete" >version of PushToTest TestMaker Version 5 next week that >has a new Test Scenario system for running tests. The >syntax looks like this: > > > testclass="com.examples.example" > method="sqrt" langtype="java"/> > > > Note the langtype attribute. PushToTest 5 has a new test >runner with drivers for Java, Jython, Groovy, Ruby, >Rhino (JavaScript), soapui, TestGen4Web, and the JSR 223 >Script Engines. For instance, langtype="groovy" would >run a test written in Groovy. > > We would be glad to add an additional driver to make a >call to a C library called through a DLL. > > Would you please tell me more about your intended use to >help us define the DLL interface better. For instance, >will you be passing attributes to the DLL? What is the >return value for a successful run of the C library? > > -Frank > > > > > On May 12, 2007, at 12:35 AM, Pierre Laboureau wrote: > >> Hi, >> >> PushToTest can run nominally load tests with some >>protocols like >> HTTP, SOAP, ... I know that pushtotest can work with >>others Java >> APIs to stress an environment throughout others >>protocols. >> >> But can Jython load C libraries without Java interfaces >>? I think >> about an use-case whrere I will have to stress >>throuthout "owner >> protocol" by using the software provider's C API >> >> Pierre. >> _______________________________________________ >> Users mailing list >> Users@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 > > > > > > -- >Frank Cohen, PushToTest, http://www.PushToTest.com, phone >408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev From fcohen at pushtotest.com Mon May 14 11:46:40 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon May 14 13:18:34 2007 Subject: [Dev] Vote on bundling JRE 6 in TestMaker 5 Message-ID: <9A3FDA45-E5AA-411C-835A-C2EE19479B91@pushtotest.com> We're working towards a "beta" release of PushToTest TestMaker 5. The new software requires Java 6. We are considering bundling the JRE 6 with TestMaker 5. Please vote on your preference: +1 means you like the idea, -1 means you do not like the idea. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From Carl.Herder at ca.com Mon May 14 11:51:15 2007 From: Carl.Herder at ca.com (Herder, Carl S) Date: Mon May 14 13:23:09 2007 Subject: [Dev] Vote on bundling JRE 6 in TestMaker 5 In-Reply-To: <9A3FDA45-E5AA-411C-835A-C2EE19479B91@pushtotest.com> References: <9A3FDA45-E5AA-411C-835A-C2EE19479B91@pushtotest.com> Message-ID: <3240464A2687334E92AAB86DAB650453053151C1@USILMS13.ca.com> +1 Bundling it implies that TM will not depend on the environment to find the JVM (e.g. $JAVA_HOME), which would have an impact on other things running on the box. It's a good idea for TM to be as self-contained as possible. Carl -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto:dev-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen Sent: Monday, May 14, 2007 11:47 AM To: PushToTest TestMaker Developers List Subject: [Dev] Vote on bundling JRE 6 in TestMaker 5 We're working towards a "beta" release of PushToTest TestMaker 5. The new software requires Java 6. We are considering bundling the JRE 6 with TestMaker 5. Please vote on your preference: +1 means you like the idea, -1 means you do not like the idea. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ Dev mailing list Dev@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/dev From fcohen at pushtotest.com Mon May 14 18:38:22 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon May 14 20:10:22 2007 Subject: [Dev] TestNode on startup Message-ID: Hi William: How do I start the localhost TestNode when TestMaker 5 starts-up? -Frank -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Mon May 14 21:51:29 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon May 14 23:23:31 2007 Subject: [Dev] Problem opening TestScenario Message-ID: Hi William: I get an "not well formed" error dialog box when I try to open the attached file. This is a skeleton file I'm working on for the New Load Test button in the PushToTest tool bar. TM should at least let you open the file. Also, sometimes the error outputs the XML parser error which is very helpful to debug the xml problem. It should always output something. Please look into this. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool -------------- next part -------------- A non-text attachment was scrubbed... Name: load_test.xml Type: text/xml Size: 1339 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070514/e459a6d4/load_test.xml -------------- next part -------------- From fcohen at pushtotest.com Tue May 15 06:53:52 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue May 15 08:26:00 2007 Subject: [Dev] Service monitor well formed error Message-ID: <3AAC5508-31B6-40E1-85D8-62FBF606D784@pushtotest.com> Hi William: See the attached TestScenario document for a service monitor. I get a well formed error. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool -------------- next part -------------- A non-text attachment was scrubbed... Name: service_monitor2.xml Type: text/xml Size: 1848 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070515/6ab74c9c/service_monitor2.xml -------------- next part -------------- From fcohen at pushtotest.com Tue May 15 06:58:35 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue May 15 08:30:41 2007 Subject: [Dev] Error opening a functional test Message-ID: <4BEC5FDF-05CB-46B2-B750-E8BD1916B427@pushtotest.com> Hi William: I get a well formed error on opening the attached functional test. -Frank -------------- next part -------------- A non-text attachment was scrubbed... Name: functional_test2.xml Type: text/xml Size: 1792 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070515/ec446cc2/functional_test2.xml -------------- next part -------------- -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA governance and test automation tool From jer_57 at cox.net Tue May 15 07:10:45 2007 From: jer_57 at cox.net (Jerry S.) Date: Tue May 15 08:42:45 2007 Subject: [Dev] Vote on bundling JRE 6 in TestMaker 5 In-Reply-To: <9A3FDA45-E5AA-411C-835A-C2EE19479B91@pushtotest.com> References: <9A3FDA45-E5AA-411C-835A-C2EE19479B91@pushtotest.com> Message-ID: <1478954080.20070515071045@cox.net> Hello PushToTest, +1 but also make it convenient to use a different JRE/JDK is needed. jer Monday, May 14, 2007, 11:46:40 AM, you wrote: FC> We're working towards a "beta" release of PushToTest TestMaker 5. The FC> new software requires Java 6. We are considering bundling the JRE 6 FC> with TestMaker 5. Please vote on your preference: +1 means you like FC> the idea, -1 means you do not like the idea. FC> Thanks. FC> -Frank FC> -- FC> Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 FC> TestMaker: The open-source SOA test automation tool FC> _______________________________________________ FC> Dev mailing list FC> Dev@lists.pushtotest.com FC> http://lists.pushtotest.com/mailman/listinfo/dev -- USE THE BEST . . . Linux for servers . . . Macintosh for graphics . . . Palm for mobility . . . Windows for solitaire! From fcohen at pushtotest.com Tue May 15 11:12:05 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue May 15 12:44:14 2007 Subject: [Dev] Re: current Mac Monitor status In-Reply-To: <85A61B0FDDD4834EA295605C349BABAA235F66@dc1avantica.AVANTICA.AVANTICATEC.NET> References: <85A61B0FDDD4834EA295605C349BABAA235F66@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: <6C525513-68DD-4E50-81D8-BFF21B5FEC30@pushtotest.com> Mac OS X has some of the BSD Unix utilities. Here's what you should be using: iostat - gives cpu usage vm_stat - gives memory netstat - gives network activity -Frank On May 15, 2007, at 10:21 AM, William Mart?nez Pomares wrote: > > FYI >> -----Original Message----- >> From: Luis Carlos Lara L?pez >> Sent: Tuesday, May 15, 2007 9:50 AM >> To: William Mart?nez Pomares >> Subject: current Mac Monitor stated >> Importance: High >> >> Unix monitor: Current state >> >> The Mac and Linux Monitor are a derivation from the Windows >> monitor, only that this monitor uses the system command to obtain >> the required information. The command used is TOP >> >> TOP in Mac (top -l 1) shows and output like >> >> Processes: 47 total, 2 running, 45 sleeping... 137 >> threads 09:34:12 >> Load Avg: 1.45, 1.02, 0.86 CPU usage: 22.4% user, 77.6% sys, >> 0.0% idle >> SharedLibs: num = 143, resident = 24.1M code, 2.54M data, 3.84M >> LinkEdit >> MemRegions: num = 3336, resident = 123M + 6.70M private, 24.4M >> shared >> PhysMem: 35.7M wired, 140M active, 70.8M inactive, 246M used, >> 9.18M free >> VM: 2.26G + 96.4M 14714(0) pageins, 265(0) pageouts >> >> PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD >> RSIZE VSIZE >> 23840 top 0.0% 0:00.16 1 17 20 188K 332K >> 608K 26.9M >> 21749 mdimport 0.0% 0:01.64 3 60 51 912K 1.43M >> 2.82M 38.3M >> 10500 bash 0.0% 0:00.74 1 14 18 204K 784K >> 852K 27.1M >> 10499 login 0.0% 0:00.04 1 16 38 168K 352K >> 568K 26.9M >> 3487 bash 0.0% 0:02.76 1 14 17 208K 784K >> 588K 27.1M >> 3486 login 0.0% 0:00.04 1 16 38 168K 352K >> 568K 26.9M >> 2724 Terminal 0.0% 4:09.64 7 165 179 3.84M 6.96M >> 10.1M 90.1M >> 210 OSXvnc-ser 0.0% 63:49.54 4 98 104 27.4M 1.85M >> 29.3M 97.7M >> 192 Share My D 0.0% 16:09.24 1 66 140 63.1M 5.12M >> 67.3M 137M >> 190 System Eve 0.0% 0:07.05 1 56 59 920K 1.08M >> 2.70M 45.8M >> >> TOP in Linux (top -n 1) it shows and output like >> >> >> top - 09:23:35 up 17 days, 18:08, 2 users, load average: 0.21, >> 0.19, 0.17 >> Tasks: 129 total, 1 running, 128 sleeping, 0 stopped, 0 zombie >> Cpu(s): 22.6%us, 0.3%sy, 0.0%ni, 76.8%id, 0.1%wa, 0.1%hi, 0.0% >> si, 0.0%st >> Mem: 514156k total, 502532k used, 11624k free, 110556k >> buffers >> Swap: 525288k total, 88k used, 525200k free, 176160k >> cached >> >> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND >> 8219 llara 15 0 2152 992 740 R 5.6 0.2 0:00.06 top >> 27244 mysql 18 0 187m 32m 4600 S 1.9 6.5 5714:41 mysqld >> 1 root 15 0 2028 728 628 S 0.0 0.1 0:01.39 init >> >> >> With that information we can obtain the CPU and Memory statistic, >> nevertheless the NET information is not present. We continue >> looking for a command that allows us to get the Network data. >> >> Approach shortcomings >> >> * TOP output is processed using grep command. Both commands must >> be present for the monitor to work. >> * The output is processed using regular expression. If the output >> differs considerably between flavors of Linux and Mac, more >> complex GREP Regular Expressions must be made to get the required >> information. >> >> >> -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Tue May 15 19:10:50 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue May 15 23:55:31 2007 Subject: [Dev] TM5 Checklist for "Beta" Release Message-ID: <7988000D-DB4B-4A4C-83DD-D49B7C0CBFD1@pushtotest.com> This is a very exciting time! We are days away from the "beta" release of PushToTest TestMaker Version 5. Here is my check-list of things to-do for the "beta" release: Send skeleton files for to William (Frank) Prelim docs -> Melinda (Frank) Sample spec -> Brady (Frank) webtest Java library (Frank) publish testscenario.xsd url (Frank) installer (tm, testnode, monitor, testgen4web plugin, soapui, jre) (William) needs Preferences GUI and XML enhancements (William) localhost testnode startup in Preferences GUI (William) Merge tm 4.4.1 to 5: jCookie TLD changes, Multipart form fix (Frank) Ant script to build docs.pushtotest.com (Frank) And the remaining open bugs in bugs.pushtotest.com Please let me know if I've left something off the list. I am targeting Friday May 18 for the Beta release. Here is a short list of features that are postponed until PushToTest 5.1: snmp monitor mac os x key mapping in J classpath config util Apache SOAP protocol handler SIP protocol handler Eclipse Plug-in Mule/Spring Plug-in -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From filipafmsoares at gmail.com Wed May 16 07:02:20 2007 From: filipafmsoares at gmail.com (Filipa Martins Soares Abrantes) Date: Wed May 16 08:34:39 2007 Subject: [Dev] TM5 Checklist for "Beta" Release In-Reply-To: <7988000D-DB4B-4A4C-83DD-D49B7C0CBFD1@pushtotest.com> References: <7988000D-DB4B-4A4C-83DD-D49B7C0CBFD1@pushtotest.com> Message-ID: <6c03e9240705160702g40f686bfv16daf2e40e4203fa@mail.gmail.com> Hi! I'm trying to execute a test script with concurrent threads, but I think the threads are being executed in a sequential order instead. This is the code I'm executing: numThread = 3 numThreadPerBlocks = 5 fimThread = 0 tinicio = Date().time while (i < numThread): x = 0 if (numThread - i < numThreadPerBlocks): numThreadPerBlocks = numThread - i while (x < numThreadPerBlocks): print "Start thread ", i test = Portal5( 1, 'console file ', 0, '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, 'Portal5', 1 ) test.setUp() thread.start_new_thread( test.runTest(), (i,)) x += 1 i += 1 time.sleep(10) time.sleep(40) print "Stop between blocks" while (fimThread < i): time.sleep(1) This is my text output: Start thread 0 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ .. Start thread 1 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ Can anyone tell me how can put the threads executing concurrently? Thanks in advance, Filipa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070516/1d8916a5/attachment.htm From fcohen at pushtotest.com Wed May 16 15:50:43 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed May 16 18:18:35 2007 Subject: [Dev] Minor bug fixes for beta Message-ID: <234894D6-52A2-4BB0-9033-6FBD99540AE8@pushtotest.com> Hi William: Thanks for the fixes yesterday. Here is a list of minor bug fixes. I'll put these into bugs.pushtotest.com too. 1) When I expand a panel from the Controller the resulting JFrame is set to always be "on-top" of all other windows. The JFrame should be just your regular window. 2) Please change testscenario.xsd to use loadtest, instead of the capitalized loadTest. 3) Attached are the skeleton Test Scenario files. The current TM5 will not open these files for the following reasons: a) load_test not having any element causes the well formed error, b) functional_test throws an exception "Open quote is expected for attribute "repeat" associated with an element type", c) service_monitor throws an exception "Open quote is expected for attribute "repeat" associated with an element type "monitor". 4) Please use the skeleton files when the user clicks "New Load Test", "New Functional Test", "New Service Monitor" from the PushToTest toolbar. 5) Expect some small check-ins from me on Thursday and Friday, so be sure to update your source. Thanks! -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool -------------- next part -------------- A non-text attachment was scrubbed... Name: load_test.xml Type: text/xml Size: 1695 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070516/a3cb84fc/load_test.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: service_monitor.xml Type: text/xml Size: 1547 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070516/a3cb84fc/service_monitor.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: functional_test.xml Type: text/xml Size: 1450 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070516/a3cb84fc/functional_test.xml -------------- next part -------------- From fcohen at pushtotest.com Wed May 16 17:26:15 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed May 16 18:58:42 2007 Subject: [Dev] Fwd: TM5 current status References: <85A61B0FDDD4834EA295605C349BABAA2363F6@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: <9C48BDF5-DD28-4FC4-A27F-5428CE3F59A7@pushtotest.com> Begin forwarded message: > From: William Mart?nez Pomares > Date: May 16, 2007 12:08:14 PM CDT > To: "Frank Cohen (E-mail)" > Subject: TM5 current status > > Hi Frank. > Here are the notes Luis Carlos passed about current status. There > are some things you passed to 5.1 but I think we already did them. > > Please take a look... > > William. > > -----Original Message----- > From: Luis Carlos Lara L?pez > Sent: Wednesday, May 16, 2007 10:38 AM > To: William Mart?nez Pomares > Subject: current state > Importance: High > > > Logs are implemented using > com.pushtotest.testmaker.XSTest.xml.TestScenario.SimpleLogger Class > Info tag is implemented when a event occur > Warn and Error Tag are implemented but not used. The user can use > it to log scripts error. > > Log are copy in the default directory using the hostname > plus the log name used in the XML > > Apache SOAP protocol handler > Apache axis is already implemented. > > > localhost testnode startup in Preferences GUI. > Done > > > needs Preferences GUI and XML enhancements (William) > Done. GUI needs enhancements. > > Mail Information can be done using > > ? Standard TestMaker notification (Presented in GUI in tools- > > preferences) > > > > > > > > value="dc1avantica.vbnticatec.net" /> > > > > > > > > ? In test scenario xml as a general settings > > > 1 > > > > > > > > value="dc1avantica.avantica.avanticatec.net"/> > > > > subject="test case started"/> > > > > ? In test scenario as a specific setting > > > subject="test case started" id="lllara@avanticatest.net" > password="12345" secure="ssl" /> > > > > Mac OS X has some of the BSD Unix utilities for monitor > (iostat,vm_stat, netstat). > Working on it > > > installer (tm, testnode, monitor, testgen4web plugin, soapui, jre) > Working on it. > > And the remaining open bugs in bugs.pushtotest.com > Please check the bugs and assign current state. > > > > > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From filipafmsoares at gmail.com Thu May 17 03:18:28 2007 From: filipafmsoares at gmail.com (Filipa Martins Soares Abrantes) Date: Thu May 17 04:51:02 2007 Subject: Fwd: [Dev] TM5 Checklist for "Beta" Release In-Reply-To: <6c03e9240705160702g40f686bfv16daf2e40e4203fa@mail.gmail.com> References: <7988000D-DB4B-4A4C-83DD-D49B7C0CBFD1@pushtotest.com> <6c03e9240705160702g40f686bfv16daf2e40e4203fa@mail.gmail.com> Message-ID: <6c03e9240705170318v15745612tf4857368d86d1c5a@mail.gmail.com> Hi again! I've sent the following post yesterday, but I forgot to change the subject. I hope anyone can help me. Thanks! Filipa ---------- Forwarded message ---------- From: Filipa Martins Soares Abrantes Date: May 16, 2007 3:02 PM Subject: Re: [Dev] TM5 Checklist for "Beta" Release To: PushToTest TestMaker Developers List Hi! I'm trying to execute a test script with concurrent threads, but I think the threads are being executed in a sequential order instead. This is the code I'm executing: numThread = 3 numThreadPerBlocks = 5 fimThread = 0 tinicio = Date().time while (i < numThread): x = 0 if (numThread - i < numThreadPerBlocks): numThreadPerBlocks = numThread - i while (x < numThreadPerBlocks): print "Start thread ", i test = Portal5( 1, 'console file ', 0, '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, 'Portal5', 1 ) test.setUp() thread.start_new_thread( test.runTest(), (i,)) x += 1 i += 1 time.sleep(10) time.sleep (40) print "Stop between blocks" while (fimThread < i): time.sleep(1) This is my text output: Start thread 0 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ .. Start thread 1 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ Can anyone tell me how can put the threads executing concurrently? Thanks in advance, Filipa -- Filipa M. Soares Abrantes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070517/19c182d7/attachment-0001.htm From filipafmsoares at gmail.com Thu May 17 04:58:38 2007 From: filipafmsoares at gmail.com (Filipa Martins Soares Abrantes) Date: Thu May 17 06:31:11 2007 Subject: [Dev] Test script with concurrent threads Message-ID: <6c03e9240705170458t3087c32ep548f4e133fb3920e@mail.gmail.com> Hi again! I've sent the following post yesterday, but I forgot to change the subject. I hope anyone can help me. Thanks! Filipa ---------- Forwarded message ---------- From: Filipa Martins Soares Abrantes Date: May 16, 2007 3:02 PM Subject: Re: [Dev] TM5 Checklist for "Beta" Release To: PushToTest TestMaker Developers List Hi! I'm trying to execute a test script with concurrent threads, but I think the threads are being executed in a sequential order instead. This is the code I'm executing: numThread = 3 numThreadPerBlocks = 5 fimThread = 0 tinicio = Date().time while (i < numThread): x = 0 if (numThread - i < numThreadPerBlocks): numThreadPerBlocks = numThread - i while (x < numThreadPerBlocks): print "Start thread ", i test = Portal5( 1, 'console file ', 0, '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, 'Portal5', 1 ) test.setUp() thread.start_new_thread( test.runTest(), (i,)) x += 1 i += 1 time.sleep(10) time.sleep (40) print "Stop between blocks" while (fimThread < i): time.sleep(1) This is my text output: Start thread 0 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ .. Start thread 1 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ Can anyone tell me how can put the threads executing concurrently? Thanks in advance, Filipa -- Filipa M. Soares Abrantes -- Filipa M. Soares Abrantes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070517/3c020ae1/attachment.htm From fcohen at pushtotest.com Thu May 17 10:20:25 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 17 11:53:05 2007 Subject: [Dev] Re: About options and the JUnit button In-Reply-To: <85A61B0FDDD4834EA295605C349BABAA2367B1@dc1avantica.AVANTICA.AVANTICATEC.NET> References: <85A61B0FDDD4834EA295605C349BABAA2367B1@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: <68B0C7B5-5E83-41BB-8402-FCCCA67817A9@pushtotest.com> Please use milliseconds for all values. The JUnit TestCase button should create the attached skeleton. -Frank -------------- next part -------------- A non-text attachment was scrubbed... Name: testcase.py Type: text/x-python-script Size: 1444 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070517/5f7b43d7/testcase.bin -------------- next part -------------- On May 17, 2007, at 10:03 AM, William Mart?nez Pomares wrote: > > > -----Original Message----- > From: Luis Carlos Lara L?pez > Sent: Thursday, May 17, 2007 10:32 AM > To: William Mart?nez Pomares > Subject: to frank > Importance: High > > Actual state of the times flags > > > 0 > > > > > > > I think its better to use the same format. Something like that > > > > > > > > > Currently all time all in miliseconds, do you like it in seconds? > > > > In the new scenario screen there is a button name jUnit TestCase. > This button currently do nothing. What is the function of this button > > (The generic Scalability Test create the test skeleton you give us) > > > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Sun May 20 21:45:56 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Sun May 20 23:19:24 2007 Subject: [Dev] Beta test plan Message-ID: <14AFCB40-0A56-48A1-8486-631BA5BCE4EE@pushtotest.com> Below is the check-list I plan to use to test the PushToTest Version 5 "beta" release. I am seeking any and all feedback. -- Install TM5 Using The Installer Install TestNode on Windows Using The Installer Install a monitor on Windows using the Installer Same on Mac OS X Create A New Test Scenario Use TestGen4Web plug-in Run TestGen4Web XML in a Use Tools -> Transform and run resulting TestCase Use soapUI to create a functional test Run the soapUI test in a Release Notes Installation Instructions "Beta" Tutorial -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Wed May 23 09:18:34 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed May 23 18:34:05 2007 Subject: [Dev] Skeletons work Message-ID: Hi William: Thanks for the cvs commit yesterday for TM5. I confirmed that the skeleton files are working properly now. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Wed May 23 12:08:18 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed May 23 18:34:06 2007 Subject: [Dev] examples extra? Message-ID: <1F89B74F-79B3-40AC-BC24-8458FA673B08@pushtotest.com> Anyone know why tm5/examplesTestScenarios/SimpleDPL/src/examples/dpl is in the tm5 cvs repository? It's empty. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Wed May 23 13:11:08 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed May 23 18:34:08 2007 Subject: [Dev] TG4W exception in loadtest Message-ID: <10E039B6-9C14-4FC7-AEC1-757485888D58@pushtotest.com> Take a look at the attached TestScenario and TestGen4Web files. I cannot run this test: - Test Resources - XML Scenario: /Users/frankcohen/dev/exampleTestScenarios/betatrys/ loadtest1.xml TestGen4Web File: file:////Users//frankcohen//dev// exampleTestScenarios//tg4w_test//tomcat_test//tomcat_test.xml - Loading Scenario - The node localhost is valid AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException faultSubcode: faultString: java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed outAxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException faultSubcode: faultString: java.net.SocketTimeoutException: Read timed out faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/} stackTrace:java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.coyote.http11.InternalInputBuffer.fill (InternalInputBuffer.java:747) at org.apache.coyote.http11.InternalInputBuffer $InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) at org.apache.coyote.http11.filters.IdentityInputFilter.doRead (IdentityInputFilter.java:115) at org.apache.coyote.http11.InternalInputBuffer.doRead (InternalInputBuffer.java:712) at org.apache.coyote.Request.doRead(Request.java:427) at org.apache.catalina.connector.InputBuffer.realReadBytes (InputBuffer.java:283) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:298) at org.apache.catalina.connector.CoyoteInputStream.read (CoyoteInputStream.java:192) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.axis.attachments.BoundaryDelimitedStream.readFromStream (BoundaryDelimitedStream.java:215) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:300) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:358) at org.apache.axis.attachments.ManagedMemoryDataSource.&lt;init&gt; (ManagedMemoryDataSource.java:146) at org.apache.axis.attachments.MultiPartRelatedInputStream.readTillFound (MultiPartRelatedInputStream.java:557) at org.apache.axis.attachments.MultiPartRelatedInputStream.readAll (MultiPartRelatedInputStream.java:433) at org.apache.axis.attachments.MultiPartRelatedInputStream.getAttachments (MultiPartRelatedInputStream.java:439) at org.apache.axis.attachments.AttachmentsImpl.mergeinAttachments (AttachmentsImpl.java:171) at org.apache.axis.attachments.AttachmentsImpl.getAttachmentByReference (AttachmentsImpl.java:341) at org.apache.axis.encoding.DeserializationContext.getObjectByRef (DeserializationContext.java:617) at org.apache.axis.encoding.DeserializerImpl.startElement (DeserializerImpl.java:351) at org.apache.axis.encoding.DeserializationContext.startElement (DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay (SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler (MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:81) at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java: 453) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost (AxisServlet.java:699) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) {http://xml.apache.org/axis/}hostname:sleektop-2.local java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.attachments.MultiPartRelatedInputStream.readTillFound (MultiPartRelatedInputStream.java:609) at org.apache.axis.attachments.MultiPartRelatedInputStream.readAll (MultiPartRelatedInputStream.java:433) at org.apache.axis.attachments.MultiPartRelatedInputStream.getAttachments (MultiPartRelatedInputStream.java:439) at org.apache.axis.attachments.AttachmentsImpl.mergeinAttachments (AttachmentsImpl.java:171) at org.apache.axis.attachments.AttachmentsImpl.getAttachmentByReference (AttachmentsImpl.java:341) at org.apache.axis.encoding.DeserializationContext.getObjectByRef (DeserializationContext.java:617) at org.apache.axis.encoding.DeserializerImpl.startElement (DeserializerImpl.java:351) at org.apache.axis.encoding.DeserializationContext.startElement (DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay (SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler (MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:81) at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java: 453) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost (AxisServlet.java:699) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.coyote.http11.InternalInputBuffer.fill (InternalInputBuffer.java:747) at org.apache.coyote.http11.InternalInputBuffer $InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) at org.apache.coyote.http11.filters.IdentityInputFilter.doRead (IdentityInputFilter.java:115) at org.apache.coyote.http11.InternalInputBuffer.doRead (InternalInputBuffer.java:712) at org.apache.coyote.Request.doRead(Request.java:427) at org.apache.catalina.connector.InputBuffer.realReadBytes (InputBuffer.java:283) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:298) at org.apache.catalina.connector.CoyoteInputStream.read (CoyoteInputStream.java:192) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.axis.attachments.BoundaryDelimitedStream.readFromStream (BoundaryDelimitedStream.java:215) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:300) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:358) at org.apache.axis.attachments.ManagedMemoryDataSource.<init> (ManagedMemoryDataSource.java:146) at org.apache.axis.attachments.MultiPartRelatedInputStream.readTillFound (MultiPartRelatedInputStream.java:557) ... 36 more faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:sleektop-2.local java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed outAxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException faultSubcode: faultString: java.net.SocketTimeoutException: Read timed out faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/} stackTrace:java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.coyote.http11.InternalInputBuffer.fill (InternalInputBuffer.java:747) at org.apache.coyote.http11.InternalInputBuffer $InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) at org.apache.coyote.http11.filters.IdentityInputFilter.doRead (IdentityInputFilter.java:115) at org.apache.coyote.http11.InternalInputBuffer.doRead (InternalInputBuffer.java:712) at org.apache.coyote.Request.doRead(Request.java:427) at org.apache.catalina.connector.InputBuffer.realReadBytes (InputBuffer.java:283) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:298) at org.apache.catalina.connector.CoyoteInputStream.read (CoyoteInputStream.java:192) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.axis.attachments.BoundaryDelimitedStream.readFromStream (BoundaryDelimitedStream.java:215) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:300) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:358) at org.apache.axis.attachments.ManagedMemoryDataSource.<init> (ManagedMemoryDataSource.java:146) at org.apache.axis.attachments.MultiPartRelatedInputStream.readTillFound (MultiPartRelatedInputStream.java:557) at org.apache.axis.attachments.MultiPartRelatedInputStream.readAll (MultiPartRelatedInputStream.java:433) at org.apache.axis.attachments.MultiPartRelatedInputStream.getAttachments (MultiPartRelatedInputStream.java:439) at org.apache.axis.attachments.AttachmentsImpl.mergeinAttachments (AttachmentsImpl.java:171) at org.apache.axis.attachments.AttachmentsImpl.getAttachmentByReference (AttachmentsImpl.java:341) at org.apache.axis.encoding.DeserializationContext.getObjectByRef (DeserializationContext.java:617) at org.apache.axis.encoding.DeserializerImpl.startElement (DeserializerImpl.java:351) at org.apache.axis.encoding.DeserializationContext.startElement (DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay (SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler (MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:81) at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java: 453) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost (AxisServlet.java:699) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) {http://xml.apache.org/axis/}hostname:sleektop-2.local java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.attachments.MultiPartRelatedInputStream.readTillFound (MultiPartRelatedInputStream.java:609) at org.apache.axis.attachments.MultiPartRelatedInputStream.readAll (MultiPartRelatedInputStream.java:433) at org.apache.axis.attachments.MultiPartRelatedInputStream.getAttachments (MultiPartRelatedInputStream.java:439) at org.apache.axis.attachments.AttachmentsImpl.mergeinAttachments (AttachmentsImpl.java:171) at org.apache.axis.attachments.AttachmentsImpl.getAttachmentByReference (AttachmentsImpl.java:341) at org.apache.axis.encoding.DeserializationContext.getObjectByRef (DeserializationContext.java:617) at org.apache.axis.encoding.DeserializerImpl.startElement (DeserializerImpl.java:351) at org.apache.axis.encoding.DeserializationContext.startElement (DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay (SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler (MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:81) at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java: 453) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost (AxisServlet.java:699) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.coyote.http11.InternalInputBuffer.fill (InternalInputBuffer.java:747) at org.apache.coyote.http11.InternalInputBuffer $InputStreamInputBuffer.doRead(InternalInputBuffer.java:777) at org.apache.coyote.http11.filters.IdentityInputFilter.doRead (IdentityInputFilter.java:115) at org.apache.coyote.http11.InternalInputBuffer.doRead (InternalInputBuffer.java:712) at org.apache.coyote.Request.doRead(Request.java:427) at org.apache.catalina.connector.InputBuffer.realReadBytes (InputBuffer.java:283) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:298) at org.apache.catalina.connector.CoyoteInputStream.read (CoyoteInputStream.java:192) at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at java.io.BufferedInputStream.read(BufferedInputStream.java:313) at org.apache.axis.attachments.BoundaryDelimitedStream.readFromStream (BoundaryDelimitedStream.java:215) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:300) at org.apache.axis.attachments.BoundaryDelimitedStream.read (BoundaryDelimitedStream.java:358) at org.apache.axis.attachments.ManagedMemoryDataSource. (ManagedMemoryDataSource.java:146) at org.apache.axis.attachments.MultiPartRelatedInputStream.readTillFound (MultiPartRelatedInputStream.java:557) ... 36 more at org.apache.axis.message.SOAPFaultBuilder.createFault (SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement (SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement (DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement (Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl $FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at org.apache.axis.encoding.DeserializationContext.parse (DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.transport.http.HTTPSender.readFromSocket (HTTPSender.java:796) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java: 144) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.pushtotest.testnetwork.TestNodeSoapBindingStub.doLoadScenario (Unknown Source) at com.pushtotest.testnetwork.Master.doLoadScenario(Unknown Source) at com.pushtotest.testmaker.XSTest.client.TestNode.loadScenario (TestNode.java:373) at com.pushtotest.testmaker.XSTest.client.ControlRunner.add (ControlRunner.java:235) at com.pushtotest.testmaker.XSTest.client.ControlRunner.addNodes (ControlRunner.java:220) at com.pushtotest.testmaker.XSTest.client.ControlRunner.run (ControlRunner.java:317) - Starting test - - Starting Monitor - The monitor on the node localhost is not respoding - Making Transactions - -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool -------------- next part -------------- A non-text attachment was scrubbed... Name: tomcat_test.xml Type: text/xml Size: 3224 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070523/e39c0682/tomcat_test-0001.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: loadtest1.xml Type: text/xml Size: 1695 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070523/e39c0682/loadtest1-0001.xml -------------- next part -------------- From gflaifel at ca.ibm.com Wed May 23 17:07:19 2007 From: gflaifel at ca.ibm.com (George Flaifel) Date: Wed May 23 18:41:30 2007 Subject: [Dev] George Flaifel/Markham/IBM Message-ID: I will be out of the office starting 05/20/2007 and will not return until 05/30/2007. I will be out of the office returning on 05/30/2007. During my absense, I will be periodically checking Messages & Emails. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070523/041a6f72/attachment.htm From filipafmsoares at gmail.com Thu May 24 01:23:07 2007 From: filipafmsoares at gmail.com (Filipa Martins Soares Abrantes) Date: Thu May 24 02:57:26 2007 Subject: [Dev] Test script with concurrent threads In-Reply-To: <6c03e9240705170458t3087c32ep548f4e133fb3920e@mail.gmail.com> References: <6c03e9240705170458t3087c32ep548f4e133fb3920e@mail.gmail.com> Message-ID: <6c03e9240705240123x7fbf71besb9e1539c37d1f200@mail.gmail.com> Hi! I'm still trying to execute a test script with concurrent threads, but the threads are being executed in a sequential order instead. Can anyone tell me how can put the threads executing concurrently? I really need some help! This is the code I'm executing: numThread = 3 numThreadPerBlocks = 5 fimThread = 0 tinicio = Date().time while (i < numThread): x = 0 if (numThread - i < numThreadPerBlocks): numThreadPerBlocks = numThread - i while (x < numThreadPerBlocks): print "Start thread ", i test = Portal5( 1, 'console file ', 0, '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, 'Portal5', 1 ) test.setUp() thread.start_new_thread( test.runTest(), (i,)) x += 1 i += 1 time.sleep(10) time.sleep (40) print "Stop between blocks" while (fimThread < i): time.sleep(1) This is my text output: Start thread 0 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ .. Start thread 1 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ Thanks in advance, Filipa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070524/7e6b6bc9/attachment.htm From wmartinez at AVANTICATEC.NET Thu May 24 10:28:24 2007 From: wmartinez at AVANTICATEC.NET (=?us-ascii?Q?William_Martinez_Pomares?=) Date: Thu May 24 12:04:16 2007 Subject: [Dev] examples extra? In-Reply-To: <1F89B74F-79B3-40AC-BC24-8458FA673B08@pushtotest.com> Message-ID: <85A61B0FDDD4834EA295605C349BABAA24DE0C@dc1avantica.AVANTICA.AVANTICATEC.NET> Sorry. Thas was an entry were an example of how to create a DPL was going to live, but that was removed afterwards. It seems CVS didn't remove the empty folders. William. -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Frank Cohen Sent: Wednesday, May 23, 2007 1:08 PM To: PushToTest TestMaker Developers List Subject: [Dev] examples extra? Anyone know why tm5/examplesTestScenarios/SimpleDPL/src/examples/dpl is in the tm5 cvs repository? It's empty. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ Dev mailing list Dev@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/dev From wmartinez at AVANTICATEC.NET Thu May 24 10:46:00 2007 From: wmartinez at AVANTICATEC.NET (=?iso-8859-1?Q?William_Mart=EDnez_Pomares?=) Date: Thu May 24 12:21:49 2007 Subject: [Dev] Test script with concurrent threads In-Reply-To: <6c03e9240705240123x7fbf71besb9e1539c37d1f200@mail.gmail.com> Message-ID: <85A61B0FDDD4834EA295605C349BABAA24DE26@dc1avantica.AVANTICA.AVANTICATEC.NET> Hi Filipa. Sorry for the late response. Since this is the third post without answer, I thought I take a look althought I'm not a Python expert. I found something in the line "thread.start_new_thread( test.runTest(), (i,))" but I'm not sure. As I understand from what I just read in internet, the start_new_thread() method receives two parameters: a method and a tuple with arguments to pass to the method. That means, the first parameter is the method you want to call. But, you don't need to call it, you just need to pass the method. In the line above, you are actually executing test.runTest() due to the parenthesis! I think the line should be: "thread.start_new_thread( test.runTest, (i,))", note there are no parenthesis in runTest. With your line, you are first executing runTest(), and the result is passed to start_new_thread(). If runTest() returns a method, then the call is correct, but I think that is not your case. Please remove the parenthesis from runTest and try it, then let me know if it works. Again, I'm not an expert, so good luck. William Mart?nez Pomares R&D Manager and Architect Avantica Technologies Phone(US) :+1 (650) 353-4522 Ext 131 Fax(US) :+1 (877) 372-1955 Phone(CR) :+506 283-9100 Ext 131 Fax(CR) :+506 253-7451 http://www.avantica.net -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Filipa Martins Soares Abrantes Sent: Thursday, May 24, 2007 2:23 AM To: fcohen@pushtotest.com; PushToTest TestMaker Developers List Subject: [Dev] Test script with concurrent threads Hi! I'm still trying to execute a test script with concurrent threads, but the threads are being executed in a sequential order instead. Can anyone tell me how can put the threads executing concurrently? I really need some help! This is the code I'm executing: numThread = 3 numThreadPerBlocks = 5 fimThread = 0 tinicio = Date().time while (i < numThread): x = 0 if (numThread - i < numThreadPerBlocks): numThreadPerBlocks = numThread - i while (x < numThreadPerBlocks): print "Start thread ", i test = Portal5( 1, 'console file ', 0, '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, 'Portal5', 1 ) test.setUp() thread.start_new_thread( test.runTest(), (i,)) x += 1 i += 1 time.sleep(10) time.sleep (40) print "Stop between blocks" while (fimThread < i): time.sleep(1) This is my text output: Start thread 0 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ .. Start thread 1 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ Thanks in advance, Filipa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070524/37dcd001/attachment-0001.htm From filipafmsoares at gmail.com Thu May 24 11:22:39 2007 From: filipafmsoares at gmail.com (Filipa Martins Soares Abrantes) Date: Thu May 24 12:56:57 2007 Subject: [Dev] Test script with concurrent threads In-Reply-To: <85A61B0FDDD4834EA295605C349BABAA24DE26@dc1avantica.AVANTICA.AVANTICATEC.NET> References: <6c03e9240705240123x7fbf71besb9e1539c37d1f200@mail.gmail.com> <85A61B0FDDD4834EA295605C349BABAA24DE26@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: <6c03e9240705241122x3566b133v7f4ca8ad47a1b597@mail.gmail.com> Thank you William for your response. I've executed without the parenthesis, like thread.start_new_thread( test.runTest, (i,)), but now I'm getting the following error: Traceback (innermost last): (no code object) at line 0 TypeError: runTest() too many arguments; expected 1 got 2 Any idea? Thanks, Filipa On 5/24/07, William Mart?nez Pomares wrote: > > Hi Filipa. > > Sorry for the late response. Since this is the third post without answer, > I thought I take a look althought I'm not a Python expert. > > I found something in the line "thread.start_new_thread( test.runTest(), > (i,))" but I'm not sure. > As I understand from what I just read in internet, the start_new_thread() > method receives two parameters: a method and a tuple with arguments to pass > to the method. > > That means, the first parameter is the method you want to call. But, you > don't need to call it, you just need to pass the method. In the line above, > you are actually executing test.runTest() due to the parenthesis! > I think the line should be: "thread.start_new_thread( test.runTest, (i,))", > note there are no parenthesis in runTest. > With your line, you are first executing runTest(), and the result is > passed to start_new_thread(). If runTest() returns a method, then the call > is correct, but I think that is not your case. > > Please remove the parenthesis from runTest and try it, then let me know if > it works. Again, I'm not an expert, so good luck. > > > *William Mart?nez Pomares > R&D Manager and Architect* > *Avantica Technologies* > *****Phone(US) :+1 (650) 353-4522 Ext 131* > *Fax(US) :+1 (877) 372-1955 * > *Phone(CR) :+506 283-9100 Ext 131 * > *Fax(CR) :+506 253-7451 * > *http://www.avantica.net* > > -----Original Message----- > *From:* dev-bounces@lists.pushtotest.com [mailto: > dev-bounces@lists.pushtotest.com]*On Behalf Of *Filipa Martins Soares > Abrantes > *Sent:* Thursday, May 24, 2007 2:23 AM > *To:* fcohen@pushtotest.com; PushToTest TestMaker Developers List > *Subject:* [Dev] Test script with concurrent threads > > > > Hi! > > I'm still trying to execute a test script with concurrent threads, but the > threads are being executed in a sequential order instead. Can anyone tell > me how can put the threads executing concurrently? > > I really need some help! > > This is the code I'm executing: > > > > numThread = 3 > numThreadPerBlocks = 5 > fimThread = 0 > tinicio = Date().time > > while (i < numThread): > x = 0 > if (numThread - i < numThreadPerBlocks): > numThreadPerBlocks = numThread - i > > while (x < numThreadPerBlocks): > print "Start thread ", i > test = Portal5( 1, 'console file ', 0, > '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, > 'Portal5', 1 ) > test.setUp() > thread.start_new_thread( test.runTest(), (i,)) > x += 1 > i += 1 > time.sleep(10) > > time.sleep (40) > print "Stop between blocks" > > while (fimThread < i): > time.sleep(1) > > > This is my text output: > > > > Start thread 0 > > Portal5: Initialize > > test: setUp > > test: runTest > > Request step: 1, http://www1.asd.pt/PortalWeb/content/ > > Request step: 2, http://www1.asd.pt/PortalWeb/content/ > > .. > > Start thread 1 > > Portal5: Initialize > > test: setUp > > test: runTest > > Request step: 1, http://www1.asd.pt/PortalWeb/content/ > > Request step: 2, http://www1.asd.pt/PortalWeb/content/ > > > > > > > > Thanks in advance, > > Filipa > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > > -- Filipa M. Soares Abrantes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070524/cb81c317/attachment.htm From wmartinez at AVANTICATEC.NET Thu May 24 11:32:38 2007 From: wmartinez at AVANTICATEC.NET (=?iso-8859-1?Q?William_Mart=EDnez_Pomares?=) Date: Thu May 24 13:08:30 2007 Subject: [Dev] Test script with concurrent threads In-Reply-To: <6c03e9240705241122x3566b133v7f4ca8ad47a1b597@mail.gmail.com> Message-ID: <85A61B0FDDD4834EA295605C349BABAA24DE7E@dc1avantica.AVANTICA.AVANTICATEC.NET> Well, that is a step forward. runTest() is now being called inside the thread. That is good. The second parameter to start_new_thread() is a tuple that should contain the arguments for the method you pass on. In your code, you are sending (i,), which means you are sending one parameter (the value of variable i). Now, since in the original code you were executing "test.runTest()" and it was actually executing, that means runTest does not need any argument! Any class method always receives the "self" parameter and any other parameter you pass. If you pass (i,), the thread will call test.runTest(self, i). The error then makes sense, it says it is receiving 2 arguments but was expecting 1. If what I suspect is true, then your call should be "thread.start_new_thread( test.runTest, ())". note the empty parenthesis in the second argument. Second try! Good Luck! William Mart?nez Pomares R&D Manager and Architect Avantica Technologies Phone(US) :+1 (650) 353-4522 Ext 131 Fax(US) :+1 (877) 372-1955 Phone(CR) :+506 283-9100 Ext 131 Fax(CR) :+506 253-7451 http://www.avantica.net -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Filipa Martins Soares Abrantes Sent: Thursday, May 24, 2007 12:23 PM To: PushToTest TestMaker Developers List Subject: Re: [Dev] Test script with concurrent threads Thank you William for your response. I've executed without the parenthesis, like thread.start_new_thread( test.runTest, (i,)), but now I'm getting the following error: Traceback (innermost last): (no code object) at line 0 TypeError: runTest() too many arguments; expected 1 got 2 Any idea? Thanks, Filipa On 5/24/07, William Mart?nez Pomares < wmartinez@avanticatec.net> wrote: Hi Filipa. Sorry for the late response. Since this is the third post without answer, I thought I take a look althought I'm not a Python expert. I found something in the line "thread.start_new_thread( test.runTest(), (i,))" but I'm not sure. As I understand from what I just read in internet, the start_new_thread() method receives two parameters: a method and a tuple with arguments to pass to the method. That means, the first parameter is the method you want to call. But, you don't need to call it, you just need to pass the method. In the line above, you are actually executing test.runTest() due to the parenthesis! I think the line should be: "thread.start_new_thread( test.runTest, (i,))", note there are no parenthesis in runTest. With your line, you are first executing runTest(), and the result is passed to start_new_thread(). If runTest() returns a method, then the call is correct, but I think that is not your case. Please remove the parenthesis from runTest and try it, then let me know if it works. Again, I'm not an expert, so good luck. William Mart?nez Pomares R&D Manager and Architect Avantica Technologies Phone(US) :+1 (650) 353-4522 Ext 131 Fax(US) :+1 (877) 372-1955 Phone(CR) :+506 283-9100 Ext 131 Fax(CR) :+506 253-7451 http://www.avantica.net -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto: dev-bounces@lists.pushtotest.com]On Behalf Of Filipa Martins Soares Abrantes Sent: Thursday, May 24, 2007 2:23 AM To: fcohen@pushtotest.com ; PushToTest TestMaker Developers List Subject: [Dev] Test script with concurrent threads Hi! I'm still trying to execute a test script with concurrent threads, but the threads are being executed in a sequential order instead. Can anyone tell me how can put the threads executing concurrently? I really need some help! This is the code I'm executing: numThread = 3 numThreadPerBlocks = 5 fimThread = 0 tinicio = Date().time while (i < numThread): x = 0 if (numThread - i < numThreadPerBlocks): numThreadPerBlocks = numThread - i while (x < numThreadPerBlocks): print "Start thread ", i test = Portal5( 1, 'console file ', 0, '20.|300|301|302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, 'Portal5', 1 ) test.setUp() thread.start_new_thread( test.runTest(), (i,)) x += 1 i += 1 time.sleep(10) time.sleep (40) print "Stop between blocks" while (fimThread < i): time.sleep(1) This is my text output: Start thread 0 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ .. Start thread 1 Portal5: Initialize test: setUp test: runTest Request step: 1, http://www1.asd.pt/PortalWeb/content/ Request step: 2, http://www1.asd.pt/PortalWeb/content/ Thanks in advance, Filipa _______________________________________________ Dev mailing list Dev@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/dev -- Filipa M. Soares Abrantes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/dev/attachments/20070524/31b0381e/attachment-0001.htm From fcohen at pushtotest.com Thu May 24 13:28:56 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 24 23:38:42 2007 Subject: [Dev] Test script with concurrent threads In-Reply-To: <6c03e9240705240123x7fbf71besb9e1539c37d1f200@mail.gmail.com> References: <6c03e9240705170458t3087c32ep548f4e133fb3920e@mail.gmail.com> <6c03e9240705240123x7fbf71besb9e1539c37d1f200@mail.gmail.com> Message-ID: Hi Filipa: Take a look at the XSTest scripts in TestMaker 4.x under TestMaker_home/xstest. The master.py script in particular instantiates concurrently running threads. You may also find an article on the PushToTest site that pertains to your question. Use the search function on the site to search for 'threads'. Hope this helps. -Frank On May 24, 2007, at 4:23 AM, Filipa Martins Soares Abrantes wrote: > > Hi! > > I'm still trying to execute a test script with concurrent threads, > but the threads are being executed in a sequential order instead. > Can anyone tell me how can put the threads executing concurrently? > > I really need some help! > > This is the code I'm executing: > > > numThread = 3 > numThreadPerBlocks = 5 > fimThread = 0 > tinicio = Date().time > > while (i < numThread): > x = 0 > if (numThread - i < numThreadPerBlocks): > numThreadPerBlocks = numThread - i > > while (x < numThreadPerBlocks): > print "Start thread ", i > test = Portal5( 1, 'console file ', 0, '20.|300|301| > 302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, > 'Portal5', 1 ) > test.setUp() > thread.start_new_thread( test.runTest(), (i,)) > x += 1 > i += 1 > time.sleep(10) > > time.sleep (40) > print "Stop between blocks" > > while (fimThread < i): > time.sleep(1) > > This is my text output: > > Start thread 0 > Portal5: Initialize > test: setUp > test: runTest > Request step: 1, http://www1.asd.pt/PortalWeb/content/ > Request step: 2, http://www1.asd.pt/PortalWeb/content/ > .. > Start thread 1 > Portal5: Initialize > test: setUp > test: runTest > Request step: 1, http://www1.asd.pt/PortalWeb/content/ > Request step: 2, http://www1.asd.pt/PortalWeb/content/ > > > > Thanks in advance, > Filipa > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Thu May 24 22:07:18 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 24 23:41:45 2007 Subject: [Dev] IZpack issues Message-ID: Hi William: I need you or Luis Carlos to track down some answers for problems I'm having with IZPack-based installers: 1) The IZPack-based TM5 installer creates panels to show the readme and license text. Do you know how to make these panels wider? 2) The created installer does not retail file permissions. For example, on my Mac system TestMaker.sh is given +x privileges but when the installer actually installs TestMaker.sh is sets no privs. Please track these down. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Thu May 24 22:07:49 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 24 23:42:12 2007 Subject: [Dev] Localhost Monitor function needed for TM5 Message-ID: <12C7F37B-9A3A-4CBF-8477-6801AC613DFB@pushtotest.com> Hi William: Would you please have Luis Carlos implement a change to tm5 to enable a Monitor on the localhost. This is the same as the localhost TestNode in that the Monitor needs to be started when the user launches TestMaker and the Preference GUI needs to allow users to choose to start the Monitor. Also, I modified the build.xml script and the installer build scripts. I will check in the new files on Friday. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Thu May 24 22:25:15 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu May 24 23:59:40 2007 Subject: [Dev] Test script with concurrent threads In-Reply-To: <6c03e9240705241122x3566b133v7f4ca8ad47a1b597@mail.gmail.com> References: <6c03e9240705240123x7fbf71besb9e1539c37d1f200@mail.gmail.com> <85A61B0FDDD4834EA295605C349BABAA24DE26@dc1avantica.AVANTICA.AVANTICATEC.NET> <6c03e9240705241122x3566b133v7f4ca8ad47a1b597@mail.gmail.com> Message-ID: Here's the URL to an article on writing Jython scripts using Threads: http://www.pushtotest.com/Docs/howto/jythonthreads.html -Frank On May 24, 2007, at 11:22 AM, Filipa Martins Soares Abrantes wrote: > Thank you William for your response. > > I've executed without the parenthesis, like thread.start_new_thread > ( test.runTest, (i,)), but now I'm getting the following error: > > Traceback (innermost last): > > (no code object) at line 0 > > TypeError: runTest() too many arguments; expected 1 got 2 > > > > Any idea? > > Thanks, > > Filipa > > On 5/24/07, William Mart?nez Pomares > wrote: > Hi Filipa. > > Sorry for the late response. Since this is the third post without > answer, I thought I take a look althought I'm not a Python expert. > > I found something in the line "thread.start_new_thread( test.runTest > (), (i,))" but I'm not sure. > As I understand from what I just read in internet, the > start_new_thread() method receives two parameters: a method and a > tuple with arguments to pass to the method. > > That means, the first parameter is the method you want to call. > But, you don't need to call it, you just need to pass the method. > In the line above, you are actually executing test.runTest() due to > the parenthesis! > I think the line should be: "thread.start_new_thread( test.runTest, > (i,))", note there are no parenthesis in runTest. > With your line, you are first executing runTest(), and the result > is passed to start_new_thread(). If runTest() returns a method, > then the call is correct, but I think that is not your case. > > Please remove the parenthesis from runTest and try it, then let me > know if it works. Again, I'm not an expert, so good luck. > > William Mart?nez Pomares > R&D Manager and Architect > Avantica Technologies > Phone(US) :+1 (650) 353-4522 Ext 131 > Fax(US) :+1 (877) 372-1955 > Phone(CR) :+506 283-9100 Ext 131 > Fax(CR) :+506 253-7451 > http://www.avantica.net > > -----Original Message----- > From: dev-bounces@lists.pushtotest.com [mailto:dev- > bounces@lists.pushtotest.com]On Behalf Of Filipa Martins Soares > Abrantes > Sent: Thursday, May 24, 2007 2:23 AM > To: fcohen@pushtotest.com ; PushToTest TestMaker Developers List > Subject: [Dev] Test script with concurrent threads > > > Hi! > > I'm still trying to execute a test script with concurrent threads, > but the threads are being executed in a sequential order instead. > Can anyone tell me how can put the threads executing concurrently? > > I really need some help! > > This is the code I'm executing: > > > numThread = 3 > numThreadPerBlocks = 5 > fimThread = 0 > tinicio = Date().time > > while (i < numThread): > x = 0 > if (numThread - i < numThreadPerBlocks): > numThreadPerBlocks = numThread - i > > while (x < numThreadPerBlocks): > print "Start thread ", i > test = Portal5( 1, 'console file ', 0, '20.|300|301| > 302|303|304|307|401|403|408|41.', ' log.xml', 5, 5, 5, 1, 1, > 'Portal5', 1 ) > test.setUp() > thread.start_new_thread( test.runTest(), (i,)) > x += 1 > i += 1 > time.sleep(10) > > time.sleep (40) > print "Stop between blocks" > > while (fimThread < i): > time.sleep(1) > > This is my text output: > > Start thread 0 > Portal5: Initialize > test: setUp > test: runTest > Request step: 1, http://www1.asd.pt/PortalWeb/content/ > Request step: 2, http://www1.asd.pt/PortalWeb/content/ > .. > Start thread 1 > Portal5: Initialize > test: setUp > test: runTest > Request step: 1, http://www1.asd.pt/PortalWeb/content/ > Request step: 2, http://www1.asd.pt/PortalWeb/content/ > > > > Thanks in advance, > Filipa > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > > > > > -- > Filipa M. Soares Abrantes > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Thu May 24 22:33:04 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri May 25 00:07:34 2007 Subject: [Dev] examples extra? In-Reply-To: <85A61B0FDDD4834EA295605C349BABAA24DE0C@dc1avantica.AVANTICA.AVANTICATEC.NET> References: <85A61B0FDDD4834EA295605C349BABAA24DE0C@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: Thanks. I deleted it tonight from the repository on the server. Where is the DPL example now? -Frank On May 24, 2007, at 10:28 AM, William Martinez Pomares wrote: > > Sorry. > Thas was an entry were an example of how to create a DPL was going to > live, but that was removed afterwards. It seems CVS didn't remove the > empty folders. > William. > -----Original Message----- > From: dev-bounces@lists.pushtotest.com > [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Frank Cohen > Sent: Wednesday, May 23, 2007 1:08 PM > To: PushToTest TestMaker Developers List > Subject: [Dev] examples extra? > > > Anyone know why tm5/examplesTestScenarios/SimpleDPL/src/examples/dpl > is in the tm5 cvs repository? It's empty. -Frank > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Fri May 25 10:44:18 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri May 25 12:18:51 2007 Subject: [Dev] Commited changes to TM5 Message-ID: <664EAB18-4AB5-42AD-A225-1F3E334068A1@pushtotest.com> Please update your source. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From wmartinez at AVANTICATEC.NET Fri May 25 17:30:20 2007 From: wmartinez at AVANTICATEC.NET (=?us-ascii?Q?William_Martinez_Pomares?=) Date: Fri May 25 19:07:24 2007 Subject: [Dev] Localhost Monitor function needed for TM5 In-Reply-To: <12C7F37B-9A3A-4CBF-8477-6801AC613DFB@pushtotest.com> Message-ID: <85A61B0FDDD4834EA295605C349BABAA26DE1D@dc1avantica.AVANTICA.AVANTICATEC.NET> Hi Frank. I think we can upload this one on Monday. William. -----Original Message----- From: dev-bounces@lists.pushtotest.com [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Frank Cohen Sent: Thursday, May 24, 2007 11:08 PM To: PushToTest TestMaker Developers List Subject: [Dev] Localhost Monitor function needed for TM5 Hi William: Would you please have Luis Carlos implement a change to tm5 to enable a Monitor on the localhost. This is the same as the localhost TestNode in that the Monitor needs to be started when the user launches TestMaker and the Preference GUI needs to allow users to choose to start the Monitor. Also, I modified the build.xml script and the installer build scripts. I will check in the new files on Friday. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ Dev mailing list Dev@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/dev From fcohen at pushtotest.com Fri May 25 21:37:37 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri May 25 23:12:18 2007 Subject: [Dev] Localhost Monitor function needed for TM5 In-Reply-To: <85A61B0FDDD4834EA295605C349BABAA26DE1D@dc1avantica.AVANTICA.AVANTICATEC.NET> References: <85A61B0FDDD4834EA295605C349BABAA26DE1D@dc1avantica.AVANTICA.AVANTICATEC.NET> Message-ID: <336C6B37-94AB-4FE4-85D6-1A210BFA01B5@pushtotest.com> Thank you. That would be great. At this point I'm going to rebuild what I have, run through the beta test steps, and if it works then we're in "beta" officially. Thanks! -Frank On May 25, 2007, at 5:30 PM, William Martinez Pomares wrote: > > Hi Frank. > I think we can upload this one on Monday. > William. > -----Original Message----- > From: dev-bounces@lists.pushtotest.com > [mailto:dev-bounces@lists.pushtotest.com]On Behalf Of Frank Cohen > Sent: Thursday, May 24, 2007 11:08 PM > To: PushToTest TestMaker Developers List > Subject: [Dev] Localhost Monitor function needed for TM5 > > > Hi William: Would you please have Luis Carlos implement a change to > tm5 to enable a Monitor on the localhost. This is the same as the > localhost TestNode in that the Monitor needs to be started when the > user launches TestMaker and the Preference GUI needs to allow users > to choose to start the Monitor. > > Also, I modified the build.xml script and the installer build > scripts. I will check in the new files on Friday. > > -Frank > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > _______________________________________________ > Dev mailing list > Dev@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/dev > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Fri May 25 22:42:21 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Sat May 26 00:16:59 2007 Subject: [Dev] tm5 repository missing PAAS files Message-ID: <5F3D8D0C-7BA9-4195-9988-30E942855563@pushtotest.com> Looks like some files are missing from the tm5 repository. It won't build. -Frank -- ============================================================== PushToTest(tm) TestMaker Distribution Generator PushToTest TestMaker is the open-source SOA governance and test automation platform. Details at http://www.pushtotest.com ============================================================== compile_modules: ============================================== Compile All Modules MaxQ: Then add MaxQ - note this is a branch of MaxQ v1.21 compile: classpath: /Users/frankcohen/dev/cvs/tm5/maxq-0.97-tmbranch/${classpath}:/Users/ frankcohen/dev/cvs/tm5/maxq-0.97-tmbranch/build:/Users/frankcohen/dev/ cvs/tm5/maxq-0.97-tmbranch/conf:/Users/frankcohen/dev/cvs/tm5/ maxq-0.97-tmbranch/lib/commons-cli.jar:/Users/frankcohen/dev/cvs/tm5/ maxq-0.97-tmbranch/lib/commons-httpclient.jar:/Users/frankcohen/dev/ cvs/tm5/maxq-0.97-tmbranch/lib/commons-lang.jar:/Users/frankcohen/dev/ cvs/tm5/maxq-0.97-tmbranch/lib/commons-logging.jar:/Users/frankcohen/ dev/cvs/tm5/maxq-0.97-tmbranch/lib/junit.jar:/Users/frankcohen/dev/ cvs/tm5/maxq-0.97-tmbranch/lib/jython.jar:/Users/frankcohen/dev/cvs/ tm5/maxq-0.97-tmbranch/lib/maxq.jar dist: TOOL: Build the Test Object Oriented Library (TOOL) ======================================================== Test Object Oriented Library (TOOL) for TestMaker Brought to you by PushToTest. Please read license.html to understand your rights to build and distribute this software. Additional information at www.pushtotest.com ======================================================== init: build_results: Compiling results log file XML schema binding Using JAXB to compile Java source against the results.xsd schema results.xsd Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/ tool/xml/results.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src TXLog.xsd Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/ tool/xml/TXLog.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src SDLog.xsd Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/ tool/xml/SDLog.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src Summary.xsd Compiling file:/Users/frankcohen/dev/cvs/tm5/tool/src/com/pushtotest/ tool/xml/Summary.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/tool/src JAR the Test Object Oriented Library (TOOL) ======================================================== Test Object Oriented Library (TOOL) for TestMaker Brought to you by PushToTest. Please read license.html to understand your rights to build and distribute this software. Additional information at www.pushtotest.com ======================================================== init: deps-jar: Compiling 204 source files to /Users/frankcohen/dev/cvs/tm5/tool/ build/classes Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Copying 8 files to /Users/frankcohen/dev/cvs/tm5/tool/build/classes compile: Building jar: /Users/frankcohen/dev/cvs/tm5/tool/dist/tool.jar jar: Copying 1 file to /Users/frankcohen/dev/cvs/tm5/TestMaker/lib TestNetwork: DeployTestNetworkClient prepare: Expanding: /Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/ TN_TOMCAT.zip into /Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT compile: Classpath = /Users/frankcohen/dev/cvs/tm5/TestMaker/lib/jython/ jython.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/lib/TestMaker.jar:/ Users/frankcohen/dev/cvs/tm5/TestMaker/lib/lib/jwsdp_1.4/jwsdp-shared/ lib/activation.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/build/classes:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/bin/bootstrap.jar:/Users/frankcohen/dev/cvs/tm5/ TestMaker/TestNetwork/lib/TestNetworkClient.jar:/Users/frankcohen/dev/ cvs/tm5/TestMaker/TestNetwork/lib/activation.jar:/Users/frankcohen/ dev/cvs/tm5/TestMaker/TestNetwork/lib/axis-ant.jar:/Users/frankcohen/ dev/cvs/tm5/TestMaker/TestNetwork/lib/axis-schema.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/axis.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/commons- discovery-0.2.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/ lib/commons-logging-1.0.4.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/lib/commons-logging-api.jar:/Users/frankcohen/dev/cvs/tm5/ TestMaker/TestNetwork/lib/commons-logging.jar:/Users/frankcohen/dev/ cvs/tm5/TestMaker/TestNetwork/lib/jaxm-api.jar:/Users/frankcohen/dev/ cvs/tm5/TestMaker/TestNetwork/lib/jaxm-runtime.jar:/Users/frankcohen/ dev/cvs/tm5/TestMaker/TestNetwork/lib/jaxrpc.jar:/Users/frankcohen/ dev/cvs/tm5/TestMaker/TestNetwork/lib/log4j-1.2.8.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/mail.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/saaj-api.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/saaj-impl.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/saaj.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/tool.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/lib/wsdl4j-1.5.1.jar:/ Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/ lib/TestNetworkClient.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/common/lib/activation.jar:/Users/frankcohen/dev/ cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/lib/commons-el.jar:/ Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/ lib/jasper-compiler-jdt.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/common/lib/jasper-compiler.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/lib/ jasper-runtime.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/common/lib/jsp-api.jar:/Users/frankcohen/dev/ cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/lib/mail.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/lib/ naming-factory-dbcp.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/common/lib/naming-factory.jar:/Users/frankcohen/ dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/common/lib/naming- resources.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/ TN_TOMCAT/common/lib/servlet-api.jar:/Users/frankcohen/dev/cvs/tm5/ TestMaker/TestNetwork/TN_TOMCAT/server/lib/catalina-ant-jmx.jar:/ Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/server/ lib/catalina-ant.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/server/lib/catalina-cluster.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/server/lib/ catalina-optional.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/server/lib/catalina-storeconfig.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/server/lib/ catalina.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/ TN_TOMCAT/server/lib/commons-modeler.jar:/Users/frankcohen/dev/cvs/ tm5/TestMaker/TestNetwork/TN_TOMCAT/server/lib/servlets-default.jar:/ Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/server/ lib/servlets-invoker.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/ TestNetwork/TN_TOMCAT/server/lib/servlets-webdav.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/server/lib/ tomcat-ajp.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/ TN_TOMCAT/server/lib/tomcat-apr.jar:/Users/frankcohen/dev/cvs/tm5/ TestMaker/TestNetwork/TN_TOMCAT/server/lib/tomcat-coyote.jar:/Users/ frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/TN_TOMCAT/server/lib/ tomcat-http.jar:/Users/frankcohen/dev/cvs/tm5/TestMaker/TestNetwork/ TN_TOMCAT/server/lib/tomcat-util.jar:/Users/frankcohen/dev/cvs/tm5/ TestMaker/TestNetwork/${netbeans.library.path}:/Users/frankcohen/dev/ cvs/tm5/TestMaker/TestNetwork/${netbeans.filesystems.path} DeployTestNetworkClient: Building TestNetworkClient.jar TestMaker: Build TestMaker ======================================================== TESTMAKER Brought to you by PushToTest. Please read license.html to understand your rights to build and distribute this software. Additional information at www.pushtotest.com ======================================================== initJAXB: init: deps-jar: build_jaxb_sources: Compiling file:/Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/ pushtotest/testmaker/XSTest/xml/XSTestProps.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/TestMaker/src Compiling file:/Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/ pushtotest/testmaker/XSTest/xml/TestScenario/testscenario.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/TestMaker/src /Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/pushtotest/testmaker/ XSTest/PAAS/GSRS is not found and thus excluded from the dependency check Compiling file:/Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/ pushtotest/testmaker/XSTest/PAAS/GSRS.xsd Writing output to /Users/frankcohen/dev/cvs/tm5/TestMaker/src Compiling 292 source files to /Users/frankcohen/dev/cvs/tm5/TestMaker/ build/classes /Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/pushtotest/testmaker/ Main.java:97: cannot find symbol symbol : class PAASClient location: package com.pushtotest.testnetwork import com.pushtotest.testnetwork.PAASClient; /Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/pushtotest/testmaker/ Main.java:105: cannot find symbol symbol : class PAASClient location: class com.pushtotest.testmaker.Main public static void print(PAASClient c, int id){ /Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/pushtotest/testmaker/ Main.java:131: cannot find symbol symbol : class PAASClient location: class com.pushtotest.testmaker.Main PAASClient c = /Users/frankcohen/dev/cvs/tm5/TestMaker/src/com/pushtotest/testmaker/ Main.java:132: cannot find symbol symbol : class PAASClient location: class com.pushtotest.testmaker.Main new PAASClient( Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors BUILD FAILED (total time: 2 minutes 56 seconds) -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Sun May 27 08:40:09 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Sun May 27 10:15:07 2007 Subject: [Dev] TM5 example scenarios Message-ID: <4C077EFE-60C1-437B-A96D-384868D27065@pushtotest.com> I asked Brady Morgan to build several example test scenarios. Here is a summary of the examples: > Hi Brady: Here's what I am thinking are the example scenarios we > will need for PushToTest TestMaker 5: > > 1) Testing a Web browser-based application using TestGen4Web > > Scenario: You need to do a functional test of a banking portal. The > portal lets you look up information, transfer funds, and view the > latest news. > > Brady, please use the functions at: > http://examples.pushtotest.com/responder/htmlresponder > > and > > Please use the TestGen4Web plug-in to Firefox to record the script, > and then use the Tools menu -> Transform to Jython function to > create a Jython script. > > 2) Expanding the test to include a DPL > > Scenario: Add the ability to the Scenario 1 banking portal > functional test a means to transfer funds multiple times according > to a comma-separated-value file that tells you which account to use > and how much to transfer. > > Brady, this requires a Data Production Library (DPL) and > . See these for examples: > /tm5/TestMaker/example_agents/dplExample/testDPL.xml Example > /tm5/TestMaker/example_agents/dplExample/dplExamples.jar One DPL > /tm5/TestMaker/example_agents/dplExample/dplSimple.jar The > test > class > > 3) Turn a functional test into a scalability test > > Scenario: The bank from Scenario 1 now wants to know how if the > portal can handle up to 30 concurrent virtual users. > > Brady, please reuse the Scenario 1 functional test as a scalability > test. Please use the following CR levels: 10, 20, 30, and no > message size levels. > > 4) Turn a functional test into a service monitor > > Scenario: The bank from Scenario 1 wants to know if the bank is > delivering service as agreed-to in their Service Level Agreement > (SLA.) The SLA requires the site to respond to requests in no more > than 2 seconds. > > 5) Testing a SOAP-based Web Service application > > Scenario: A manufacturing organization uses a SOAP-based Web > service to order parts and needs to do a functional test of the > service. > > Brady, please use our examples service. A WSDL description of the > example service is at: > http://examples.pushtotest.com/axis/services/MessageService?wsdl > > Please use the soapUI function in TM5 to accomplish this scenario. > See tm5/TestMaker/example_agents/soapUIexample > > 6) Multi-protocol test > > Scenario: The manufacturing company in Scenario 5 added a browser > based interface and an email interface to their system. > > Brady, this test needs to show how multiple protocols (SOAP, HTTP, > POP3) may be used in one test. > > 7) Implementing a test in multiple languages > > Scenario: A developer needs to write a functional test of the > Banking portal from Scenario 1 in the Ruby language. > > Brady, see tm5/TestMaker/example_agents/rubyExample > > For each of them I am looking for a) a summary of the scenario in > 1-2 paragraphs, b) the implemented scenario code, and c) a > "developer journal" explaining step-by-step what you did to > implement the code. The journal should be 1-3 pages max. > > Thank you for taking this on. You're literally TM5's first user. > Ask lots of questions, point out the problems you find, and make > suggestions on how to make TM5 easier. Thank you! > > -Frank > > Feel free to add your own ideas to this list, and to point out problems, and corrections. Thanks. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA governance and test automation tool -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From wmartinez at avantica.net Sun May 27 13:34:25 2007 From: wmartinez at avantica.net (William Martinez) Date: Sun May 27 15:09:17 2007 Subject: [Dev] TM5 example scenarios In-Reply-To: <4C077EFE-60C1-437B-A96D-384868D27065@pushtotest.com> References: <4C077EFE-60C1-437B-A96D-384868D27065@pushtotest.com> Message-ID: On Sun, 27 May 2007 08:40:09 -0700 Hi. I'm not clear about the simulation of the banking portal using the functions at PTT. On the other hand, using the TG4W script in a real bank poses some problems, the first one being that TG4W registers the passwords in the scripts, so don't use the real ones. William. Frank Cohen wrote: > I asked Brady Morgan to build several example test >scenarios. Here is a summary of the examples: > > >> Hi Brady: Here's what I am thinking are the example >>scenarios we >> will need for PushToTest TestMaker 5: >> >> 1) Testing a Web browser-based application using >>TestGen4Web >> >> Scenario: You need to do a functional test of a banking >>portal. The >> portal lets you look up information, transfer funds, and >>view the >> latest news. >> >> Brady, please use the functions at: >> http://examples.pushtotest.com/responder/htmlresponder >> >> and >> >> Please use the TestGen4Web plug-in to Firefox to record >>the script, >> and then use the Tools menu -> Transform to Jython >>function to >> create a Jython script. >> >> 2) Expanding the test to include a DPL >> >> Scenario: Add the ability to the Scenario 1 banking >>portal >> functional test a means to transfer funds multiple times >>according >> to a comma-separated-value file that tells you which >>account to use >> and how much to transfer. >> >> Brady, this requires a Data Production Library (DPL) and >> >> . See these for examples: >> /tm5/TestMaker/example_agents/dplExample/testDPL.xml >> Example >> /tm5/TestMaker/example_agents/dplExample/dplExamples.jar >> One DPL >> /tm5/TestMaker/example_agents/dplExample/dplSimple.jar >> The >> test >> class >> >> 3) Turn a functional test into a scalability test >> >> Scenario: The bank from Scenario 1 now wants to know how >>if the >> portal can handle up to 30 concurrent virtual users. >> >> Brady, please reuse the Scenario 1 functional test as a >>scalability >> test. Please use the following CR levels: 10, 20, 30, >>and no >> message size levels. >> >> 4) Turn a functional test into a service monitor >> >> Scenario: The bank from Scenario 1 wants to know if the >>bank is >> delivering service as agreed-to in their Service Level >>Agreement >> (SLA.) The SLA requires the site to respond to requests >>in no more >> than 2 seconds. >> >> 5) Testing a SOAP-based Web Service application >> >> Scenario: A