From for_everybody at ukr.net Mon Sep 3 07:22:34 2007 From: for_everybody at ukr.net (Yuriy) Date: Mon Sep 3 07:28:31 2007 Subject: [ptt-users] TestMaker & SOAP request with attachment Message-ID: Hi. I'm trying to make a functional test for a web service which?accept a?SOAP request with an attachment. The test?works properly?within soapUI but when I run it within TestMaker the next error occurs: Running a functional test Executing time 0 Trying .\localhost\attach1-soapui-project.xml - Loaded project from [C:\work\tools\TestMaker\inst\TestMaker\TestNetwork\TestNode\.\localhost\attach1-soapui-project.xml] Triying suite TestSuite Using com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase@10ff62a Progress: 1 - Loading definition from cache Retrieving document at 'file:C:\work\temp\1.wsdl'. - Loading schema types from [file:C:\work\temp\1.wsdl] - Getting schema file:C:\work\temp\1.wsdl - Exception during TestCase Execution java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllServices()Ljava/util/Map; ?at com.eviware.soapui.impl.wsdl.support.MessageXmlObject.findBindingOperation(MessageXmlObject.java:207) ?at com.eviware.soapui.impl.wsdl.support.MessageXmlObject.getMessageParts(MessageXmlObject.java:92) ?at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.initRequest(HttpClientRequestTransport.java:186) ?at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:126) ?at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112) ?at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:72) ?at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:370) ?at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:285) ?at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTestCaseRunner.java:172) ?at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.start(WsdlTestCaseRunner.java:80) ?at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:462) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runSOAPUI(ScriptRunner.java:312) ?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:597) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute(ScriptRunner.java:982) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne(ScriptRunner.java:667) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime(TestusecaseRunner.java:383) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest(TestscenarioRunner.java:288) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000(TestscenarioRunner.java:91) ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run(TestscenarioRunner.java:272) Functional test failed. What might be a cause of the error? Maybe incompatible with?soapUI?library?in TestMaker? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070903/1e0ec073/attachment.htm From for_everybody at ukr.net Tue Sep 4 05:29:52 2007 From: for_everybody at ukr.net (Yuriy) Date: Tue Sep 4 05:36:10 2007 Subject: [ptt-users] TestMaker & SOAP request with attachment In-Reply-To: Message-ID: Hi. I've solved this problem. You should remove wsdl4j.jar and wsdl4j-1.5.1.jar files from the %TEST_MAKER_HOME%\TestNetwork\TestNode\webapps\TestNetwork\WEB-INF\lib directory to make TestMaker work properly with SOAP request with attachment. --- ???????? ????????? --- ?? ????: "Yuriy" (for_everybody@ukr.net) ????: users@lists.pushtotest.com ????: 3 ????????, 17:22:34 ????: [ptt-users] TestMaker & SOAP request with attachment > > > Hi. > > I'm trying to make a functional test for a web service which?accept a?SOAP request with an attachment. The test?works properly?within soapUI but when I run it within TestMaker the next error occurs: > > Running a functional test > Executing time 0 > Trying .\localhost\attach1-soapui-project.xml > - Loaded project from [C:\work\tools\TestMaker\inst\TestMaker\TestNetwork\TestNode\.\localhost\attach1-soapui-project.xml] > Triying suite TestSuite > Using com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase@10ff62a > Progress: 1 - Loading definition from cache > Retrieving document at 'file:C:\work\temp\1.wsdl'. > - Loading schema types from [file:C:\work\temp\1.wsdl] > - Getting schema file:C:\work\temp\1.wsdl > - Exception during TestCase Execution > java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllServices()Ljava/util/Map; > ?at com.eviware.soapui.impl.wsdl.support.MessageXmlObject.findBindingOperation(MessageXmlObject.java:207) > ?at com.eviware.soapui.impl.wsdl.support.MessageXmlObject.getMessageParts(MessageXmlObject.java:92) > ?at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.initRequest(HttpClientRequestTransport.java:186) > ?at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:126) > ?at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112) > ?at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:72) > ?at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:370) > ?at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:285) > ?at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTestCaseRunner.java:172) > ?at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.start(WsdlTestCaseRunner.java:80) > ?at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:462) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runSOAPUI(ScriptRunner.java:312) > ?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:597) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute(ScriptRunner.java:982) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne(ScriptRunner.java:667) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTime(TestusecaseRunner.java:383) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunctionaltest(TestscenarioRunner.java:288) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$000(TestscenarioRunner.java:91) > ?at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$FunctionalTest.run(TestscenarioRunner.java:272) > Functional test failed. > > What might be a cause of the error? Maybe incompatible with?soapUI?library?in TestMaker? > > Thanks. > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > > -- KINO.ukr.net ????? ? ??????? ???! http://kino.ukr.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070904/3590719e/attachment-0001.htm From fcohen at pushtotest.com Tue Sep 4 07:08:10 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Sep 4 07:14:22 2007 Subject: [ptt-users] TestMaker & SOAP request with attachment In-Reply-To: References: Message-ID: <47A7E032-38F4-4F35-8599-93C1531DAAE7@pushtotest.com> Thank you for finding the problem and offering the solution. I opened a ticket on this and we will incorporate the fix in the next maintenance release: http://bugs.pushtotest.com/ticket/137 -Frank On Sep 4, 2007, at 5:29 AM, Yuriy wrote: > > Hi. > > I've solved this problem. You should remove wsdl4j.jar and > wsdl4j-1.5.1.jar files from the %TEST_MAKER_HOME%\TestNetwork > \TestNode\webapps\TestNetwork\WEB-INF\lib directory to make > TestMaker work properly with SOAP request with attachment. > > > > --- ???????? ????????? --- > ?? ????: "Yuriy" (for_everybody@ukr.net) > ????: users@lists.pushtotest.com > ????: 3 ????????, 17:22:34 > ????: [ptt-users] TestMaker & SOAP request with attachment > > > > > > > Hi. > > > > I'm trying to make a functional test for a web service which > accept a SOAP request with an attachment. The test works properly > within soapUI but when I run it within TestMaker the next error > occurs: > > > > Running a functional test > > Executing time 0 > > Trying .\localhost\attach1-soapui-project.xml > > - Loaded project from [C:\work\tools\TestMaker\inst\TestMaker > \TestNetwork\TestNode\.\localhost\attach1-soapui-project.xml] > > Triying suite TestSuite > > Using com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase@10ff62a > > Progress: 1 - Loading definition from cache > > Retrieving document at 'file:C:\work\temp\1.wsdl'. > > - Loading schema types from [file:C:\work\temp\1.wsdl] > > - Getting schema file:C:\work\temp\1.wsdl > > - Exception during TestCase Execution > > java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllServices > ()Ljava/util/Map; > > at > com.eviware.soapui.impl.wsdl.support.MessageXmlObject.findBindingOpera > tion(MessageXmlObject.java:207) > > at > com.eviware.soapui.impl.wsdl.support.MessageXmlObject.getMessageParts( > MessageXmlObject.java:92) > > at > com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestT > ransport.initRequest(HttpClientRequestTransport.java:186) > > at > com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestT > ransport.sendRequest(HttpClientRequestTransport.java:126) > > at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112) > > at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest > (WsdlSubmit.java:72) > > at com.eviware.soapui.impl.wsdl.WsdlRequest.submit > (WsdlRequest.java:370) > > at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run > (WsdlTestRequestStep.java:285) > > at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run > (WsdlTestCaseRunner.java:172) > > at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.start > (WsdlTestCaseRunner.java:80) > > at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run > (WsdlTestCase.java:462) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runSOAPU > I(ScriptRunner.java:312) > > 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:597) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute( > ScriptRunner.java:982) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustO > ne(ScriptRunner.java:667) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.run > OneTime(TestusecaseRunner.java:383) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.ru > nFunctionaltest(TestscenarioRunner.java:288) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.ac > cess$000(TestscenarioRunner.java:91) > > at > com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner > $FunctionalTest.run(TestscenarioRunner.java:272) > > Functional test failed. > > > > What might be a cause of the error? Maybe incompatible with > soapUI library in TestMaker? > > > > Thanks. > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > -- > KINO.ukr.net ????? ? ??????? ???! > http://kino.ukr.net > > _______________________________________________ > 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 From olivier.dony at denali.be Tue Sep 4 07:25:20 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Tue Sep 4 07:31:41 2007 Subject: [ptt-users] TestMaker & SOAP request with attachment In-Reply-To: <47A7E032-38F4-4F35-8599-93C1531DAAE7@pushtotest.com> References: <47A7E032-38F4-4F35-8599-93C1531DAAE7@pushtotest.com> Message-ID: <815BCE02-54AF-40F7-B775-117ECEBD0F0B@denali.be> On Sep 4, 2007, at 4:08 PM, Frank Cohen wrote: > Thank you for finding the problem and offering the solution. I > opened a ticket on this and we will incorporate the fix in the next > maintenance release: > http://bugs.pushtotest.com/ticket/137 > > On Sep 4, 2007, at 5:29 AM, Yuriy wrote: >> >> Hi. >> >> I've solved this problem. You should remove wsdl4j.jar and >> wsdl4j-1.5.1.jar files from the %TEST_MAKER_HOME%\TestNetwork >> \TestNode\webapps\TestNetwork\WEB-INF\lib directory to make >> TestMaker work properly with SOAP request with attachment. >> Indeed, you need only one version (wsdl4j-1.6.2.jar) in the TestNode WEB-INF/lib, instead of the *3* versions packaged with TestMaker. I think this serves to illustrate a larger problem with the libraries packaged with TestMaker : these libraries are often present twice (when not more), in different versions and/or with different filenames. This is especially true for the WEB-INF/lib of the TestNode webapp, and can lead to many runtime issues, since the result will depend on the order in which the classloader reads the files, among other things. I have created ticket #138 for tracking this (IMHO) larger issue: http://bugs.pushtotest.com/ticket/138 -- 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 Legal Notice: 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 sujay at cashnet.com Wed Sep 5 10:01:45 2007 From: sujay at cashnet.com (Sujay Jaladi) Date: Wed Sep 5 10:08:04 2007 Subject: [ptt-users] Beginners question. Message-ID: <01b201c7efde$70f01970$52d04c50$@com> Hello, We have a lot of redirects in the URL's and when I record the web transaction using TestGen4web I see "*" in the URL area and my script does not run at all. Does anyone have any ideas on how I can get past this. Thanks in advance. Regards, Sujay. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070905/2137b493/attachment.htm From lucipher at interia.pl Wed Sep 5 11:05:50 2007 From: lucipher at interia.pl (Luciferius) Date: Wed Sep 5 11:12:11 2007 Subject: [ptt-users] Error getting page com.gargoylesoftware.htmlunit.html.HtmlImageInput cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlSubmitInput Message-ID: <46DEEFFE.9050605@interia.pl> Hi, Today I try to use TestMaker5 to monitor looging into site. I have some errors and strange info. Any help will be appreciated :) logs below 2007-09-05 13:28:05.740::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2007-09-05 13:28:05.309::INFO: jetty-6.1.4 2007-09-05 13:28:06.504::INFO: Extract jar:file:/C:/PushToTest_TestMaker/TestNetwork/TestNode/webapps/responder.war!/ to C:\DOCUME~1\ZmudzMar\USTAWI~1\Temp\Jetty_0_0_0_0_8080_responder.war__responder__-4z4j09\webapp 2007-09-05 13:28:07.643::INFO: NO JSP Support for /responder, did not find org.apache.jasper.servlet.JspServlet 2007-09-05 13:28:25.029::INFO: NO JSP Support for /TestNetwork, did not find org.apache.jasper.servlet.JspServlet Error getting page com.gargoylesoftware.htmlunit.html.HtmlImageInput cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlSubmitInput java.lang.ClassCastException: com.gargoylesoftware.htmlunit.html.HtmlImageInput cannot be cast to com.gargoylesoftware.htmlunit.html.HtmlSubmitInput at com.pushtotest.tool.HTMLUnit.click(HTMLUnit.java:139) 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:597) 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 org.python.pycode._pyx7.test$4(:24) at org.python.pycode._pyx7.call_function() at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java:248) at com.sun.script.jython.JythonScriptEngine.invokeImpl(JythonScriptEngine.java:131) at com.sun.script.jython.JythonScriptEngine.invokeMethod(JythonScriptEngine.java:99) 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:597) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute(ScriptRunner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.test(ScriptRunner.java:826) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.testtime(ScriptRunner.java:726) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.run(ScriptRunner.java:600) Also I'd like to ask about cookie celearing. Is it possible to clear session cookie each time when script wisit site and try to log into? I have mechanism which is working as session sid identifier in url login page which is colaboratet with session cookie and using Testmaker I have some error about wrong cookie Marcin ---------------------------------------------------------------------- Ten telefon mozesz wygrac. >>> http://link.interia.pl/f1b9a From dominique.dewaleffe at denali.be Thu Sep 6 03:53:54 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 6 04:00:58 2007 Subject: [ptt-users] Installing on linux without X11? Message-ID: <46DFDC42.1070304@denali.be> I tried to install the monitor component (and the problem is likely to be the same) on a machine which has no X11 installed. I then get this kind of message: deployer ~ # java -jar PushToTest_Monitor_Install.jar - ERROR - java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159) at java.awt.Window.(Window.java:317) at java.awt.Frame.(Frame.java:419) What are the steps to manually install the monitor on a Linux machine? Likewise for installing a testnode? Thanks. D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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 dominique.dewaleffe at denali.be Thu Sep 6 05:56:49 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 6 06:03:49 2007 Subject: [ptt-users] Installing on linux without X11? In-Reply-To: <46DFDC42.1070304@denali.be> References: <46DFDC42.1070304@denali.be> Message-ID: <46DFF911.20201@denali.be> Found out.... Just copy the UnixMonitor.jar (built from source) over to the machine and "java -jar UnixMonitor.jar" gets it started... [there are also 2 libraries that can be copied, they seem to be needed to get a gui for configuration, which I did not need]. Was not too complex :-) D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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 for_everybody at ukr.net Thu Sep 6 06:19:09 2007 From: for_everybody at ukr.net (Yuriy) Date: Thu Sep 6 06:25:42 2007 Subject: [ptt-users] Can't run a test from command line (TestMaker5). Message-ID: Hi. How can I run a functional/load?test from the command line? I've built a functional/load test for web service using the soapUI tool. It works properly in TestMaker5 GUI but when I try run that test from the command line I get?the error: command-line: TestMaker.bat -t some_path\load_attach_test.xml Starting PushToTest(tm) TestMaker... ??????? -?????? Validating test???????????????? - Trying C:/work/tools/TestMaker/tests/attach/attach1-soapui-project.xml Warning: SOAPUI not installed Continue test without validating SOAPUI The test is valid. ??????? -?????? The functional test is running? - Error running Test Scenario java.lang.NullPointerException ??????? at com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTes t(ControlRunner.java:359) ??????? at com.pushtotest.testmaker.XSTest.client.ControlRunner.consoleRUN(Contr olRunner.java:637) ??????? at com.pushtotest.testmaker.Main.main(Main.java:142) I've already fix (hack) this problem in this way: I commented out all usages of the field com.pushtotest.testmaker.XSTest.client.ControlRunner.slider in the method com.pushtotest.testmaker.XSTest.client.ControlRunner.runFunctionalTest() and the test works without errors now. But I don't think that is right way to run a test from the command-line. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070906/2aa4e38c/attachment-0001.htm From fcohen at pushtotest.com Thu Sep 6 08:31:16 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Sep 6 08:37:47 2007 Subject: [ptt-users] Installing on linux without X11? In-Reply-To: <46DFF911.20201@denali.be> References: <46DFDC42.1070304@denali.be> <46DFF911.20201@denali.be> Message-ID: <692D3621-09E9-4D20-A0E5-9981627413C1@pushtotest.com> Great. I'll add your experience to the FAQ. Thanks. -Frank On Sep 6, 2007, at 5:56 AM, Dominique de Waleffe wrote: > Found out.... > > Just copy the UnixMonitor.jar (built from source) over to the > machine and > "java -jar UnixMonitor.jar" gets it started... > > [there are also 2 libraries that can be copied, they seem to be > needed to get a gui for configuration, which I did not need]. > > Was not too complex :-) > > D. > -- > Dominique de Waleffe > Technical director > > 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 > http://www.denali.be > > > Legal notice: this message and its attachments 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. > _______________________________________________ > 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 From fcohen at pushtotest.com Fri Sep 7 07:49:47 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri Sep 7 07:56:43 2007 Subject: [ptt-users] Bugs list updated Message-ID: <827DFED6-16D5-41CF-9426-10BC36EC9D0C@pushtotest.com> I updated the bugs list for TestMaker as we get ready to do our next round of improvements and bug fixes. View the list of bugs at http:// bugs.pushtotest.com/report/1 Special thanks to Todd Bradfute and Dominique de Walefee for contributing most of the new bugs and enhancement ideas. If you would like an account on the bug tracker to enter your own enhancement ideas and bug reports then send me an email at fcohen@pushtotest.com. 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 Mon Sep 10 08:50:12 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon Sep 10 08:57:51 2007 Subject: [ptt-users] Beginners question. In-Reply-To: <01b201c7efde$70f01970$52d04c50$@com> References: <01b201c7efde$70f01970$52d04c50$@com> Message-ID: <86CE6346-2D6F-42BC-AECE-F8A69833FBA2@pushtotest.com> Dear Sujay: Is the Web site you recorded available on the public Internet? If so, please send the URL and we will look into this. You could also use the Tools menu -> Import TestGen4Web command to create a Jython script. From there you have the HTMLUnit API calls to control the redirect commands and add extra commands to debug the responses. Hope this helps. -Frank On Sep 5, 2007, at 10:01 AM, Sujay Jaladi wrote: > Hello, > > > > We have a lot of redirects in the URL?s and when I record the web > transaction using TestGen4web I see ?*? in the URL area and my > script does not run at all. Does anyone have any ideas on how I > can get past this. Thanks in advance. > > > > Regards, > > Sujay. > > _______________________________________________ > 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 From dominique.dewaleffe at denali.be Wed Sep 12 06:44:26 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Wed Sep 12 07:15:06 2007 Subject: [ptt-users] Re: Understanding TM behaviour/results In-Reply-To: <867E5FC0-D4C9-4728-B3B1-7FED1281408C@pushtotest.com> References: <46E7DB04.5070702@denali.be> <867E5FC0-D4C9-4728-B3B1-7FED1281408C@pushtotest.com> Message-ID: <46E7ED3A.2040308@denali.be> Frank Cohen wrote: > Dear Dominique: See below. -Frank > > On Sep 12, 2007, at 7:26 AM, Dominique de Waleffe wrote: > >> Frank, >> >> As I wrote, we are setting up our environment and test tools, based on >> TestMaker/Selenium, as you know. >> >> In this process we are also trying to discover the power of TM and we >> need to be able to correctly interpret the results... >> >> Currently, I have 2 puzzles: >> >> a) intuition not coherent with reports. >> >> I run a use case on 1 testnode with crlevel in cra,crb,crc where >> crb=4*cra [cra=5]. TM gives me a TPS result of ra=15 and rb=22. >> So this tell me that my server is able to provide 22TPS for a load 20 >> CVUS. > > Let me make sure I understand your cra, crb, crc settings. If cra = 5, > then crb = 20 and crc = 100. Is that correct? > > Your answer that at 20 CVUs your server is able to provide 22 TPS is > what I would expect. > >> Now I run the same thing, but on 4 different testnodes. I see that the >> number of threads on each of them corresponds to the crx. So this leads >> me to think that for cra with 4 nodes I put a load equivalent to that >> of crb with only one node, so I expect a TPS value close to that of crb >> with one node. However, I still get a TPS value close to ra=15. >> >> So is my intuition correct? > > Your intuition is correct. > > With crb (20 crs) running on one node you should check the CPU, network, > and memory bandwidth of the node to make certain that the test is not > resource constrained. Indeed. I am using PTTMonitor/Task manager/top/vmstat to monitor the machine and just discovered that apache was finally failing on me at some point...got better results after fixing configuration... > >> How can we understand the figures reported when running on several node? >> [Though I did only read quickly through the chapter on TM in FastSOA, I >> did not spot an explanation on this aspect (more than 1 node)] > >> If this intuition is correct, should the graphs/reported figures take >> into account the number of nodes on which the usecase runs? > > The figures you see in the Controller Panel for a load test are an > average of all the running nodes. The Performance Comparison Utility > will let you analyze the performance of each node. See: > http://docs.pushtotest.com/docs/analyzingresults.html Ok. So from the summary graph I get, I can conclude that my server is able to serve #nodes*TPS figure reported for #nodes*CVUs In my example, running usecase with 5 CVUs on 4 nodes and seeing a result of 15, I may conclude that my server is able to provide 60 TPS under a load of 20 CVUs. Now if you look at the attached screenshot, it show both the graph and the summary results in text form. And there it looks like the graph shows the sum of the TPS for each node and not the average. Is a division by #nodes missing? > >> >> b) timing of usecase starts on different nodes. >> >> What is the sequence of events when starting a test on several nodes? >> How is the duration of the test related to this and how/when are >> successful transactions counted? > > TestMaker distributes the test files to all of the nodes, starts the > first test use case (for example, cra) by instantiating threads for each > cr, once all of the nodes have instantiated their threads then TestMaker > begins logging the results for the period of the test use case, then > TestMaker stops logging and takes-down all of the threads, then > TestMaker repeats at the new level of crs. > > There is information on the sequence of events in the TestMaker 5 > specification document at: > http://downloads.pushtotest.com/tm5/TM5_Specification.pdf Will print this out. Thanks. >> >> Is there any detailed explnations of this anywhere? >> > > > By the way, other TestMaker users would benefit from this information. > It would be great to answer your questions on the > users@lists.pushtotest.com email list so the answers go into our archive. Indeed. Will forward this discussion to the list. D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: tm5-perf-res.jpg Type: image/jpeg Size: 115260 bytes Desc: not available Url : http://cake.pushtotest.com/pipermail/users/attachments/20070912/54d09cfe/tm5-perf-res-0001.jpg From fcohen at pushtotest.com Wed Sep 12 07:10:36 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Sep 12 07:18:47 2007 Subject: [ptt-users] Re: Understanding TM behaviour/results In-Reply-To: <46E7ED3A.2040308@denali.be> References: <46E7DB04.5070702@denali.be> <867E5FC0-D4C9-4728-B3B1-7FED1281408C@pushtotest.com> <46E7ED3A.2040308@denali.be> Message-ID: <902CD0E9-6F5E-406D-B792-1D32C30E0E62@pushtotest.com> It could very well be that you discovered a bug where the reports are not dividing by the number of nodes. I will check this and let you know. -Frank On Sep 12, 2007, at 8:44 AM, Dominique de Waleffe wrote: > Frank Cohen wrote: >> Dear Dominique: See below. -Frank >> On Sep 12, 2007, at 7:26 AM, Dominique de Waleffe wrote: >>> Frank, >>> >>> As I wrote, we are setting up our environment and test tools, >>> based on >>> TestMaker/Selenium, as you know. >>> >>> In this process we are also trying to discover the power of TM >>> and we >>> need to be able to correctly interpret the results... >>> >>> Currently, I have 2 puzzles: >>> >>> a) intuition not coherent with reports. >>> >>> I run a use case on 1 testnode with crlevel in cra,crb,crc where >>> crb=4*cra [cra=5]. TM gives me a TPS result of ra=15 and rb=22. >>> So this tell me that my server is able to provide 22TPS for a >>> load 20 CVUS. >> Let me make sure I understand your cra, crb, crc settings. If cra >> = 5, then crb = 20 and crc = 100. Is that correct? >> Your answer that at 20 CVUs your server is able to provide 22 TPS >> is what I would expect. >>> Now I run the same thing, but on 4 different testnodes. I see >>> that the >>> number of threads on each of them corresponds to the crx. So this >>> leads >>> me to think that for cra with 4 nodes I put a load equivalent to >>> that >>> of crb with only one node, so I expect a TPS value close to that >>> of crb >>> with one node. However, I still get a TPS value close to ra=15. >>> >>> So is my intuition correct? >> Your intuition is correct. >> With crb (20 crs) running on one node you should check the CPU, >> network, and memory bandwidth of the node to make certain that the >> test is not resource constrained. > > Indeed. I am using PTTMonitor/Task manager/top/vmstat to monitor > the machine and just discovered that apache was finally failing on > me at some point...got better results after fixing configuration... > >>> How can we understand the figures reported when running on >>> several node? >>> [Though I did only read quickly through the chapter on TM in >>> FastSOA, I >>> did not spot an explanation on this aspect (more than 1 node)] >>> If this intuition is correct, should the graphs/reported figures >>> take >>> into account the number of nodes on which the usecase runs? >> The figures you see in the Controller Panel for a load test are an >> average of all the running nodes. The Performance Comparison >> Utility will let you analyze the performance of each node. See: >> http://docs.pushtotest.com/docs/analyzingresults.html > > Ok. So from the summary graph I get, I can conclude that my server > is able to serve #nodes*TPS figure reported for #nodes*CVUs > > In my example, running usecase with 5 CVUs on 4 nodes and seeing a > result of 15, I may conclude that my server is able to provide 60 > TPS under a load of 20 CVUs. > > Now if you look at the attached screenshot, it show both the graph > and the summary results in text form. And there it looks like the > graph shows the sum of the TPS for each node and not the average. > > Is a division by #nodes missing? > >>> >>> b) timing of usecase starts on different nodes. >>> >>> What is the sequence of events when starting a test on several >>> nodes? How is the duration of the test related to this and how/ >>> when are successful transactions counted? >> TestMaker distributes the test files to all of the nodes, starts >> the first test use case (for example, cra) by instantiating >> threads for each cr, once all of the nodes have instantiated their >> threads then TestMaker begins logging the results for the period >> of the test use case, then TestMaker stops logging and takes-down >> all of the threads, then TestMaker repeats at the new level of crs. >> There is information on the sequence of events in the TestMaker 5 >> specification document at: http://downloads.pushtotest.com/tm5/ >> TM5_Specification.pdf > > Will print this out. Thanks. > > >>> >>> Is there any detailed explnations of this anywhere? >>> >> By the way, other TestMaker users would benefit from this >> information. It would be great to answer your questions on the >> users@lists.pushtotest.com email list so the answers go into our >> archive. > > Indeed. Will forward this discussion to the list. > > D. > > > -- > Dominique de Waleffe > Technical director > > 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 > http://www.denali.be > > > Legal notice: this message and its attachments 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. > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From dominique.dewaleffe at denali.be Thu Sep 13 03:23:20 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 13 03:32:09 2007 Subject: [ptt-users] distinguishing environment in which script is being run... Message-ID: <46E90F98.4000304@denali.be> I am writiung jython test scripts. When they are run as functional/load test, some method is called by the runner. Ok. When trying out those scripts under testmaker by using the [Agent]>[Run Script Locally] menu, I have no way to specify which method/call to execute. The file gets loaded and whatever code is runnable is being run. The problem is that if I put test code there, it will also be run when the script is loaded onto a testnode, which is not what I want... example: ----------- class MyTest(): def setUP(): pass: def test(): pass def tearDown(): pass #testing the test... t=MyTest() t.setUp() for i in [1,2,3]: t.test() t.tearDown() ------------ So is there a check I can do to determine whether the code is loaded as testnode code or via[Agent]>[Run Script Locally]? so that I can use an trick like if __main__=="main": to either allow/prevent execution of this bit of code? Thanks, D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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 dominique.dewaleffe at denali.be Thu Sep 13 06:11:11 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 13 06:20:04 2007 Subject: [ptt-users] setup/run/teardown: context different for each even at lowes tlevel? Message-ID: <46E936EF.8050901@denali.be> In our work on running selenium scripts in TM, I came up with the following issue: I want to write scenario that does something in my application GUI as preparation (login, get to the correct page), then do something, which is the core thing I want to test, and finally logout. So I have a testclass that is as follows: class HTMLTest: def __init__(self): self.selenium = SeleniumHTMLUnit(); self.selenium.setLoggerLevel(Level.INFO) # Set a base URL for open() if all your URLs are relative #self.selenium.setBaseUrl("http://baseUrl"); def setUp(self): self.selenium.open("http://cullen.internal.denali.be/backoffice/WebObjects/CIBackOffice.woa/wa/DirectAction/default"); self.selenium.assertEquals("CIApplication --TEST-- (backoffice 1.1.5_2)", self.selenium.getTitle()); self.selenium.type("//input[@name='login']", "user"); self.selenium.type("//input[@name='password']", "password"); self.selenium.click("//img[@alt='Login']"); self.selenium.waitForPageToLoad("30000"); self.selenium.assertEquals("AuthorTodoList --TEST-- (backoffice 1.1.5_2)", self.selenium.getTitle()); def test(self): self.selenium.click("//a[@href= '/backoffice/WebObjects/CIBackOffice.woa/wa/CIBODA/openDocumentDashboard?currentDocument=84&ci=2337680']"); self.selenium.waitForPageToLoad("30000"); self.selenium.assertEquals("DocumentDashboard --TEST-- (backoffice 1.1.5_2)", self.selenium.getTitle()); self.selenium.click("//a[contains(@onclick,\".0.16.5.57.1.0.0.1.3','PreviewHtml'\")]"); self.selenium.waitForPopUp("PreviewHtml", "30000"); self.selenium.selectWindow(""); self.selenium.click("//a[@href='/backoffice/WebObjects/CIBackOffice.woa/wa/CIBODA/openAuthorTodoList?ci=63215']"); self.selenium.waitForPageToLoad("30000"); self.selenium.assertEquals("AuthorTodoList --TEST-- (backoffice 1.1.5_2)", self.selenium.getTitle()); def tearDown(self): self.selenium.click("//a[@href='/backoffice/WebObjects/CIBackOffice.woa/wa/DirectAction/logout']"); self.selenium.waitForPageToLoad("30000"); self.selenium.assertEquals("CIApplication --TEST-- (backoffice 1.1.5_2)", self.selenium.getTitle()); Of course this works when the same instance of the class is used to do all of setup/test/teardown. This does not appear to be the case when specifying setup/run/teardown as below. And indeed, that is what one understand from the TM5 specification document Frank mentionned yesterday. If I "test" my script with: t=HTMLTest() t.setUp() for i in [1,2,3]: print "Running test %d"%(i) t.test() t.tearDown() it works as I expect, of course. I think the same issue would come up if one would want to manually write a script with the same structure, login/create a session context as setup, run some practical actions in this context, and finally logout. Is there a way to do this at the moment that would allow me to exclude from the measurement all the setup/teardown time? Could we imagine that if all of the attributes of are the same except for method, only one instance of the test class is created per thread? Ideas? Suggestions? D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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 ndinesh at Ellacoya.com Thu Sep 13 07:44:13 2007 From: ndinesh at Ellacoya.com (Dinesh, Nirmit) Date: Thu Sep 13 07:52:27 2007 Subject: [ptt-users] Errors when running in commandline mode (cant write cache) Message-ID: I get a bunch of following errors, when running TestMaker.sh with "-commandline" option. How do I eliminate those? *sys-package-mgr*: processing modified jar, '/usr/jdk1.6.0_02/jre/lib/XXXXX.jar' *sys-package-mgr*: can't write cache file for '/usr/jdk1.6.0_02/jre/lib/XXXXX.jar' In online searched, it is recommended to change RW permission on cache directory. I did that on jythoncachedirectory folder. But in vain. Where is the cache directory? Thanks for your help in advance. Nirmit -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070913/9e3c0336/attachment.htm From for_everybody at ukr.net Thu Sep 13 09:20:43 2007 From: for_everybody at ukr.net (Yuriy) Date: Thu Sep 13 09:29:09 2007 Subject: [ptt-users] How to monitor JVM? Message-ID: Hi. Monitor can?measure only?system's CPU and?Memory consumption, but in most cases I need to collect JVM's information (GC, heap, threads, etc). Are there any possibility to monitor JVM information mentioned above in the TestMaker? How can I extend existing Monitor's functionality? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070913/4dcd1a9c/attachment.htm From fcohen at pushtotest.com Thu Sep 13 07:29:59 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Sep 13 09:32:31 2007 Subject: [ptt-users] distinguishing environment in which script is being run... In-Reply-To: <46E90F98.4000304@denali.be> References: <46E90F98.4000304@denali.be> Message-ID: <1B9C2538-C6E4-4CBC-8714-B3A0DDA4E49F@pushtotest.com> Hi Dominique: There is likely an API to determine the operating environment at runtime. But I don't remember it. TestMaker had various methods you could call to find the path to the running script file and the status of the TestMaker console. These no longer exist. Perhaps we should add an object that the test script can call: /* * TestEngine is a singleton to provide information to running tests * */ package com.pushtotest.testmaker; public interface TestEngine { /** * Returns the singleton TestEngine object */ public TestEngine getTestEngine(); /** * Returns true if this TestEngine is running on a TestNode */ public boolean isTestNode(); /** * Returns true if this TestEngine is running in the TestMaker console */ public boolean isConsole(); } What do you think? -Frank On Sep 13, 2007, at 5:23 AM, Dominique de Waleffe wrote: > I am writiung jython test scripts. > > When they are run as functional/load test, some method is called by > the runner. Ok. > > When trying out those scripts under testmaker by using the [Agent]> > [Run Script Locally] menu, I have no way to specify which method/ > call to execute. The file gets loaded and whatever code is runnable > is being run. > > The problem is that if I put test code there, it will also be run > when the script is loaded onto a testnode, which is not what I want... > > example: > ----------- > class MyTest(): > def setUP(): > pass: > def test(): > pass > def tearDown(): > pass > > #testing the test... > t=MyTest() > t.setUp() > for i in [1,2,3]: > t.test() > t.tearDown() > ------------ > > So is there a check I can do to determine whether the code is > loaded as testnode code or via[Agent]>[Run Script Locally]? > so that I can use an trick like if __main__=="main": to either > allow/prevent execution of this bit of code? > > Thanks, > D. > > -- > Dominique de Waleffe > Technical director > > 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 > http://www.denali.be > > > Legal notice: this message and its attachments 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. > _______________________________________________ > 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 From fcohen at pushtotest.com Thu Sep 13 07:49:35 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Sep 13 09:32:38 2007 Subject: [ptt-users] setup/run/teardown: context different for each even at lowes tlevel? In-Reply-To: <46E936EF.8050901@denali.be> References: <46E936EF.8050901@denali.be> Message-ID: <02707034-6F3A-4851-8D77-FAF59876A20C@pushtotest.com> You may slap my hands for not documenting this but and may appear in several other locations. For details see the com/pushtotest/testmaker/XSTest/xml/TestScenario/TestScenario.xsd Try this: Fun with TestScenarios! -Frank On Sep 13, 2007, at 8:11 AM, Dominique de Waleffe wrote: > In our work on running selenium scripts in TM, I came up with the > following issue: > > I want to write scenario that does something in my application GUI > as preparation (login, get to the correct page), then do something, > which is the core thing I want to test, and finally logout. > > So I have a testclass that is as follows: > class HTMLTest: > > def __init__(self): > > self.selenium = SeleniumHTMLUnit(); > self.selenium.setLoggerLevel(Level.INFO) > # Set a base URL for open() if all your URLs are relative > #self.selenium.setBaseUrl("http://baseUrl"); > > > def setUp(self): > > self.selenium.open("http://cullen.internal.denali.be/backoffice/ > WebObjects/CIBackOffice.woa/wa/DirectAction/default"); > self.selenium.assertEquals("CIApplication --TEST-- (backoffice > 1.1.5_2)", self.selenium.getTitle()); > self.selenium.type("//input[@name='login']", "user"); > self.selenium.type("//input[@name='password']", "password"); > self.selenium.click("//img[@alt='Login']"); > self.selenium.waitForPageToLoad("30000"); > self.selenium.assertEquals("AuthorTodoList --TEST-- (backoffice > 1.1.5_2)", self.selenium.getTitle()); > > def test(self): > > self.selenium.click("//a[@href= '/backoffice/WebObjects/ > CIBackOffice.woa/wa/CIBODA/openDocumentDashboard? > currentDocument=84&ci=2337680']"); > self.selenium.waitForPageToLoad("30000"); > self.selenium.assertEquals("DocumentDashboard --TEST-- > (backoffice 1.1.5_2)", self.selenium.getTitle()); > self.selenium.click("//a[contains(@onclick,\". > 0.16.5.57.1.0.0.1.3','PreviewHtml'\")]"); > self.selenium.waitForPopUp("PreviewHtml", "30000"); > self.selenium.selectWindow(""); > self.selenium.click("//a[@href='/backoffice/WebObjects/ > CIBackOffice.woa/wa/CIBODA/openAuthorTodoList?ci=63215']"); > self.selenium.waitForPageToLoad("30000"); > self.selenium.assertEquals("AuthorTodoList --TEST-- (backoffice > 1.1.5_2)", self.selenium.getTitle()); > > def tearDown(self): > self.selenium.click("//a[@href='/backoffice/ > WebObjects/CIBackOffice.woa/wa/DirectAction/logout']"); > self.selenium.waitForPageToLoad("30000"); > self.selenium.assertEquals("CIApplication --TEST-- (backoffice > 1.1.5_2)", self.selenium.getTitle()); > > > Of course this works when the same instance of the class is used to > do all of setup/test/teardown. > This does not appear to be the case when specifying setup/run/ > teardown as below. And indeed, that is what one understand from the > TM5 specification document Frank mentionned yesterday. > > > > > > testclass="HTMLTest" > method="setUp" langtype="jython"/> > name="Doc preview" > testclass="HTMLTest" method="test" langtype="jython"/> > testclass="HTMLTest" > method="tearDown" langtype="jython"/> > > > > > > If I "test" my script with: > t=HTMLTest() > t.setUp() > for i in [1,2,3]: > print "Running test %d"%(i) > t.test() > t.tearDown() > > it works as I expect, of course. > > I think the same issue would come up if one would want to manually > write a script with the same structure, login/create a session > context as setup, run some practical actions in this context, and > finally logout. > > Is there a way to do this at the moment that would allow me to > exclude from the measurement all the setup/teardown time? > > Could we imagine that if all of the attributes of > are the same except for method, only one > instance of the test class is created per thread? > > Ideas? Suggestions? > > D. > > > -- > Dominique de Waleffe > Technical director > > 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 > http://www.denali.be > > > Legal notice: this message and its attachments 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. > _______________________________________________ > 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 From fcohen at pushtotest.com Thu Sep 13 10:28:39 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Sep 13 10:37:06 2007 Subject: [ptt-users] How to monitor JVM? In-Reply-To: References: Message-ID: <4DB8532B-9E30-4C12-8B48-44FCBB100A3E@pushtotest.com> Dear Yuriy: The Monitor uses a simple and extensible architecture. We designed it to add new functions like the JVM details you mentioned. The source code for the Monitor is found in tm5/TestMaker/PTTMonitor. TestMaker communicates with the Monitor over an XML-RPC snapshot mechanism. TestMaker then takes care of displaying the statistics in the Controller panel and logging the statistics. We are in discussion with the Glassbox.com folks about integration with TestMaker. Glassbox will give us all that great JVM info in a snapshot. See below for a copy of our current plan. If you would like to jump in with some coding then we would love your support. Also, please feel free to comment, criticize, or make a proposal of your own. Thanks. -Frank --- Dear Ron and John: Thank you for your time today to discuss the integration of PushToTest TestMaker and Glassbox. I found your comments and demo very helpful. I am very excited about the opportunity to work together. Here are the topics and actions we discussed: 1) PushToTest will extend its TestNetwork Snapshot system to periodically gather Glassbox statistics and alerts using a JMX API and protocol. 2) Glassbox will add a Count_Problem_Operations, Time_Spent_Overall, and Time_By_Resource APIs to the JMX interface. 3) PushToTest will establish new element definitions in the TestScenario schema to provide users with a way to declare Glassbox parameters, including the settings Glassbox uses to identify out-of- SLA-compliance operations. 4) PushToTest will offer a Tools menu JMX Console command to open the Java Console to give TestMaker users access to the JMX interface to Glassbox data. 5) PushToTest TestMaker will add icons indicating Glassbox status to load testing and service monitoring control panels. Examples of this are at: http://bugs.pushtotest.com/ticket/61. These icons bring users to the Glassbox Ajax user interface. 6) PushToTest engineers will start on the integration efforts at the end of September. Please let me know if any of these need restating. Thanks. I am very excited! -Frank On Sep 13, 2007, at 11:20 AM, Yuriy wrote: > > Hi. > > Monitor can measure only system's CPU and Memory consumption, but > in most cases I need to collect JVM's information (GC, heap, > threads, etc). > Are there any possibility to monitor JVM information mentioned > above in the TestMaker? > How can I extend existing Monitor's functionality? > > Thanks. > > _______________________________________________ > 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 From dominique.dewaleffe at denali.be Thu Sep 13 11:55:30 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 13 12:04:17 2007 Subject: [ptt-users] distinguishing environment in which script is being run... In-Reply-To: <1B9C2538-C6E4-4CBC-8714-B3A0DDA4E49F@pushtotest.com> References: <46E90F98.4000304@denali.be> <1B9C2538-C6E4-4CBC-8714-B3A0DDA4E49F@pushtotest.com> Message-ID: <46E987A2.3000509@denali.be> Indeed. Something like that would help. In would probably add: public String getTestEngineName(); which could return "console","testnode(,)", or things like that. This would make an interface that needs less change if someday you add specific types of testnodes e.g. specific nodes that serve WS or a specific test script type... Probably just distinguising between console and testnodes (by name) would suffice to start with. D. From ndinesh at Ellacoya.com Thu Sep 13 11:57:10 2007 From: ndinesh at Ellacoya.com (Dinesh, Nirmit) Date: Thu Sep 13 12:05:28 2007 Subject: [ptt-users] Errors when running in commandline mode (cant writecache) In-Reply-To: References: Message-ID: Answering my own question : delete entire jythoncachedirectory folder. On rerun, Testmaker recreates this folder and no errors appear thereafter. Nirmit From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Dinesh, Nirmit Sent: Thursday, September 13, 2007 10:44 AM To: users@lists.pushtotest.com Subject: [ptt-users] Errors when running in commandline mode (cant writecache) I get a bunch of following errors, when running TestMaker.sh with "-commandline" option. How do I eliminate those? *sys-package-mgr*: processing modified jar, '/usr/jdk1.6.0_02/jre/lib/XXXXX.jar' *sys-package-mgr*: can't write cache file for '/usr/jdk1.6.0_02/jre/lib/XXXXX.jar' In online searched, it is recommended to change RW permission on cache directory. I did that on jythoncachedirectory folder. But in vain. Where is the cache directory? Thanks for your help in advance. Nirmit -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070913/b0819477/attachment.htm From dominique.dewaleffe at denali.be Thu Sep 13 12:00:20 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 13 12:08:55 2007 Subject: [ptt-users] How to monitor JVM? In-Reply-To: <4DB8532B-9E30-4C12-8B48-44FCBB100A3E@pushtotest.com> References: <4DB8532B-9E30-4C12-8B48-44FCBB100A3E@pushtotest.com> Message-ID: <46E988C4.1020205@denali.be> So far I have been using jconsole (from java 1.5) monitoring the testnodes as well as the target server. There are ways to get the same information from the JMX beans and this could be integrated into the PTTMonitor... D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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 dominique.dewaleffe at denali.be Thu Sep 13 12:08:46 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 13 12:17:23 2007 Subject: [ptt-users] setup/run/teardown: context different for each even at lowes tlevel? In-Reply-To: <02707034-6F3A-4851-8D77-FAF59876A20C@pushtotest.com> References: <46E936EF.8050901@denali.be> <02707034-6F3A-4851-8D77-FAF59876A20C@pushtotest.com> Message-ID: <46E98ABE.1040101@denali.be> I have seen this (by the way, the source tree from seems to contain 2 different versions of testscenarios.xsd (one in docs and one in some other place) in the schema. However I thought that putting the setup/teardown at the lowest level would give me better chance to have the 3 things share the same instance at the lowest level. Basically, my test class creates a selenium thing which holds the details/state of current window/page/... and this object's instance must be shared between the setup/test/teardown levels. Will try that tomorrow.. D. -- Dominique de Waleffe Technical director 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 http://www.denali.be Legal notice: this message and its attachments 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 fcohen at pushtotest.com Thu Sep 13 14:47:41 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Sep 13 15:51:03 2007 Subject: [ptt-users] setup/run/teardown: context different for each even at lowes tlevel? In-Reply-To: <46E98ABE.1040101@denali.be> References: <46E936EF.8050901@denali.be> <02707034-6F3A-4851-8D77-FAF59876A20C@pushtotest.com> <46E98ABE.1040101@denali.be> Message-ID: Please let me know how it goes for you. I am still getting used to the session manager in TM. -Frank On Sep 13, 2007, at 12:08 PM, Dominique de Waleffe wrote: > I have seen this (by the way, the source tree from seems to contain > 2 different versions of testscenarios.xsd (one in docs and one in > some other place) in the schema. However I thought that putting the > setup/teardown at the lowest level would give me better chance to > have the 3 things share the same instance at the lowest level. > > Basically, my test class creates a selenium thing which holds the > details/state of current window/page/... and this object's instance > must be shared between the setup/test/teardown levels. > > Will try that tomorrow.. > > D. > > -- > Dominique de Waleffe > Technical director > > 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 > http://www.denali.be > > > Legal notice: this message and its attachments 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. > _______________________________________________ > 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 From fcohen at pushtotest.com Thu Sep 13 14:48:19 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Sep 13 15:51:07 2007 Subject: [ptt-users] Errors when running in commandline mode (cant writecache) In-Reply-To: References: Message-ID: <03845E68-A031-4D28-9B44-C1D8729806CA@pushtotest.com> Glad you found a solution. I'll put this into the bug db for later reference. -Frank On Sep 13, 2007, at 11:57 AM, Dinesh, Nirmit wrote: > Answering my own question : delete entire jythoncachedirectory > folder. On rerun, Testmaker recreates this folder and no errors > appear thereafter. > > > > Nirmit > > > > From: users-bounces@lists.pushtotest.com [mailto:users- > bounces@lists.pushtotest.com] On Behalf Of Dinesh, Nirmit > Sent: Thursday, September 13, 2007 10:44 AM > To: users@lists.pushtotest.com > Subject: [ptt-users] Errors when running in commandline mode (cant > writecache) > > > > I get a bunch of following errors, when running TestMaker.sh with ?- > commandline? option. How do I eliminate those? > > > > *sys-package-mgr*: processing modified jar, '/usr/jdk1.6.0_02/jre/ > lib/XXXXX.jar' > > *sys-package-mgr*: can't write cache file for '/usr/jdk1.6.0_02/jre/ > lib/XXXXX.jar' > > > > In online searched, it is recommended to change RW permission on > cache directory. I did that on jythoncachedirectory folder. But in > vain. Where is the cache directory? > > > > Thanks for your help in advance. > > > > Nirmit > > _______________________________________________ > 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 From for_everybody at ukr.net Fri Sep 14 07:57:36 2007 From: for_everybody at ukr.net (Yuriy) Date: Fri Sep 14 08:06:22 2007 Subject: [ptt-users] Milliseconds trouble with analysis data being saved in DB. Message-ID: Hi. We've found?a trouble with analysis data?being saved in DB: Unfortunately MySQL doesn't support Millisecond DATETIME Resolution (see for details http://feedblog.org/2007/05/26/why-doesnt-mysql-support-millisecond-datetime-resolution/ ), so ,for example, you can't extract milliseconds from the field 'T_Start' of the 'transactions' table to make an analytical chart. We can solve this bug in this way: Add a supplementary field of BIGINT?type?into 'transactions' table and?fill?this field?with datetime long value in the format "yyyyMMddHHmmssSS" during saving results in a DB. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070914/fb5c48e7/attachment-0001.htm From fcohen at pushtotest.com Fri Sep 14 08:22:45 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Fri Sep 14 08:31:13 2007 Subject: [ptt-users] Milliseconds trouble with analysis data being saved in DB. In-Reply-To: References: Message-ID: Dear Yurly: Thank you for pointing out the issue and proposing a solution. The enhancement looks good to me and I opened a ticket for it: http://bugs.pushtotest.com/ticket/161 Our engineers are engaged on two large scale testing projects right now. I can't be certain when we will make the enhancement. Of course, if you would like to contribute a patch we would be glad to receive it. (And, of course, you can buy a support agreement in which case we will assign an engineer to this right away. Contact me at fcohen@pushtotest.com if this interests you.) Thanks for your support of TestMaker. -Frank On Sep 14, 2007, at 7:57 AM, Yuriy wrote: > > Hi. > > We've found a trouble with analysis data being saved in DB: > > Unfortunately MySQL doesn't support Millisecond DATETIME Resolution > (see for details > http://feedblog.org/2007/05/26/why-doesnt-mysql-support-millisecond- > datetime-resolution/ ), so ,for example, you can't extract > milliseconds from the field 'T_Start' of the 'transactions' table > to make an analytical chart. > > We can solve this bug in this way: > Add a supplementary field of BIGINT type into 'transactions' table > and fill this field with datetime long value in the format > "yyyyMMddHHmmssSS" during saving results in a DB. > > Thanks. > > _______________________________________________ > 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 From ernest at semerda.com Fri Sep 14 17:32:52 2007 From: ernest at semerda.com (Ernest Semerda) Date: Fri Sep 14 17:41:32 2007 Subject: [ptt-users] Strange behavior - but where from? Message-ID: Hi, I'm getting strange behavior from TM which hopefully someone can shed some light / help me out? :) Here's what has been scripted in TM: 1. I've setup a login to an online secure service. 2. One of the scripts POSTs login details to a URL which is structured like this to login into the system: https://www.mydomain.com/loginControl/?%22https://www.mydomain.com/myFriendlyName%22-T 3. After the login, a call is redirected to https://www.mydomain.com/myFriendlyName Which should return content and response code 200. However, it doesn't returning 302 and 0 content length. After running a debug on jcookie, the RFC2965CookieParser,tailMatch() URL is returning: https://www.mydomain.com/myFriendlyName/?%22https://www.mydomain.com/myFriendlyName%22-T Which is invalid and is dumped by this Novell Access Gateway as a 302 Redirect with 0 byte content weight. Has anyone seen this before and how do I go about fixing this? The code is written in jython and ran under T5. Thanks in advance. E -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070915/83b4cada/attachment.htm From Giovanni.Colombo at interact.it Mon Sep 17 02:01:31 2007 From: Giovanni.Colombo at interact.it (Giovanni Colombo) Date: Mon Sep 17 02:10:45 2007 Subject: [ptt-users] Error after installing firefox plugin Message-ID: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local> Hi all, I hope I'm sending this request properly. I installed test maker but, after the installation, when I open FifeFox I saw a sorto f error warning at the bottom of the firefox window saying this: Hello, I have problems running a soapUI testcase which includes a groovy-script using the ant-task SQLExec. If I start soapUI from TestMaker and runs the test from there, everything works fine. I have declared the jar's (ant-launcher-1.6.5.jar and ant-1.6.5.jar) in the tag in the test-scenario xml file like this: The console output says: Trying Quintic-soapui-project2.xml Warning: SOAPUI not installed Continue test without validating SOAPUI The test is valid. - The functional test is running - - Test Resources - XML Scenario: C:\PushToTest_TestMaker\RequestNewSubscriptionTest.xml JAR File: ./lib/soapui/bin/ext/ant-launcher-1.6.5.jar JAR File: ./lib/soapui/bin/ext/ant-1.6.5.jar SOAPUI File: Quintic-soapui-project2.xml - Loading Scenario - The node localhost is valid The node localhost has loaded the scenario Node localhost: Test done 0 times - Functional Test results - The node localhost had finished the test with some errors Functional test failed. The local TestNode output is: Running a functional test Executing time 0 Trying .\localhost\Quintic-soapui-project2.xml - Creating new settings at [C:\PushToTest_TestMaker\TestNetwork\TestNode\soapui-settings.xml] - Loaded project from [C:\PushToTest_TestMaker\TestNetwork\TestNode\.\localhost\Quintic-soapui-pro ject2.xml] Triying suite TestNewValidSubscription Using com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase@1c88f2b - org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 2: unable to resolve class org.apache.tools.ant.Project @ line 2, column 1.Script1.groovy: 3: unable to resolve class org.apache.tools.ant.taskdefs.SQLExec @ line 3, column 1. 2 errors Functional test failed. The local TestNode error is: java.lang.reflect.InvocationTargetException 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:597) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute(Script Runner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne(Scr iptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTim e(TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunct ionaltest(TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$0 00(TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$Function alTest.run(TestscenarioRunner.java:272) Caused by: java.lang.Exception: SOAPUI Test failed at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runSOAPUI(Scri ptRunner.java:314) ... 10 more java.lang.reflect.InvocationTargetException 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:597) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.execute(Script Runner.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runJustOne(Scr iptRunner.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner.runOneTim e(TestusecaseRunner.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.runFunct ionaltest(TestscenarioRunner.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner.access$0 00(TestscenarioRunner.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner$Function alTest.run(TestscenarioRunner.java:272) Caused by: java.lang.Exception: SOAPUI Test failed at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner.runSOAPUI(Scri ptRunner.java:314) ... 10 more Any idea what is wrong? Best regards, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070917/a85abdd4/attachment-0001.htm From ernest at semerda.com Mon Sep 17 18:38:45 2007 From: ernest at semerda.com (Ernest Semerda) Date: Mon Sep 17 18:48:14 2007 Subject: [ptt-users] Re: Strange behavior - but where from? In-Reply-To: References: Message-ID: Anyone? On 15/09/2007, Ernest Semerda wrote: > > Hi, > > I'm getting strange behavior from TM which hopefully someone can shed some > light / help me out? :) > Here's what has been scripted in TM: > > 1. I've setup a login to an online secure service. > > 2. One of the scripts POSTs login details to a URL which is structured > like this to login into the system: > https://www.mydomain.com/loginControl/?%22https://www.mydomain.com/myFriendlyName%22-T > > > 3. After the login, a call is redirected to > https://www.mydomain.com/myFriendlyName > > Which should return content and response code 200. However, it doesn't > returning 302 and 0 content length. > After running a debug on jcookie, the RFC2965CookieParser,tailMatch() URL > is returning: > https://www.mydomain.com/myFriendlyName/?%22https://www.mydomain.com/myFriendlyName%22-T > > Which is invalid and is dumped by this Novell Access Gateway as a 302 > Redirect with 0 byte content weight. > > Has anyone seen this before and how do I go about fixing this? > The code is written in jython and ran under T5. > > Thanks in advance. > E > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070918/faf6a977/attachment.htm From olivier.dony at denali.be Mon Sep 17 23:33:04 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Mon Sep 17 23:42:53 2007 Subject: [ptt-users] Strange behavior - but where from? In-Reply-To: References: Message-ID: On Sep 15, 2007, at 2:32 AM, Ernest Semerda wrote: > Hi, Hi Ernest, > I'm getting strange behavior from TM which hopefully someone can > shed some light / help me out? :) > Here's what has been scripted in TM: > > 1. I've setup a login to an online secure service. > > 2. One of the scripts POSTs login details to a URL which is > structured like this to login into the system: > https://www.mydomain.com/loginControl/?%22https://www.mydomain.com/ > myFriendlyName%22-T > > 3. After the login, a call is redirected to > https://www.mydomain.com/myFriendlyName Is this redirect supposed to be done via a HTTP redirect response (302|303) coming from the server, or via a javascript or meta tag in the HTML itself? > Which should return content and response code 200. Do you mean you expect a 200 response for the next request after the redirect, or for the redirect response itself? > However, it doesn't returning 302 and 0 content length. > After running a debug on jcookie, the RFC2965CookieParser,tailMatch > () URL is returning: > https://www.mydomain.com/myFriendlyName/?%22https:// > www.mydomain.com/myFriendlyName%22-T > Which is invalid and is dumped by this Novell Access Gateway as a > 302 Redirect with 0 byte content weight. I'm not sure I understand correctly. What has jcookie to do with a redirect? Just in case: an HTTP 302 redirect response is a correct way to redirect the browser to another URL, and is achieved by returning an HTTP 302 status code, with a special "Location" header. This kind of HTTP response should contain a non-empty body (as per HTTP RFC 2616), but that is *not* mandatory, so even a Content-Length of 0 is valid, and the gateway has no reason to drop it. And even if it did, I don't see why it wouldn't also drop the same response when you do the scenario using a regular browser?! Have you tried capturing the HTTP packets going back and forth between the client and the server during the test (using Ethereal for example)? What does that look like? What is the difference when you execute the scenario manually with a browser, as opposed to when you do it via TM? And what does your jython script look like? Have you used TestGen4Web to record the scenario and then imported it within TM? Or is this a custom script? -- 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 Legal Notice: 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 olivier.dony at denali.be Mon Sep 17 23:57:21 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Tue Sep 18 00:06:47 2007 Subject: [ptt-users] Error after installing firefox plugin In-Reply-To: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local> References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local> Message-ID: On Sep 17, 2007, at 11:01 AM, Giovanni Colombo wrote: > Hi all, > > I hope I?m sending this request properly. > > I installed test maker but, after the installation, when I open > FifeFox I saw a sorto f error warning at the bottom of the firefox > window saying this: > > tooltiptext=?&button.label.Loop;? > > ---------------^ > > Obviously, I can?t record anything so I can?t use the program. The firefox plugin bundled with TestMaker is TestGen4Web: http:// developer.spikesource.com/wiki/index.php/Projects:TestGen4Web If you have trouble with it, maybe you can try to uninstall it from your Firefox plugins and then reinstall it directly from the developer's site (assuming simply restarting Firefox is not enough). Use version 0.41.1 beta by clicking on "recorder-0.41.1.xpi" here : http://developer.spikesource.com/frs/?group_id=14 I haven't seen your error (and I'm not using windows), but if you keep getting it, you could also ask on the TestGen4Web user forum: http://developer.spikesource.com/forums/viewforum.php?f=86 Hope this helps, -- 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 Legal Notice: 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 Giovanni.Colombo at interact.it Tue Sep 18 01:00:35 2007 From: Giovanni.Colombo at interact.it (Giovanni Colombo) Date: Tue Sep 18 01:09:39 2007 Subject: R: [ptt-users] Error after installing firefox plugin In-Reply-To: References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local> Message-ID: <3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local> Hi, I tried to reinstall the plugin, even from the developer's website, but I have the same error. I even tried to install the previous version, but with the same results. No-one has ever had this problem? Could you give me any other advice? I'm trying to connect to the developer's forum, but there are too many connection :-( I really need to test the software soon, as my company is at the final decision about which test system to use, and I really think that TestMaker could be what we need. I am the ITG manager, so my idea counts ;-) Thanks for your help Giovanni -----Messaggio originale----- Da: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] Per conto di Olivier Dony Inviato: marted? 18 settembre 2007 8.57 A: TestMaker users list Oggetto: Re: [ptt-users] Error after installing firefox plugin On Sep 17, 2007, at 11:01 AM, Giovanni Colombo wrote: > Hi all, > > I hope I'm sending this request properly. > > I installed test maker but, after the installation, when I open > FifeFox I saw a sorto f error warning at the bottom of the firefox > window saying this: > > tooltiptext="&button.label.Loop;" > > ---------------^ > > Obviously, I can't record anything so I can't use the program. The firefox plugin bundled with TestMaker is TestGen4Web: http:// developer.spikesource.com/wiki/index.php/Projects:TestGen4Web If you have trouble with it, maybe you can try to uninstall it from your Firefox plugins and then reinstall it directly from the developer's site (assuming simply restarting Firefox is not enough). Use version 0.41.1 beta by clicking on "recorder-0.41.1.xpi" here : http://developer.spikesource.com/frs/?group_id=14 I haven't seen your error (and I'm not using windows), but if you keep getting it, you could also ask on the TestGen4Web user forum: http://developer.spikesource.com/forums/viewforum.php?f=86 Hope this helps, -- 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 Legal Notice: 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. _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users From olivier.dony at denali.be Tue Sep 18 02:57:48 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Tue Sep 18 03:07:23 2007 Subject: R: [ptt-users] Error after installing firefox plugin In-Reply-To: <3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local> References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local> <3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local> Message-ID: <77589A02-FC43-4461-8276-4993B1E6EB45@denali.be> On Sep 18, 2007, at 10:00 AM, Giovanni Colombo wrote: > Hi, > I tried to reinstall the plugin, even from the developer's website, > but I have the same error. > I even tried to install the previous version, but with the same > results. > No-one has ever had this problem? For the sake of testing I have just installed 0.41.1 on a windows laptop here, and I don't see any error after restarting Firefox. I tried recording a search scenario on Google and it works. This was on Firefox 1.5.0.12 and then on Firefox 2.0.0.6 too. > Could you give me any other advice? I'm trying to connect to the > developer's forum, but there are too many connection :-( That's too bad, the website was working this morning... hopefully the wiki and forum will be back running soon. What version of Firefox are you using? Have you tried a different version of Firefox? Maybe it is a conflict with another extension? Have your tried disabling all other extensions? If you want to investigate further, a firefox plugin is just a zip file (xpi = zip) with a bunch of javascript files, xul layouts and images/css resources in it. If you unzip recorder.xpi you can see the source of the plugin, but as far as I can see there is nothing wrong/different with the "Loop" button, defined in chrome/recorder/content/overlay.xul. I have no idea why the plugin wouldn't load correctly on your Firefox, unless your installation of Firefox is somehow corrupted, or another extension is having side effects. >> I installed test maker but, after the installation, when I open >> FifeFox I saw a sorto f error warning at the bottom of the firefox >> window saying this: >> >> > tooltiptext="&button.label.Loop;" >> >> ---------------^ BTW, what do you mean with "warning at the bottom of the firefox"? Do you have a screenshot? I thought that by default such errors are hidden, and they only appear if you explictly open the Error Console using the Tools menu, or if you have installed an extension that supports debugging, such as WebDeveloper or Firebug. Have you installed such an extension? Maybe it is a source of problems? -- 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 Legal Notice: 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 ernest at semerda.com Tue Sep 18 05:30:12 2007 From: ernest at semerda.com (Ernest Semerda) Date: Tue Sep 18 05:39:57 2007 Subject: [ptt-users] Strange behavior - but where from? In-Reply-To: References: Message-ID: Thanks for your reply Olivier. I've used jython custom script to write my paths in TM. jCookie stores the jsession details of the secure login connection and validates all subsequent pages within the secure session. So understanding what URL's its allowing is important. The problem here is when I observe what jCookie is doing in one of my other scripts with a different session using a different URL and login service the URL's are parsed through it correctly. Only in this 1 instance (script) when ?%22https://www.mydomain.com/myFriendlyName%22-T is appended to the end of the URL to log into the secure connection, as such: https://www.mydomain.com/loginControl/?%22https://www.mydomain.com/myFriendlyName%22-T then I keep on getting 302 redirects and 0 content length being returned. Now, stepping through all of this using my browser with TemperData to monitor the connection I should be getting a 200 and content length > 0 and not 302. So its either TM or jCookie which is not emulating the experience properly? As I said before, my other scripts are fine. Its just this one instance that's doing it because of the funny URL being passed into it. I'm baffled :( E On 18/09/2007, Olivier Dony wrote: > > On Sep 15, 2007, at 2:32 AM, Ernest Semerda wrote: > > Hi, > > Hi Ernest, > > > > I'm getting strange behavior from TM which hopefully someone can > > shed some light / help me out? :) > > Here's what has been scripted in TM: > > > > 1. I've setup a login to an online secure service. > > > > 2. One of the scripts POSTs login details to a URL which is > > structured like this to login into the system: > > https://www.mydomain.com/loginControl/?%22https://www.mydomain.com/ > > myFriendlyName%22-T > > > > 3. After the login, a call is redirected to > > https://www.mydomain.com/myFriendlyName > > Is this redirect supposed to be done via a HTTP redirect response > (302|303) coming from the server, or via a javascript or meta tag in > the HTML itself? > > > > Which should return content and response code 200. > > Do you mean you expect a 200 response for the next request after the > redirect, or for the redirect response itself? > > > > However, it doesn't returning 302 and 0 content length. > > After running a debug on jcookie, the RFC2965CookieParser,tailMatch > > () URL is returning: > > https://www.mydomain.com/myFriendlyName/?%22https:// > > www.mydomain.com/myFriendlyName%22-T > > Which is invalid and is dumped by this Novell Access Gateway as a > > 302 Redirect with 0 byte content weight. > > I'm not sure I understand correctly. What has jcookie to do with a > redirect? > Just in case: an HTTP 302 redirect response is a correct way to > redirect the browser to another URL, and is achieved by returning an > HTTP 302 status code, with a special "Location" header. This kind of > HTTP response should contain a non-empty body (as per HTTP RFC 2616), > but that is *not* mandatory, so even a Content-Length of 0 is valid, > and the gateway has no reason to drop it. > And even if it did, I don't see why it wouldn't also drop the same > response when you do the scenario using a regular browser?! > > Have you tried capturing the HTTP packets going back and forth > between the client and the server during the test (using Ethereal for > example)? > What does that look like? What is the difference when you execute the > scenario manually with a browser, as opposed to when you do it via TM? > > And what does your jython script look like? Have you used TestGen4Web > to record the scenario and then imported it within TM? > Or is this a custom script? > > > > -- > 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 > > Legal Notice: 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. > > > _______________________________________________ > 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/20070918/9bc8836e/attachment-0001.htm From Giovanni.Colombo at interact.it Tue Sep 18 07:41:44 2007 From: Giovanni.Colombo at interact.it (Giovanni Colombo) Date: Tue Sep 18 07:51:20 2007 Subject: R: R: [ptt-users] Error after installing firefox plugin In-Reply-To: <77589A02-FC43-4461-8276-4993B1E6EB45@denali.be> References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local><3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local> <77589A02-FC43-4461-8276-4993B1E6EB45@denali.be> Message-ID: <3BF450A4896537478EDC1BAE166A7BA901791DF5@rmdata02.interact.local> >On Sep 18, 2007, at 10:00 AM, Giovanni Colombo wrote: >> Hi, >> I tried to reinstall the plugin, even from the developer's website, >> but I have the same error. >> I even tried to install the previous version, but with the same >> results. >> No-one has ever had this problem? > >For the sake of testing I have just installed 0.41.1 on a windows >laptop here, and I don't see any error after restarting Firefox. >I tried recording a search scenario on Google and it works. This was >on Firefox 1.5.0.12 and then on Firefox 2.0.0.6 too. > > >What version of Firefox are you using? Have you tried a different >version of Firefox? >Maybe it is a conflict with another extension? Have your tried >disabling all other extensions? I'm using Firefox 2.0.0.6 Italian version. As shown in the "about" window: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 I tried to uninstall all other extensions, but I had the same results. > >> I installed test maker but, after the installation, when I open >> FifeFox I saw a sorto f error warning at the bottom of the firefox >> window saying this: >> >> > tooltiptext="&button.label.Loop;" >> >> ---------------^ > >BTW, what do you mean with "warning at the bottom of the firefox"? >Do you have a screenshot? >I thought that by default such errors are hidden, and they only >appear if you explictly open the Error Console using the Tools menu, >or if you have installed an extension that supports debugging, such >as WebDeveloper or Firebug. >Have you installed such an extension? Maybe it is a source of problems? I attached a screenshot. At the bottom of the Firefox windows, written in red, you can see the error I reported. I also attached another screenshot of the report I have if I press on the "Option" button in the row containing the extension we are talking about, in the list of extensions installed in my Firefox. I haven't installed any extension that supports debugging. I hope you could help me again. Meanwhile, I try to install TEstmaker in another PC with Firefox in English. Thanks a lot Giovanni From Giovanni.Colombo at interact.it Tue Sep 18 07:44:31 2007 From: Giovanni.Colombo at interact.it (Giovanni Colombo) Date: Wed Sep 19 15:02:15 2007 Subject: R: R: [ptt-users] Error after installing firefox plugin In-Reply-To: <77589A02-FC43-4461-8276-4993B1E6EB45@denali.be> References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local><3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local> <77589A02-FC43-4461-8276-4993B1E6EB45@denali.be> Message-ID: <3BF450A4896537478EDC1BAE166A7BA901791DF6@rmdata02.interact.local> Ops, I forgot the attachments... >On Sep 18, 2007, at 10:00 AM, Giovanni Colombo wrote: >> Hi, >> I tried to reinstall the plugin, even from the developer's website, >> but I have the same error. >> I even tried to install the previous version, but with the same >> results. >> No-one has ever had this problem? > >For the sake of testing I have just installed 0.41.1 on a windows >laptop here, and I don't see any error after restarting Firefox. >I tried recording a search scenario on Google and it works. This was >on Firefox 1.5.0.12 and then on Firefox 2.0.0.6 too. > > >What version of Firefox are you using? Have you tried a different >version of Firefox? >Maybe it is a conflict with another extension? Have your tried >disabling all other extensions? I'm using Firefox 2.0.0.6 Italian version. As shown in the "about" window: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 I tried to uninstall all other extensions, but I had the same results. > >> I installed test maker but, after the installation, when I open >> FifeFox I saw a sorto f error warning at the bottom of the firefox >> window saying this: >> >> > tooltiptext="&button.label.Loop;" >> >> ---------------^ > >BTW, what do you mean with "warning at the bottom of the firefox"? >Do you have a screenshot? >I thought that by default such errors are hidden, and they only >appear if you explictly open the Error Console using the Tools menu, >or if you have installed an extension that supports debugging, such >as WebDeveloper or Firebug. >Have you installed such an extension? Maybe it is a source of problems? I attached a screenshot. At the bottom of the Firefox windows, written in red, you can see the error I reported. I also attached another screenshot of the report I have if I press on the "Option" button in the row containing the extension we are talking about, in the list of extensions installed in my Firefox. I haven't installed any extension that supports debugging. I hope you could help me again. Meanwhile, I try to install TEstmaker in another PC with Firefox in English. Thanks a lot Giovanni -------------- next part -------------- A non-text attachment was scrubbed... Name: Firefox error.jpg Type: image/jpeg Size: 134288 bytes Desc: Firefox error.jpg Url : http://cake.pushtotest.com/pipermail/users/attachments/20070918/7d0aa917/Firefoxerror-0001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: details on extension error.jpg Type: image/jpeg Size: 26584 bytes Desc: details on extension error.jpg Url : http://cake.pushtotest.com/pipermail/users/attachments/20070918/7d0aa917/detailsonextensionerror-0001.jpg From olivier.dony at denali.be Thu Sep 20 02:09:32 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Thu Sep 20 02:19:54 2007 Subject: [ptt-users] Problem with italian translation of TestGen4Web [Was: Error after installing firefox plugin] In-Reply-To: <3BF450A4896537478EDC1BAE166A7BA901791DF6@rmdata02.interact.local> References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local><3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local> <77589A02-FC43-4461-8276-4993B1E6EB45@denali.be> <3BF450A4896537478EDC1BAE166A7BA901791DF6@rmdata02.interact.local> Message-ID: <207F0B67-648F-44EB-8CF3-8DCD1AE54A65@denali.be> On Sep 18, 2007, at 4:44 PM, Giovanni Colombo wrote: >>> I installed test maker but, after the installation, when I open >>> FifeFox I saw a sorto f error warning at the bottom of the firefox >>> window saying this: >>> >>> >> tooltiptext="&button.label.Loop;" >>> >>> ---------------^ > > I hope you could help me again. > Meanwhile, I try to install TEstmaker in another PC with Firefox in > English. Thanks for the additional details. I think I found what is happening, and it is a bug of TestGen4Web. (This is a bit off-topic, and should probably go to the TG4W forum, so I put Vinay Srini, its creator, in CC) In more details: TG4W comes with an italian localization, but it seems that this localization has not been maintained for the latest versions (at least 0.41.1 to 0.50.1), and the translation for a number of keys is missing. Among others: the Loop, Help, Automate and About buttons, and the Fancy preferences tab. Until this problem is fixed in TG4W, you can work around it in several ways, the easier ones being: * use an english version of Firefox, so that the english localization of TestGen4Web is used * if you need to use an italian version, you can disable the italian translation of TG4W by doing the following: 1. First install the TestGen4Web plugin in Firefox. 2. Locate you firefox profile directory. On windows it should be C:\Document and Settings\[YOUR_USERNAME]\Application Data \Mozilla\Firefox\Profiles\[PROFILE] or something similar with some parts translated in italian. 3. There is usually only one profile, for example "f123abcde.default". Inside the profile directory, find the "chrome.manifest" for the TG4W plugin. For me it was: ...extensions\{3c20433a-61bc-42fe-831d-415860e17283} \chrome.manifest 4. Edit the chrome.manifest file with a text editor and remove this line: locale recorder it-IT chrome/recorder/locale/it-IT/ 5. Save the file and restart Firefox. Cheers, -- 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 Legal Notice: 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 Giovanni.Colombo at interact.it Thu Sep 20 02:13:43 2007 From: Giovanni.Colombo at interact.it (Giovanni Colombo) Date: Thu Sep 20 02:23:30 2007 Subject: R: [ptt-users] Problem with italian translation of TestGen4Web [Was:Error after installing firefox plugin] In-Reply-To: <207F0B67-648F-44EB-8CF3-8DCD1AE54A65@denali.be> References: <3BF450A4896537478EDC1BAE166A7BA901791C1E@rmdata02.interact.local><3BF450A4896537478EDC1BAE166A7BA901791D22@rmdata02.interact.local><77589A02-FC43-4461-8276-4993B1E6EB45@denali.be><3BF450A4896537478EDC1BAE166A7BA901791DF6@rmdata02.interact.local> <207F0B67-648F-44EB-8CF3-8DCD1AE54A65@denali.be> Message-ID: <3BF450A4896537478EDC1BAE166A7BA901791F69@rmdata02.interact.local> Thanks a lot! I decided to use an English version of Firefox, to start testing the system, and it works. Then I will move to the Italian version, using your advices. Cheers Giovanni -----Messaggio originale----- Da: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] Per conto di Olivier Dony Inviato: gioved? 20 settembre 2007 11.10 A: TestMaker users list Cc: vsrini@spikesource.com Oggetto: [ptt-users] Problem with italian translation of TestGen4Web [Was:Error after installing firefox plugin] On Sep 18, 2007, at 4:44 PM, Giovanni Colombo wrote: >>> I installed test maker but, after the installation, when I open >>> FifeFox I saw a sorto f error warning at the bottom of the firefox >>> window saying this: >>> >>> >> tooltiptext="&button.label.Loop;" >>> >>> ---------------^ > > I hope you could help me again. > Meanwhile, I try to install TEstmaker in another PC with Firefox in > English. Thanks for the additional details. I think I found what is happening, and it is a bug of TestGen4Web. (This is a bit off-topic, and should probably go to the TG4W forum, so I put Vinay Srini, its creator, in CC) In more details: TG4W comes with an italian localization, but it seems that this localization has not been maintained for the latest versions (at least 0.41.1 to 0.50.1), and the translation for a number of keys is missing. Among others: the Loop, Help, Automate and About buttons, and the Fancy preferences tab. Until this problem is fixed in TG4W, you can work around it in several ways, the easier ones being: * use an english version of Firefox, so that the english localization of TestGen4Web is used * if you need to use an italian version, you can disable the italian translation of TG4W by doing the following: 1. First install the TestGen4Web plugin in Firefox. 2. Locate you firefox profile directory. On windows it should be C:\Document and Settings\[YOUR_USERNAME]\Application Data \Mozilla\Firefox\Profiles\[PROFILE] or something similar with some parts translated in italian. 3. There is usually only one profile, for example "f123abcde.default". Inside the profile directory, find the "chrome.manifest" for the TG4W plugin. For me it was: ...extensions\{3c20433a-61bc-42fe-831d-415860e17283} \chrome.manifest 4. Edit the chrome.manifest file with a text editor and remove this line: locale recorder it-IT chrome/recorder/locale/it-IT/ 5. Save the file and restart Firefox. Cheers, -- 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 Legal Notice: 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. _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users From dominique.dewaleffe at denali.be Thu Sep 20 06:28:30 2007 From: dominique.dewaleffe at denali.be (Dominique de Waleffe) Date: Thu Sep 20 06:39:06 2007 Subject: [ptt-users] TestNode: how do I change the port? Message-ID: <46F2757E.9030409@denali.be> How can I configure TestNodes so they use a port different from the 8080 default? Thanks, D. From for_everybody at ukr.net Thu Sep 20 06:50:06 2007 From: for_everybody at ukr.net (Yuriy) Date: Thu Sep 20 06:57:14 2007 Subject: [ptt-users] TestNode: how do I change the port? In-Reply-To: <46F2757E.9030409@denali.be> Message-ID: Hi. You should modify Jetty conf file - .../TestNode/etc/jetty.xml --- ???????? ????????? --- ?? ????: Dominique de Waleffe (dominique.dewaleffe@denali.be) ????: TestMaker users list ????: 20 ????????, 16:28:30 ????: [ptt-users] TestNode: how do I change the port? > How can I configure TestNodes so they use a port different from the 8080 > default? > > Thanks, > > D. > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > > -- ????? ????? - ??????????? ????????????? ?????????. http://www.ailas.com.ua -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070920/5a0d239c/attachment.htm From Giovanni.Colombo at interact.it Mon Sep 24 06:45:44 2007 From: Giovanni.Colombo at interact.it (Giovanni Colombo) Date: Mon Sep 24 06:56:56 2007 Subject: [ptt-users] Red the Tutorial. And now??? Message-ID: <3BF450A4896537478EDC1BAE166A7BA90179217F@rmdata02.interact.local> Hi all, I am not a programmer, but I red that there's no need to be a programmer to use TestMaker to make tests. I red the tutorials, but they only show how to "copy and paste" some code to create a functional (or other) test. Now I have an application to test: I know how to record using the TestGen4Web plug-in to Firefox; what I don't know is how to use that recording to build a functional or a load test. Do I need to write any line of code? I hope not, because in the description is written that there is no need to be a programmer to make tests with testmaker. Thanks for your quick answer Giovanni -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070924/d978c35b/attachment.htm From olivier.dony at denali.be Mon Sep 24 07:34:20 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Mon Sep 24 07:44:54 2007 Subject: [ptt-users] Red the Tutorial. And now??? In-Reply-To: <3BF450A4896537478EDC1BAE166A7BA90179217F@rmdata02.interact.local> References: <3BF450A4896537478EDC1BAE166A7BA90179217F@rmdata02.interact.local> Message-ID: <58CE36F3-8209-47D8-9FDF-BB22B6B7DFFC@denali.be> On Sep 24, 2007, at 3:45 PM, Giovanni Colombo wrote: > Hi all, > > I am not a programmer, but I red that there?s no need to be a > programmer to use TestMaker to make tests. > > I red the tutorials, but they only show how to ?copy and paste? > some code to create a functional (or other) test. Now I have an > application to test: I know how to record using the TestGen4Web > plug-in to Firefox; what I don?t know is how to use that recording > to build a functional or a load test. Do I need to write any line > of code? I hope not, because in the description is written that > there is no need to be a programmer to make tests with testmaker. Once you have recorded a scenario with TestGen4Web, you can import it directly in TestMaker 5. Start TestMaker, then go in the Tools Menu, and choose "Import TestGen4Web". Choose the input (TG4W) and output (python) files, and accept the creation of a default scenario (XML). TestMaker will convert your TG4W scenario into a python script, and wrap it in a load-test. That's it, you can execute the test by clicking on the big arrow in the controller pane on the left. You can modify the parameters of the load-test by editing the default scenario file (crlevels, testTime, etc.) This does not count as writing lines of code, right? ;-) For additional examples, you can read the rest of the documentation on http://docs.pushtotest.com/docs/index.html Hope this helps, -- 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 Legal Notice: 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070924/3c3eb573/attachment-0001.htm From fcohen at pushtotest.com Mon Sep 24 08:09:15 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon Sep 24 08:20:16 2007 Subject: [ptt-users] Re: Connecting to database In-Reply-To: References: Message-ID: There is a Data Production Library (DPL) to read database information at test time. See http://docs.pushtotest.com/docs/dpl.html You can also use a JDBC driver directly by putting the driver onto the TestMaker classpath and calling the driver. See the TestMaker_home/example_agents/xDB_meister.py Hope this helps. -Frank On Sep 24, 2007, at 6:42 AM, Ernest Semerda wrote: > Is it possible to connect to a database like MySQL from within TM? > or will I have to use java? > I want to drop processing data into a database instead of log files. > > Cheers, > E -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From phillipsic at gmail.com Mon Sep 24 09:13:11 2007 From: phillipsic at gmail.com (Ian Phillips) Date: Mon Sep 24 09:24:05 2007 Subject: [ptt-users] Dynamic Id's Message-ID: Hi. I have a select that has a dynamic ID: I am having difficulty selecting from this list. I have tried this: select */FORM[4]/SELECT[@Name="subtype"] Long but it does not work, it cannot find it. I could not find a way to search the mail archives so do not know if this have been answered before. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070924/a50f4fba/attachment.htm From ernest at semerda.com Mon Sep 24 17:43:16 2007 From: ernest at semerda.com (Ernest Semerda) Date: Mon Sep 24 17:54:19 2007 Subject: [ptt-users] Re: Connecting to database In-Reply-To: References: Message-ID: fantastic, thanks again Frank. E On 25/09/2007, Frank Cohen wrote: > > There is a Data Production Library (DPL) to read database information > at test time. See http://docs.pushtotest.com/docs/dpl.html > > You can also use a JDBC driver directly by putting the driver onto > the TestMaker classpath and calling the driver. See the > TestMaker_home/example_agents/xDB_meister.py > > Hope this helps. > > -Frank > > > On Sep 24, 2007, at 6:42 AM, Ernest Semerda wrote: > > > Is it possible to connect to a database like MySQL from within TM? > > or will I have to use java? > > I want to drop processing data into a database instead of log files. > > > > Cheers, > > E > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070925/ebaf2e2e/attachment.htm From olivier.dony at denali.be Tue Sep 25 01:42:31 2007 From: olivier.dony at denali.be (Olivier Dony) Date: Tue Sep 25 01:53:19 2007 Subject: [ptt-users] Dynamic Id's In-Reply-To: References: Message-ID: <39095319-541E-4154-BAD6-D4FEB9DAC09F@denali.be> On Sep 24, 2007, at 6:13 PM, Ian Phillips wrote: > Hi. > > I have a select that has a dynamic ID: > > >