From jueheenara at gmail.com Thu Jan 3 08:55:12 2008 From: jueheenara at gmail.com (Juehee Dawson) Date: Thu Jan 3 09:30:51 2008 Subject: [ptt-users] Query on TestMaker install for use of TestMonitor In-Reply-To: References: <26209441.1198434189322.JavaMail.root@isp02> <11417789.1198774403141.JavaMail.root@m06> Message-ID: Hi Frank, Thank you for the replies. Q1. My question is rather how to use TCPMonitor on the server. I see the screen of TCPMonitor on the localhost machine I'm running TestMaker on. I'm running an SMTP client tool using port 25. How would I be able to see the connection using the TCP monitor? I tried Listen port # 10010 (a big number) Act as a... Listener > Target hostname 127.0.0.1 Target Port 25 I know that the tool is working because I'm receiving the email. But I don't see any activity in the monitor. Q2. I was expecting to see some graphs and result statistics in the 'Meters and Charts' tab, but I don't. Is there a pre-configuration instruction for this? Q3. If I want the SMTP server installed other than on my machine, say 192.1.2.3. How would see the results and statistics using the TestMaker? I'm assuming to install TestNode on 192.1.2.3, and to direct the TCPMonitor to 192.1.2.3 on my machine. Is that all? Or there should be other configuration? Thank you very much for the help. Happy New Year! On Dec 27, 2007 2:01 PM, Frank Cohen wrote: > Hi Juehee: > > TestMaker has a preference (Tools menu -> Preferences -> Monitor tab) > to start a Monitor on the localhost machine. TestMaker executes the > PTTMonitor/run.sh script to start the Monitor. You can run this > manually from a shell command window. > > I tested this on Ubuntu 7.1 and it works fine. Which Linux are you > using? > > Please check the run.sh file privileges and let me know if you see > any error messages. > > Thanks. > > -Frank > > On Dec 27, 2007, at 8:37 AM, Juehee Dawson wrote: > > > Hello, > > > > I was installing it on Llinux, I will check the version but it is > > RedHat > > > > On Dec 25, 2007 2:40 PM, Frank Cohen wrote: > > >> Hi Juehee: > >> > >> Thanks for using TestMaker. I checked into this and find that the > >> Monitor is not compatible with Vista. I opened a ticket on this at: > >> > >> http://bugs.pushtotest.com/ticket/201 > >> > >> The Monitor works fine on XP if you have another machine available. > >> > >> -Frank > >> > >> > >> > >> > >> On Dec 23, 2007, at 10:19 AM, Juehee Dawson wrote: > >> > >>> Helo, > >>> > >>> This is another question related to installation of TestMaker. > >>> > >>> I have installed TestMonitor but I don't see it working. I would > >>> like > >>> to see graphics and statistics of CPU, Memory of server. Do I > >>> have to > >>> set it up in TestMaker to see it? > >>> > >>> Thanks for help in advance. > >>> > >>> Juehee > >>> > >>> On Dec 21, 2007 7:05 PM, Olivier Dony > >>> wrote: > >>>> > >>>> On 21 Dec 2007, at 17:33, "Louise Ledwith" > >>>> > >>>> wrote: > >>>> > >>>> > >>>> > >>>> > >>>> Hi guys, > >>>> > >>>> I am new to TestMaker ? just trying to work my way through the > >>>> install as > >>>> part of my trialling various load testing tools. When > >>>> installing the > >>>> TestMaker installer it is asking me to browse to the location of > >>>> my Firefox > >>>> file. But we do not use Firefox at the company I work at ? we use > >>>> IE7. > >>>> > >>>> Does TestMaker require Firefox? > >>>> It does not require Firefox, but one of the methods available to > >>>> record a > >>>> test does depend on a Firefox plugin. There are other ways to > >>>> create and > >>>> record tests in Testmaker though, for example I think there's a > >>>> recorder > >>>> proxy that should work with IE7. > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> Does TestMaker work with IE7? > >>>> > >>>> Has anyone got TestMaker working on a Vista PC? We are currently > >>>> using XP > >>>> Pro but have plans to migrate to Vista early in 2008. > >>>> > >>>> Thank in advance for any help or advice anyone can give me with > >>>> this. > >>>> > >>>> Louise. > >>>> _______________________________________________ > >>>> Users mailing list > >>>> Users@lists.pushtotest.com > >>>> http://lists.pushtotest.com/mailman/listinfo/users > >>>> > >>>> _______________________________________________ > >>>> Users mailing list > >>>> Users@lists.pushtotest.com > >>>> http://lists.pushtotest.com/mailman/listinfo/users > >>>> > >>>> > >>> _______________________________________________ > >>> Users mailing list > >>> Users@lists.pushtotest.com > >>> http://lists.pushtotest.com/mailman/listinfo/users > >>> > >> > >> > >> > >> -- > >> Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 > >> 0122 > >> TestMaker open-source test automation > >> > >> > >> > >> > >> _______________________________________________ > >> Users mailing list > >> Users@lists.pushtotest.com > >> http://lists.pushtotest.com/mailman/listinfo/users > >> > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 > TestMaker open-source test automation > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > From jueheenara at gmail.com Thu Jan 3 13:33:54 2008 From: jueheenara at gmail.com (Juehee Dawson) Date: Thu Jan 3 14:09:34 2008 Subject: [ptt-users] Question on Running a TestScenario Message-ID: Hello, I'm running a load test scenario in using TestMaker. The loadtest seems go to the end, but I don't think the actual methods specified in xml file is run. (I don't see any results and any logs). This is what I see in the output ***** START Module File: /localdisk/PushToTest/smtpClient.py - Loading Scenario - - Starting Monitors - - Monitoring on Testnodes is disabled - - Monitoring on Host is disabled - - Making Transactions - - Starting test - - Recording Transaction - - Test Complete! - - Getting Result Files - - Starting test - - Recording Transaction - - Test Complete! - - Getting Result Files - Unable to tally files: Not enough files. ********* It says the test is complete but I don't think actual methods were run during the test scenario. (This is an SMTP test python file, but I don't see a sent email (this python file worked when it was run alone). I'm including the entire xml file here. Can anyone tell why it's not running the actual method? Also, when the TestMaker starts, I see the following message saying that log4j is not initialized, or no appenders cound. Does anyone know of this problem and has fixed it? Thank you in advance. **** log4j error ***** 008-01-03 10:12:09.671::INFO: Started SelectChannelConnector@0.0.0.0:8080 log4j:WARN No appenders could be found for logger (info0). log4j:WARN Please initialize the log4j system properly. **** test scenario file ***** Untitled Functional Test /localdisk/PushToTest 0 From olivier.dony at denali.be Thu Jan 3 14:45:45 2008 From: olivier.dony at denali.be (Olivier Dony) Date: Thu Jan 3 15:21:19 2008 Subject: [ptt-users] Question on Running a TestScenario In-Reply-To: References: Message-ID: <477D6599.4000102@denali.be> Juehee Dawson wrote: > Hello, Hi Juehee, > I'm running a load test scenario in using TestMaker. > > The loadtest seems go to the end, but I don't think the actual methods > specified in xml file is run. (I don't see any results and any logs). > > This is what I see in the output > ***** START > Module File: /localdisk/PushToTest/smtpClient.py > - Loading Scenario - > - Starting Monitors - > - Monitoring on Testnodes is disabled - > - Monitoring on Host is disabled - > - Making Transactions - > - Starting test - > - Recording Transaction - > - Test Complete! - > - Getting Result Files - > - Starting test - > - Recording Transaction - > - Test Complete! - > - Getting Result Files - > Unable to tally files: Not enough files. > ********* > > It says the test is complete but I don't think actual methods were run > during the test scenario. (This is an SMTP test python file, but I > don't see a sent email (this python file worked when it was run > alone). > > I'm including the entire xml file here. Can anyone tell why it's not > running the actual method? Maybe this is too obvious, but in your xml file the only testnode listed seems commented out. This means that TestMaker won't run your python test anywhere. The local testnode (localhost:8080...) is normally installed and started with TestMaker, so you should be able to use it out-of-the-box. Another possible issue: your elements seem to refer to a module named "default_" while there's only one module defined, and named "default_test" instead. > Also, when the TestMaker starts, I see the following message saying > that log4j is not initialized, or no appenders cound. Does anyone know > of this problem and has fixed it? Thank you in advance. You can safely ignore this log4j message. Hope this helps... > > **** log4j error ***** > 008-01-03 10:12:09.671::INFO: Started SelectChannelConnector@0.0.0.0:8080 > log4j:WARN No appenders could be found for logger (info0). > log4j:WARN Please initialize the log4j system properly. > > **** test scenario file ***** > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="www.pushtotest.com/tm5 > " version="2.0"> > > > Untitled Functional Test > /localdisk/PushToTest > > > > > > > > > > > > > > > > > > > > > > method="setUp" langtype="jython"/> > method="runTest" langtype="jython"/> > > > > > > > > > > > > > 0 > > > > > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Olivier Dony Denali s.a., "Bridging the gap between Business and IT" Rue de Clairvaux, 8, B-1348 Louvain-la-Neuve, Belgium Office: +32 10 43 99 51 Fax: +32 10 43 99 52 www.denali.be Disclaimer : this message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message by mistake, please advise the sender immediately by return e-mail and delete this message from your system. Thank you for your cooperation. From jueheenara at gmail.com Thu Jan 3 14:54:29 2008 From: jueheenara at gmail.com (Juehee Dawson) Date: Thu Jan 3 15:30:02 2008 Subject: [ptt-users] Question on Running a TestScenario In-Reply-To: References: Message-ID: Sorry for so many emails for this. I changed the lines to include the testnode (I thought it was only for http testing and commented out before.) Also, removed the resources but only had with 'run name' = the pythong file name. (as shown below) But it still doesn't work. And I got an error from the TestNode line I added. But it's after the 'Test Complete' line. Has anyone tried the TestScenario with other than HTTP testing? I'm a little frustrated because the methods I specify are not called. I'm wondering if the xml file is going through the line ever. Is there any way to check? *** Console output (I guess to see my print outs here because is set to console, but I don't see any..) ava.lang.NullPointerException at com.pushtotest.testnetwork.Master.getFileFromNodeAndSaveIt(Unknown Source) at com.pushtotest.testmaker.XSTest.client.TestNode.getFileFromNodeAndSaveIt(TestNode.java:370) at com.pushtotest.testmaker.XSTest.client.ControlRunner.getFiles(ControlRunner.java:1070) at com.pushtotest.testmaker.XSTest.client.ControlRunner.run(ControlRunner.java:497) Error on tally file /localdisk/PushToTest//Results/Thu_Jan_03_17-48-12_EST_2008/localhost-uc0crl0sz0.xml The node localhost doesn't start the usecase - Starting test - - Recording Transaction - - Test Complete! - - Getting Result Files - java.lang.NullPointerException at com.pushtotest.testnetwork.Master.getFileFromNodeAndSaveIt(Unknown Source) at com.pushtotest.testmaker.XSTest.client.TestNode.getFileFromNodeAndSaveIt(TestNode.java:370) at com.pushtotest.testmaker.XSTest.client.ControlRunner.getFiles(ControlRunner.java:1070) at com.pushtotest.testmaker.XSTest.client.ControlRunner.run(ControlRunner.java:497) Error on tally file /localdisk/PushToTest//Results/Thu_Jan_03_17-48-12_EST_2008/localhost-uc0crl1sz0.xml Unable to tally files: Not enough files. **** **** Modified Test Scenario**** Untitled Functional Test /localdisk/PushToTest/ 0 On Jan 3, 2008 4:33 PM, Juehee Dawson wrote: > Hello, > > I'm running a load test scenario in using TestMaker. > > The loadtest seems go to the end, but I don't think the actual methods > specified in xml file is run. (I don't see any results and any logs). > > This is what I see in the output > ***** START > Module File: /localdisk/PushToTest/smtpClient.py > - Loading Scenario - > - Starting Monitors - > - Monitoring on Testnodes is disabled - > - Monitoring on Host is disabled - > - Making Transactions - > - Starting test - > - Recording Transaction - > - Test Complete! - > - Getting Result Files - > - Starting test - > - Recording Transaction - > - Test Complete! - > - Getting Result Files - > Unable to tally files: Not enough files. > ********* > > It says the test is complete but I don't think actual methods were run > during the test scenario. (This is an SMTP test python file, but I > don't see a sent email (this python file worked when it was run > alone). > > I'm including the entire xml file here. Can anyone tell why it's not > running the actual method? > > Also, when the TestMaker starts, I see the following message saying > that log4j is not initialized, or no appenders cound. Does anyone know > of this problem and has fixed it? Thank you in advance. > > **** log4j error ***** > 008-01-03 10:12:09.671::INFO: Started SelectChannelConnector@0.0.0.0:8080 > log4j:WARN No appenders could be found for logger (info0). > log4j:WARN Please initialize the log4j system properly. > > **** test scenario file ***** > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="www.pushtotest.com/tm5 > " version="2.0"> > > > Untitled Functional Test > /localdisk/PushToTest > > > > > > > > > > > > > > > > > > > > > > method="setUp" langtype="jython"/> > method="runTest" langtype="jython"/> > > > > > > > > > > > > > 0 > > > > > > > > From olivier.dony at denali.be Thu Jan 3 15:38:27 2008 From: olivier.dony at denali.be (Olivier Dony) Date: Thu Jan 3 16:14:00 2008 Subject: [ptt-users] Question on Running a TestScenario In-Reply-To: References: Message-ID: <477D71F3.5040908@denali.be> Juehee Dawson wrote: > Sorry for so many emails for this. > > I changed the lines to include the testnode (I thought it was only for > http testing and commented out before.) Testnodes are basically workers. Whenever you run a load-test, TestMaker distributes the work on the available testnodes (as defined in the XML), and according to the crlevels you specified. Each testnode first goes through a little warm-up, during which the test is already executed but not actually measured/recorded. Then the test is executed *and* recorded, until "testTime" has elapsed. > Also, removed the resources but only had with 'run name' = the > pythong file name. (as shown below) > > But it still doesn't work. And I got an error from the TestNode line I > added. But it's after the 'Test Complete' line. The scenario being specified as an XML file, it can be a bit tricky to get the syntax exactly right, and all the bits an pieces required to make it work. A single spelling error can break everything. And as you noticed, the error messages are not always very useful in finding the problem. You need to check at least these few things (that I can think of right now): - the section must specify at least one valid testnode - the section must specify a module with a name, and the path must correctly point to your test script (you have removed it!) - each element must refer by name to a module defined in the (check spelling there) - each element must specify a correct "langtype" attribute (check spelling) - I think the test script must also declare a static/global method called "getTest" or "getHTMLTest" (not sure anymore, have a look at the examples), which must return an object providing the method specified in the "method" attribute of the element. There are probably other little requirements, so maybe the simplest thing to do is to try to run one of the sample scripts packaged with TestMaker. These should come with working XML scenario files, and when you have one working, modify the script body to execute your own test. If you still have issues, I can send you an example scenario + jython test script when I get to the office tomorrow. -- Olivier Dony Denali s.a., "Bridging the gap between Business and IT" Rue de Clairvaux, 8, B-1348 Louvain-la-Neuve, Belgium Office: +32 10 43 99 51 Fax: +32 10 43 99 52 www.denali.be Disclaimer : this message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message by mistake, please advise the sender immediately by return e-mail and delete this message from your system. Thank you for your cooperation. From mircea at neodonis.com Mon Jan 7 06:42:27 2008 From: mircea at neodonis.com (Mircea Cocosila) Date: Mon Jan 7 07:19:02 2008 Subject: [ptt-users] TestMaker 5.1 - installer gets stuck Message-ID: <6415b3df0801070642k2ecea480hc251bf0932d47e0e@mail.gmail.com> Hi, A few weeks ago I used TestMaker 5.0 for a few days. It seems to have good potential, although I couldn't put it to work in my favor. There were things I was not too happy with. I sent a few messages to PushToTest and didn't get any answers back. Now, I'm trying to install TestMaker 5.1 for Windows and the installer gets stuck at step 6/6 when installing PTTMonitor\build.xml. Note: I run Windows XP on Intel hardware. Thanks, Mircea -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080107/d178846f/attachment.htm From mircea at neodonis.com Mon Jan 7 07:13:30 2008 From: mircea at neodonis.com (Mircea Cocosila) Date: Mon Jan 7 07:49:56 2008 Subject: [ptt-users] instance of 'xxx' has no attribute 'logger' Message-ID: <6415b3df0801070713i15831182nb4cf9a58fe5cd1fd@mail.gmail.com> Note: I'm running TestMaker 5.1 on Windows XP. I recorded a script using Network Proxy Recorder. I tried to run it and got: registeruser: Initialize ------------------------------ Agent stopped. ------------------------------ Agent error: Traceback (innermost last): File "", line 136, in ? File "", line 45, in __init__ File "C:\PushToTest_TestMaker\.\lib\.\agentbase.py", line 123, in __init__ File "C:\PushToTest_TestMaker\.\lib\.\agentbase.py", line 394, in log AttributeError: instance of 'registeruser' has no attribute 'logger' Please have a look. Similar problem I encountered with 5.0 Thanks, Mircea -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080107/d65d20a2/attachment.htm From mircea at neodonis.com Mon Jan 7 07:36:35 2008 From: mircea at neodonis.com (Mircea Cocosila) Date: Mon Jan 7 08:13:04 2008 Subject: [ptt-users] MalformedCookieException Message-ID: <6415b3df0801070736o6d52b22y30f417ed8160fbb6@mail.gmail.com> My env: Windows XP running TestMaker 5.1 What I did: - created a test script using Network Proxy Recorder - run it => I got the following errors. Please let me know what additional context you need in order to track the problem. Thanks a lot. registeruser: Initialize test: setUp test: runTest Request step: 1, http://compusa.at.edeal.com/cgi-bin/ncommerce3/LogonForm Request step: 2, http://compusa.at.edeal.com/cgi-bin/ncommerce3/Logon com.sonalb.net.http.cookie.MalformedCookieException: Invalid cookie. : Code=SBCL_0012 : OriginClass=com.sonalb.net.http.cookie.RFC2965CookieParser: OriginMethod=parseSingleCookieV0 : CausalException= at com.sonalb.net.http.cookie.RFC2965CookieParser.parseSingleCookieV0( RFC2965CookieParser.java:1053) 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:163) at com.sonalb.net.http.cookie.Client.getCookies(Client.java:158) at com.sonalb.net.http.cookie.Client.getCookies(Client.java:148) at com.pushtotest.tool.protocolhandler.HTTPProtocol.connect( HTTPProtocol.java:430) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java ) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java:270) at org.python.core.PyInstance.invoke(PyInstance.java) at agentbase$py.connect$6(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:200) at agentbase$py.call_function(C:\PushToTest_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.post$5(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:189) at agentbase$py.call_function(C:\PushToTest_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 org.python.pycode._pyx18.runTest$4(:64) at org.python.pycode._pyx18.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._pyx18.f$0(:138) at org.python.pycode._pyx18.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(AgentRunner.java:259) ------------------------------ Agent stopped. ------------------------------ Agent error: Traceback (innermost last): File "", line 138, in ? File "", line 64, in runTest File "C:\PushToTest_TestMaker\.\lib\.\agentbase.py", line 189, in post File "C:\PushToTest_TestMaker\.\lib\.\agentbase.py", line 200, in connect com.pushtotest.tool.ToolException: HTTPProtocol problem: Malformed Cookie Exception. com.sonalb.net.http.cookie.MalformedCookieException: Invalid cookie. : Code=SBCL_0012 : OriginClass= com.sonalb.net.http.cookie.RFC2965CookieParser : OriginMethod=parseSingleCookieV0 : CausalException= at com.pushtotest.tool.protocolhandler.HTTPProtocol.connect( HTTPProtocol.java:434) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java ) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java:270) at org.python.core.PyInstance.invoke(PyInstance.java) at agentbase$py.connect$6(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:200) at agentbase$py.call_function(C:\PushToTest_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.post$5(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:189) at agentbase$py.call_function(C:\PushToTest_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 org.python.pycode._pyx18.runTest$4(:64) at org.python.pycode._pyx18.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._pyx18.f$0(:138) at org.python.pycode._pyx18.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(AgentRunner.java:259) com.pushtotest.tool.ToolException: com.pushtotest.tool.ToolException: HTTPProtocol problem: Malformed Cookie Exception. com.sonalb.net.http.cookie.MalformedCookieException: Invalid cookie. : Code=SBCL_0012 : OriginClass=com.sonalb.net.http.cookie.RFC2965CookieParser: OriginMethod=parseSingleCookieV0 : CausalException= -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080107/c8086b63/attachment-0001.htm From mircea at neodonis.com Mon Jan 7 10:52:53 2008 From: mircea at neodonis.com (Mircea Cocosila) Date: Mon Jan 7 11:29:31 2008 Subject: [ptt-users] HttpTestcase equivalent functionality in TestMaker 5.1? Message-ID: <6415b3df0801071052g7fc0b57dhd9d0efceb11fbd0d@mail.gmail.com> Hi, I liked the "assert" support in standalone MaxQ tool. Basically, I liked the HttpTestcase class contents. Could I know why TestMaker removed that valuable testing support? Is there any equivalent way in TestMaker 5.1 to help with making assertions against the response HTML? Thanks, Mircea -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080107/3ab4ea60/attachment.htm From mircea at neodonis.com Mon Jan 7 11:39:14 2008 From: mircea at neodonis.com (Mircea Cocosila) Date: Mon Jan 7 12:15:43 2008 Subject: [ptt-users] jCookie v0.8c to be included in TestMaker 5.1? Message-ID: <6415b3df0801071139k7cbafe36lf6857168f467ff0e@mail.gmail.com> I noticed that TestMaker 5.1 uses jCookie v0.8b dated 2002. Maybe it would be better to use jCookie v0.8c dated 2005 - http://sourceforge.net/project/showfiles.php?group_id=48013 Notea: - I had a cookie related problem today when running TestMaker 5.1. I got the latest jCookie, recompiled it with the "strict" flag set to false and replaced jCookie.jar deployed with TM 5.1. Then TM run my script happily. - latest jCookie.zip from sourceforge.net doesn't contain build.xml. I checkout build.xml from cvs, placed it in jCookie's /src dir and rebuilt. Mircea -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080107/93550f8c/attachment.htm From javaworkinggirl at gmail.com Tue Jan 15 15:43:26 2008 From: javaworkinggirl at gmail.com (Tara Czutno) Date: Tue Jan 15 16:21:54 2008 Subject: [ptt-users] testgen4web script runs in firefox but not from pushtotest Message-ID: <41a7261c0801151543g54c25aeu7136e5c4f6daa045@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: testgenrecord2.testgen4web Type: application/octet-stream Size: 7453 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/users/attachments/20080115/a9478c9c/testgenrecord2.obj From fcohen at pushtotest.com Thu Jan 17 00:48:16 2008 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Jan 17 01:27:06 2008 Subject: [ptt-users] testgen4web script runs in firefox but not from pushtotest In-Reply-To: <27003862.1200440762986.JavaMail.root@m06> References: <27003862.1200440762986.JavaMail.root@m06> Message-ID: Hi Tara: Thanks for sending the recorded script and explaining what you are seeing. > I recorded and hand edited a testgen4web script. The hand-edits look ok to me. > If I run the script from firefox in the testgen4web plug in, it > runs very slowly but makes it through completing the script with no > errors. Are you thinking the slowness is from the target application or something in the Plug-in? If the Plug-in, click the Preferences button in the TestGen4Web plug-in and change the Delay value to make it run faster. > If I run the script from within push to test, it gives an error on > step 15. > > Why? The plug-in runs the script by making calls to the Firefox browser. TestMaker's TestGen4Web script runner is an interpreter that uses the HTMLUnit framework to operate the test. There are bound to be differences. I can look into this if you were to provide me with a network-level trace of the script running in the plug-in AND running in TestMaker. You can use WireShark (Etheral) or the Network Monitor in TestMaker. Send it to me and I'll look for why the script runner is messing-up. > Also, then push to test says the script runs successfully, but it > does not run successfully. Yep. This is a bug. (Or, an unimplemented enhancement. :-) > How can I debug this? Can I make push to test give a verbose > visual output so I can see why the page is failing? > The TestGen4Web package from SpikeSource has the ability to give a visual output. We turned it off in TestMaker because it is not needed for a load and performance test. Sorry. -Frank On Jan 15, 2008, at 3:43 PM, Tara Czutno wrote: > I recorded and hand edited a testgen4web script. > > If I run the script from firefox in the testgen4web plug in, it > runs very slowly but makes it through completing the script with no > errors. > > If I run the script from within push to test, it gives an error on > step 15. > > Why? > > Also, then push to test says the script runs successfully, but it > does not run successfully. > > How can I debug this? Can I make push to test give a verbose > visual output so I can see why the page is failing? > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From Sameer.Khan at ca.com Thu Jan 17 11:33:20 2008 From: Sameer.Khan at ca.com (Khan, Sameer) Date: Thu Jan 17 12:12:13 2008 Subject: [ptt-users] TestMaker 5 In-Reply-To: <5ac919760705120035g656b6610gdb16b6e2de441fa9@mail.gmail.com> Message-ID: <3240464A2687334E92AAB86DAB65045307BA8B59@USILMS13.ca.com> I am trying to use TestMaker5 on MS Windows Server 2003. When I run TestMaker.bat, I get the following: Any ideas? C:\TestMaker5>TestMaker.bat Exception in thread "main" java.lang.UnsupportedClassVersionError: com/pushtotest/testmaker/Main (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080117/ea6b157d/attachment-0001.htm From Timothy.Jones at syniverse.com Thu Jan 17 11:36:46 2008 From: Timothy.Jones at syniverse.com (Timothy Jones) Date: Thu Jan 17 12:15:49 2008 Subject: [ptt-users] TestMaker 5 In-Reply-To: <3240464A2687334E92AAB86DAB65045307BA8B59@USILMS13.ca.com> References: <5ac919760705120035g656b6610gdb16b6e2de441fa9@mail.gmail.com> <3240464A2687334E92AAB86DAB65045307BA8B59@USILMS13.ca.com> Message-ID: <044F2EDDF4FCA24A965ECAA66CB9345C01611EE2@vdsexc02> You're trying to execute Java 1.5 code (TestMaker) with a pre-1.5 JRE. Use Java 1.5 or higher. It's in the FAQ list for lots of projects. tlj ________________________________ From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Khan, Sameer Sent: Thursday, January 17, 2008 2:33 PM To: TestMaker users list Subject: [ptt-users] TestMaker 5 I am trying to use TestMaker5 on MS Windows Server 2003. When I run TestMaker.bat, I get the following: Any ideas? C:\TestMaker5>TestMaker.bat Exception in thread "main" java.lang.UnsupportedClassVersionError: com/pushtotest/testmaker/Main (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) From tandav.dutta at gmail.com Thu Jan 17 20:31:53 2008 From: tandav.dutta at gmail.com (Tandav Dutta) Date: Thu Jan 17 21:10:52 2008 Subject: [ptt-users] error while running XML scenario Message-ID: I get the following error when i try to run a functional test in PushToTest; any ideas on what is going wrong? And also, can i run this XML scenario from command line? ---- - Validating test - The test is valid. - The functional test is running - - Test Resources - XML Scenario: C:\Program Files\PushToTest_TestMaker\example_agents\dutta01\blankFunctional.xml - Loading Scenario - The node localhost is invalid TestNetworkException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.pushtotest.testmaker.XSTest.client.TestNode.masterWrapper( TestNode.java:801) at com.pushtotest.testmaker.XSTest.client.TestNode.getNodeStatus( TestNode.java:546) at com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest( ControlRunner.java:370) at com.pushtotest.testmaker.XSTest.client.ControlRunner.run( ControlRunner.java:446) Unable to collect status information from localhost - Functional Test results - TestNetworkException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.pushtotest.testmaker.XSTest.client.TestNode.masterWrapper( TestNode.java:801) at com.pushtotest.testmaker.XSTest.client.TestNode.getNodeStatus( TestNode.java:546) at com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest( ControlRunner.java:394) at com.pushtotest.testmaker.XSTest.client.ControlRunner.run( ControlRunner.java:446) Unknown status of node localhost Functional test done. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080118/52930b6d/attachment.htm From fcohen at pushtotest.com Thu Jan 17 21:41:12 2008 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Jan 17 22:20:14 2008 Subject: [ptt-users] error while running XML scenario In-Reply-To: <1901666.1200630810038.JavaMail.root@m06> References: <1901666.1200630810038.JavaMail.root@m06> Message-ID: Hi Tandav: "The node localhost is invalid" This seems to be the problem. The TestNode probably did not start. You can confirm the TestNode is operating by browsing http:// localhost:8080/response/htmlresponder. Everything is setup correctly when the TestNode displays the "Examples" page. Take a look in the Output panel (lower left in TestMaker) and the Local TestNode Output and Error tabs. -Frank On Jan 17, 2008, at 8:31 PM, Tandav Dutta wrote: > I get the following error when i try to run a functional test in > PushToTest; any ideas on what is going wrong? > And also, can i run this XML scenario from command line? > > ---- > - Validating test - > The test is valid. > - The functional test is running - > - Test Resources - > XML Scenario: C:\Program Files\PushToTest_TestMaker\example_agents > \dutta01\blankFunctional.xml > - Loading Scenario - > The node localhost is invalid > TestNetworkException: > null > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke (Unknown Source) > at com.pushtotest.testmaker.XSTest.client.TestNode.masterWrapper > (TestNode.java:801) > at com.pushtotest.testmaker.XSTest.client.TestNode.getNodeStatus > (TestNode.java:546) > at > com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest > (ControlRunner.java:370) > at com.pushtotest.testmaker.XSTest.client.ControlRunner.run > (ControlRunner.java:446) > Unable to collect status information from localhost > - Functional Test results - > TestNetworkException: > null > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke (Unknown Source) > at com.pushtotest.testmaker.XSTest.client.TestNode.masterWrapper > (TestNode.java:801) > at com.pushtotest.testmaker.XSTest.client.TestNode.getNodeStatus > (TestNode.java:546) > at > com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest > (ControlRunner.java:394) > at com.pushtotest.testmaker.XSTest.client.ControlRunner.run > (ControlRunner.java:446) > Unknown status of node localhost > Functional test done. > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From tandav.dutta at gmail.com Thu Jan 17 22:29:04 2008 From: tandav.dutta at gmail.com (Tandav Dutta) Date: Thu Jan 17 23:08:04 2008 Subject: [ptt-users] error while running XML scenario In-Reply-To: References: <1901666.1200630810038.JavaMail.root@m06> Message-ID: I cannot launch the Examples page; it shows a http 404 error. And there are no entries in Local TestNode Output and Local TestNode Error tabs. How do i start the test node; doesnt it start automatically when i start TestMaker? On 1/18/08, Frank Cohen wrote: > > Hi Tandav: > > "The node localhost is invalid" > > This seems to be the problem. The TestNode probably did not start. > You can confirm the TestNode is operating by browsing http:// > localhost:8080/response/htmlresponder. Everything is setup correctly > when the TestNode displays the "Examples" page. > > Take a look in the Output panel (lower left in TestMaker) and the > Local TestNode Output and Error tabs. > > -Frank > > > > > On Jan 17, 2008, at 8:31 PM, Tandav Dutta wrote: > > > I get the following error when i try to run a functional test in > > PushToTest; any ideas on what is going wrong? > > And also, can i run this XML scenario from command line? > > > > ---- > > - Validating test - > > The test is valid. > > - The functional test is running - > > - Test Resources - > > XML Scenario: C:\Program Files\PushToTest_TestMaker\example_agents > > \dutta01\blankFunctional.xml > > - Loading Scenario - > > The node localhost is invalid > > TestNetworkException: > > null > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke (Unknown Source) > > at com.pushtotest.testmaker.XSTest.client.TestNode.masterWrapper > > (TestNode.java:801) > > at com.pushtotest.testmaker.XSTest.client.TestNode.getNodeStatus > > (TestNode.java:546) > > at > > com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest > > (ControlRunner.java:370) > > at com.pushtotest.testmaker.XSTest.client.ControlRunner.run > > (ControlRunner.java:446) > > Unable to collect status information from localhost > > - Functional Test results - > > TestNetworkException: > > null > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke (Unknown Source) > > at com.pushtotest.testmaker.XSTest.client.TestNode.masterWrapper > > (TestNode.java:801) > > at com.pushtotest.testmaker.XSTest.client.TestNode.getNodeStatus > > (TestNode.java:546) > > at > > com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest > > (ControlRunner.java:394) > > at com.pushtotest.testmaker.XSTest.client.ControlRunner.run > > (ControlRunner.java:446) > > Unknown status of node localhost > > Functional test done. > > > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 > TestMaker open-source test automation > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080118/fed29634/attachment.htm From fcohen at pushtotest.com Sat Jan 19 14:47:38 2008 From: fcohen at pushtotest.com (Frank Cohen) Date: Sat Jan 19 15:27:07 2008 Subject: [ptt-users] UI Design for Enhanced Results Analysis (Ticket 188) Message-ID: <70D190B3-2E63-48ED-B41B-302C079F038B@pushtotest.com> Dear PushToTest Users: We're making outstanding progress on building the Enhanced Results Analysis engine for PushToTest TestMaker. The internal work is almost done. We are now concentrating on the user interface design. I uploaded a new document on the UI design for your review, feedback, and comments. Please download it in Adobe Acrobat format at: http://downloads.pushtotest.com/tm5/Results_UI_Design.pdf Thanks, in advance! -Frank From Sameer.Khan at ca.com Sat Jan 19 23:49:24 2008 From: Sameer.Khan at ca.com (Khan, Sameer) Date: Sun Jan 20 00:28:53 2008 Subject: [ptt-users] TestMaker 5: Convert xml scenario to Jython and SOAP parameterization In-Reply-To: <3240464A2687334E92AAB86DAB65045307BA8B59@USILMS13.ca.com> References: <5ac919760705120035g656b6610gdb16b6e2de441fa9@mail.gmail.com> <3240464A2687334E92AAB86DAB65045307BA8B59@USILMS13.ca.com> Message-ID: <3240464A2687334E92AAB86DAB65045307BA95C6@USILMS13.ca.com> Hi Folks, I used soap UI to create a ...soapui-project.xml (which has a series of webservice operations). I then used the TestMaker5 gui to create a functional test for this that is basically executing one of those webservice operation (defined in soapui-project.xml) file. I have couple of questions: 1) How do I convert my functionaltest.xml to jython? I know there is TestGen4Web utility but am not sure whether this is the right one for converting Webservices based functional tests. 2) How do we parameterize various fields in SOAP request(s) in "...soapui-project.xml"? Below is an excerpt from my "..soapui-project.xml" file and what if I don't want to hardcode the field marked in Red. - - Carl1 ]]> Thanks, -Sameer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080120/5d452648/attachment-0001.htm From tandav.dutta at gmail.com Sun Jan 20 07:24:19 2008 From: tandav.dutta at gmail.com (Tandav Dutta) Date: Sun Jan 20 08:03:54 2008 Subject: [ptt-users] TestMaker 5: Convert xml scenario to Jython and SOAP parameterization In-Reply-To: <3240464A2687334E92AAB86DAB65045307BA95C6@USILMS13.ca.com> References: <5ac919760705120035g656b6610gdb16b6e2de441fa9@mail.gmail.com> <3240464A2687334E92AAB86DAB65045307BA8B59@USILMS13.ca.com> <3240464A2687334E92AAB86DAB65045307BA95C6@USILMS13.ca.com> Message-ID: Sameer, got some hints on data-driven tests .... need to explore more .... http://soapui.org/userguide/scenarios/datadriven.html http://soapui.org/userguide/scenarios/templatedriven.html On 1/20/08, Khan, Sameer wrote: > > Hi Folks, I used soap UI to create a ?soapui-project.xml (which has a > series of webservice operations). I then used the TestMaker5 gui to create a > functional test for this that is basically executing one of those webservice > operation (defined in soapui-project.xml) file. I have couple of > questions: > > > > 1) How do I convert my functionaltest.xml to jython? I know there is > TestGen4Web utility but am not sure whether this is the right one for > converting Webservices based functional tests. > > 2) How do we parameterize various fields in SOAP request(s) in > "?soapui-project.xml"? Below is an excerpt from my "..soapui-project.xml" file and what if I don't want to hardcode the field marked in Red. > > > > *-* > > - > > > > > > > > > *Carl1* > > > > > > > > * * ]]> > > * * > > > > > > Thanks, > > -Sameer > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080120/39587c3f/attachment.htm From fcohen at pushtotest.com Tue Jan 22 08:15:16 2008 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Jan 22 08:55:21 2008 Subject: [ptt-users] Jackrabbit and repository Message-ID: <56AEC0A3-2579-48E4-AED9-7FC0E1B6022D@pushtotest.com> Dear PushToTest users: Every once in a while a confluence of ideas happens around open- source test automation. The confluence of this week is: - Apache's announcement of Jackrabbit 1.4 - Zephyr's announcement that their private beta of a new collaborative test automation platform uses Jackrabbit - Jimmy Foulkes (one of our architects) push for PTTWeb to use JSR 170 and specifically Jackrabbit as our new repository for the upcoming PushToTest collaborative test automation platform. All of these happened this week! PushToTest is being used by hundreds of thousands of developers now. We often hear users and customers asking for a collaborative test environment that features a repository of tests and a scheduler. We are working on these under the codename PTTWeb. The first piece of the project is the repository. This is perhaps the most important module of PTTWeb because it provides all the storage functionality required by the other modules. Will serve as the storage repository for test scenarios, resources and scripts as well as test results. In general this will include the storage of the following areas: Test resources: test related artifacts using a file system metaphor Test results: all test data results associated to the executed jobs from the different test nodes Security: all information related to security access like users, roles, permissions, etc. Scheduling: job and its execution scheduling information In order to avoid spending time on writing code to provide this functionality it is necessary to find an Open Source product/project that provides this service. The Java Community process has a specification for Content Repositories under the JSR 170. There are several Open Source implementations of this JSR. One possible implementation is the Apache Jackrabbit project that fulfills this JSR as well as adding several more features of its own. Jackrabbit is in use by several important projects like JBoss portal, Magnolia Content management system, jLibrary, Sun's OpenPortal Project. Most providers for this JSR can provide RDMS implementation for the underlying data store. A MySql database could provide the actual storage capabilities for the repository although a file system based repository is much faster. The idea is that the repository should emulate a typical hierarchical file system with similar access permission typical of a file system. Attention will be placed in the design to the appropriate structure of this repository and to allow the definition of the required metadata associated with the possible resources to be kept there. A general search function will be provided on this repository. For those resources of text type the actual contents of the resource can be searched, otherwise the search will be performed on the actual names, attributes and repository structure for the repository. The design document for PTTWeb is available for your review, feedback and ideas at http://downloads.pushtotest.com/tm5/PTTWeb- DesignProposal.pdf. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From Sameer.Khan at ca.com Tue Jan 22 17:39:38 2008 From: Sameer.Khan at ca.com (Khan, Sameer) Date: Tue Jan 22 18:19:43 2008 Subject: [ptt-users] Some more TestMaker5 questions Message-ID: <3240464A2687334E92AAB86DAB65045307C2B010@USILMS13.ca.com> Frank, All, * Question# 1: When I try to run the TestMaker5 from the command line, its spits out the message: "The node localhost is invalid". However, when I have TestMaker GUI up and running and then I try to run a scenario via command line, things work just fine. I am using the following command line: TestMaker.bat -commandline -t Tests/Trade6LoadTest.xml I am assuming that somehow this command line itself is not able to start the TestNode and therefore complains when run without the TestMaker GUI up and running. Is this a known problem or I am missing some parameter in the command line? It seems odd to have this kind of dependency on the GUI. * Question# 2: TestMaker logs data for each transaction after every run (in xml format). Depending on the transactions throughput and test durations, this can be a huge xml file and TM itself can take up significant time and resources to generate that log (at the end of the run). Is there a way to shutoff this logging if that raw data is not required? * Question# 3: This is continuation of Question# 2. During any given test run, how is testmaker5 internally managing this per transaction data in its internal data structures? For high volume tests spanning over many hrs, are we supposed to run into JVM heap out-of-space kind of problems with the way this is implemented right now? Thanks in advance, -Sameer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080122/8015bb64/attachment.htm From fcohen at pushtotest.com Tue Jan 22 19:00:10 2008 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Jan 22 19:40:32 2008 Subject: [ptt-users] Some more TestMaker5 questions In-Reply-To: <30350615.1201052784729.JavaMail.root@m06> References: <30350615.1201052784729.JavaMail.root@m06> Message-ID: <9CA080B8-BF14-4469-A8E4-CD632A284542@pushtotest.com> Hi Sameer: Thanks for using PushToTest TestMaker. I am very glad to see it is working at CA. Here are some thoughts on your questions: > Question# 1: When I try to run the TestMaker5 from the command > line, its spits out the message: "The node localhost is invalid". > However, when I have TestMaker GUI up and running and then I try to > run a scenario via command line, things work just fine. I am using > the following command line: > > > > TestMaker.bat -commandline -t Tests/Trade6LoadTest.xml > > > > I am assuming that somehow this command line itself is not able to > start the TestNode and therefore complains when run without the > TestMaker GUI up and running. Is this a known problem or I am > missing some parameter in the command line? It seems odd to have > this kind of dependency on the GUI. > PushToTest TestMaker starts a local TestNode as a convenience when authoring tests in the TestMaker application. Please launch the TestNode from the command-line too. You can do this today with: TestMaker_home/TestNetwork/TestNode/startup.bat (for Windows, and .sh for Unix/Linux/Mac) (By the way, the same is true about the local Resource Monitor - PTTMonitor) > ? Question# 2: TestMaker logs data for each transaction > after every run (in xml format). Depending on the transactions > throughput and test durations, this can be a huge xml file and TM > itself can take up significant time and resources to generate that > log (at the end of the run). Is there a way to shutoff this logging > if that raw data is not required? > There are controls over the logging provided in the TestScenario. (http://docs.pushtotest.com/docs/reference.html) There is currently no way to eliminate the transaction logging. I am open to your ideas to make TestMaker better and easier to use. We are currently working on an Enhanced Results Analysis engine that gives you much more control over what is reported. Details are found at http://bugs.pushtotest.com/ticket/188 and I blogged about it just yesterday at http://www.pushtotest.com/thecohenblog. > ? Question# 3: This is continuation of Question# 2. During > any given test run, how is testmaker5 internally managing this per > transaction data in its internal data structures? For high volume > tests spanning over many hrs, are we supposed to run into JVM heap > out-of-space kind of problems with the way this is implemented > right now? > TestMaker uses a snapshot mechanism to move the transaction data from the TestNodes to the TestMaker console. It is possible to run out of memory but we have not seen that happen yet (and we have run multi- day tests.) One option you may find useful is logging to a relational database. This is documented here: http://bugs.pushtotest.com/ticket/62 and results analysis in general is at: http://docs.pushtotest.com/docs/ analyzingresults.html Hope this helps! -Frank > > > > > Thanks in advance, > > -Sameer > > > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation From adam.saltiel at gmail.com Wed Jan 23 16:42:58 2008 From: adam.saltiel at gmail.com (adasal) Date: Wed Jan 23 17:23:23 2008 Subject: [ptt-users] Problem handling javascript Message-ID: I have the following problem:- In writing tests using java and jython it I have found it is necessary to rely on htmlunit rather than the firefox plugin. I I have 2 reasons to do this. I want a level of control such as looping and variable assignmen as well as code intelligibility. I want conditional statments etc. Is it Is it possible to call scripts that have access to page elements and populate vars from the firefox plugin? That is running a TesGen4Web script through the plugin can it call resources such as other Jython scripts with full access. When I use htmlunit to emulate the browser I have problems with javascript handling. Inspecting the javascript I notice that they require initial conditions be set. I don't have the particular script in front of me, but does anyone know how to do this? Another possibility is I It is possible that in changing from HtmlUnit 1.1 to 1.4 I haven't constructed BrowserVersion correctly. Because Jython fails in a strange way it is possible that default values are used instead of INTERNET_EXPLORER_6_0 I know I followed the docs on HtmlUnit that recommend using the service to extract the string that represents the client browser and have attempted to construct the BrowserVersion object with this as a string in the constructor. There is no such constructor in the current documentation so I guess this could be it? Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20080124/32bd8d3b/attachment.htm From fcohen at pushtotest.com Wed Jan 23 22:21:45 2008 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Jan 23 23:02:14 2008 Subject: [ptt-users] Eclipse Plug-in Design Document Message-ID: Dear PushToTest Users: William Martinez drafted a good first design of a PushToTest Eclipse Plugin. You will find the document at: http://downloads.pushtotest.com/tm5/PushToTest_EclipsePlugin_Design.pdf We are seeking your feedback on the design, our assumptions, and how this new plug-in would make you more valuable. -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122 TestMaker open-source test automation