From fcohen at pushtotest.com Tue Feb 6 10:19:23 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Feb 6 13:35:53 2007 Subject: [ptt-users] Setting up the proxy server In-Reply-To: References: Message-ID: <4D16F8A1-4EA4-4239-8083-88D169929F10@pushtotest.com> Hi Dave: Sorry for the delayed response. I'm looking into why your message wasn't posted immediate to the list. Is the page you are trying to record available on the public Internet? If so, what is the URL. Is the site using HTTPS? -Frank On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > Hi, > > I'm having a bit of trouble using the Agent Recorder. I've tried a > variety of settings in my IE6 browser, but when I try to run a test > agent, I get one of the following: > > - no web pages displayed and the test reported as done (!) > - browser reports 'Page cannot be displayed' > - the following errors in the text output: > java.lang.NullPointerException > at > com.bitmechanic.maxq.SwingMain.reportOutsideException > (SwingMain.java:305) > at com.bitmechanic.maxq.RequestHandler.run > (RequestHandler.java:243) > at java.lang.Thread.run(Thread.java:534) > > I guess it?s a security setting here or something, but I'm stumped! > > Anyone got any ideas for a fix? > > DaveTalkowski > Senior Analyst > * dave.talkowski@assureweb.co.uk > > _______________________________________________ > 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 nphan at IMPRIVATA.com Wed Feb 7 09:23:22 2007 From: nphan at IMPRIVATA.com (Nam Phan) Date: Wed Feb 7 10:31:54 2007 Subject: [ptt-users] TPS numbers mismatch between graph and log Message-ID: <8E0B2788ADE5A14195D29CF5C43E81A303432B86@mamail01.IMPRIVATA.COM> Why the TPS numbers are not sync between Graph and log Log Graph 1.36 1.12 1.23 2.4 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070207/c6b0b9af/attachment.htm From Dave.Talkowski at assureweb.co.uk Thu Feb 8 01:48:32 2007 From: Dave.Talkowski at assureweb.co.uk (Dave Talkowski) Date: Thu Feb 8 02:56:56 2007 Subject: [ptt-users] Setting up the proxy server In-Reply-To: <4D16F8A1-4EA4-4239-8083-88D169929F10@pushtotest.com> References: <4D16F8A1-4EA4-4239-8083-88D169929F10@pushtotest.com> Message-ID: It's OK - I checked with the IT boys and dicovered that some of the external traffic was being blocked by the firewall. Works fine now! Thanks. Dave T. -----Original Message----- From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen Sent: Tuesday, February 06, 2007 6:19 PM To: TestMaker users list Subject: Re: [ptt-users] Setting up the proxy server Hi Dave: Sorry for the delayed response. I'm looking into why your message wasn't posted immediate to the list. Is the page you are trying to record available on the public Internet? If so, what is the URL. Is the site using HTTPS? -Frank On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > Hi, > > I'm having a bit of trouble using the Agent Recorder. I've tried a > variety of settings in my IE6 browser, but when I try to run a test > agent, I get one of the following: > > - no web pages displayed and the test reported as done (!) > - browser reports 'Page cannot be displayed' > - the following errors in the text output: > java.lang.NullPointerException > at > com.bitmechanic.maxq.SwingMain.reportOutsideException > (SwingMain.java:305) > at com.bitmechanic.maxq.RequestHandler.run > (RequestHandler.java:243) > at java.lang.Thread.run(Thread.java:534) > > I guess it's a security setting here or something, but I'm stumped! > > Anyone got any ideas for a fix? > > DaveTalkowski > Senior Analyst > * dave.talkowski@assureweb.co.uk > > _______________________________________________ > 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 _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users From fcohen at pushtotest.com Thu Feb 8 08:26:41 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Feb 8 09:35:30 2007 Subject: [ptt-users] Setting up the proxy server In-Reply-To: References: <4D16F8A1-4EA4-4239-8083-88D169929F10@pushtotest.com> Message-ID: <7D24D58E-3943-4555-86EB-D6B0630B621A@pushtotest.com> Glad to hear it. Thanks. By the way, we are making substantial changes to the TestMaker Recorder for TestMaker 5 and the team would appreciate any feedback or experiences you have on using the current Recorder so we can make it better. -Frank On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > It's OK - I checked with the IT boys and dicovered that some of the > external traffic was being blocked by the firewall. Works fine now! > > Thanks. > > Dave T. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Tuesday, February 06, 2007 6:19 PM > To: TestMaker users list > Subject: Re: [ptt-users] Setting up the proxy server > > Hi Dave: Sorry for the delayed response. I'm looking into why your > message wasn't posted immediate to the list. > > Is the page you are trying to record available on the public Internet? > If so, what is the URL. Is the site using HTTPS? > > -Frank > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > >> >> Hi, >> >> I'm having a bit of trouble using the Agent Recorder. I've tried a >> variety of settings in my IE6 browser, but when I try to run a test >> agent, I get one of the following: >> >> - no web pages displayed and the test reported as done (!) >> - browser reports 'Page cannot be displayed' >> - the following errors in the text output: >> java.lang.NullPointerException >> at >> com.bitmechanic.maxq.SwingMain.reportOutsideException >> (SwingMain.java:305) >> at com.bitmechanic.maxq.RequestHandler.run >> (RequestHandler.java:243) >> at java.lang.Thread.run(Thread.java:534) >> >> I guess it's a security setting here or something, but I'm stumped! >> >> Anyone got any ideas for a fix? >> >> DaveTalkowski >> Senior Analyst >> * dave.talkowski@assureweb.co.uk >> >> _______________________________________________ >> 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From sfriedman at videoegg.com Thu Feb 8 10:16:54 2007 From: sfriedman at videoegg.com (Friedman, Seth) Date: Thu Feb 8 11:25:56 2007 Subject: [ptt-users] Setting up the proxy server References: <4D16F8A1-4EA4-4239-8083-88D169929F10@pushtotest.com> <7D24D58E-3943-4555-86EB-D6B0630B621A@pushtotest.com> Message-ID: <269443236E16F94FBDE31D22174C9A00059E843E@VS5.EXCHPROD.USA.NET> One idea I've been intending to explore e.g. figure out if it's already possible, is a standalone recorder packaging (ie: sniffer) that could be passed around independently of TestMaker. I've been in the position to help a developer fix a bug, and he was uncomfortable installing the full testmaker suite, but probably could be convinced to run something smaller. It seems like a niche that's not particularly well filled - there's all the powerful network-focused tools (ethereal, network general, etc) which are not the most effective for application level work, and then there's the lightweight HTTP specific ones (Effetech) that have some, for us, major limitations around post. seth ________________________________ From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen Sent: Thu 2/8/2007 8:26 AM To: TestMaker users list Subject: Re: [ptt-users] Setting up the proxy server Glad to hear it. Thanks. By the way, we are making substantial changes to the TestMaker Recorder for TestMaker 5 and the team would appreciate any feedback or experiences you have on using the current Recorder so we can make it better. -Frank On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > It's OK - I checked with the IT boys and dicovered that some of the > external traffic was being blocked by the firewall. Works fine now! > > Thanks. > > Dave T. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Tuesday, February 06, 2007 6:19 PM > To: TestMaker users list > Subject: Re: [ptt-users] Setting up the proxy server > > Hi Dave: Sorry for the delayed response. I'm looking into why your > message wasn't posted immediate to the list. > > Is the page you are trying to record available on the public Internet? > If so, what is the URL. Is the site using HTTPS? > > -Frank > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > >> >> Hi, >> >> I'm having a bit of trouble using the Agent Recorder. I've tried a >> variety of settings in my IE6 browser, but when I try to run a test >> agent, I get one of the following: >> >> - no web pages displayed and the test reported as done (!) >> - browser reports 'Page cannot be displayed' >> - the following errors in the text output: >> java.lang.NullPointerException >> at >> com.bitmechanic.maxq.SwingMain.reportOutsideException >> (SwingMain.java:305) >> at com.bitmechanic.maxq.RequestHandler.run >> (RequestHandler.java:243) >> at java.lang.Thread.run(Thread.java:534) >> >> I guess it's a security setting here or something, but I'm stumped! >> >> Anyone got any ideas for a fix? >> >> DaveTalkowski >> Senior Analyst >> * dave.talkowski@assureweb.co.uk >> >> _______________________________________________ >> 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Frank Cohen, PushToTest, http://www.PushToTest.com , phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ 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/20070208/5933e515/attachment.htm From dlandis at gmail.com Thu Feb 8 10:56:40 2007 From: dlandis at gmail.com (=?ISO-8859-1?Q?=D0av=EEd_L=E5nd=EFs?=) Date: Thu Feb 8 12:06:02 2007 Subject: [ptt-users] [TestMaker 4.4] SOAP Protocol Authentication Message-ID: Hi, I am trying to test a SOAP over HTTP service that uses Basic authentication. The URL requires a username and password. (If you browse to the URL, you are prompted with a simple authentication box.) I have modified the "SOAP_Message_Example.py" script to work with my service when authentication is turned off, but now how do I send the username/password? I have tried: ............ self.protocol = ProtocolHandler.getProtocol("soap") self.protocol.setBody(self.body) self.protocol.setUrl("http://localhost:8080/services/DataService") self.protocol.setUsername("user") self.protocol.setPassword("password") .......... but the server does not accept this (HTTP error 401). When coding a client in Java I set the user/pass inside the SOAP stub header. So I have also tried to mirror that: ..... self.header = SOAPHeader() self.header.set("javax.xml.rpc.security.auth.username", "user") self.header.set("javax.xml.rpc.security.auth.password", "pass") self.protocol.setHeader(self.header) ........ but then there is a client error (server never accessed): java.lang.NullPointerException at com.pushtotest.tool.protocolhandler.SOAPProtocol.soapDocCall( SOAPProtocol.java:467) at com.pushtotest.tool.protocolhandler.SOAPProtocol.connect( SOAPProtocol.java:253) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java ) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java:258) at org.python.core.PyInstance.invoke(PyInstance.java) at org.python.pycode._pyx137.runTest$4(:71) at org.python.pycode._pyx137.call_function() at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at org.python.pycode._pyx137.f$0(:120) at org.python.pycode._pyx137.call_function() at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java) at org.python.core.Py.runCode(Py.java) at org.python.core.Py.exec(Py.java) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java) at com.pushtotest.testmaker.gui.AgentRunner.run(Unknown Source) java.lang.NullPointerException: java.lang.NullPointerException -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070208/0ce3f105/attachment.htm From geoffm at gamesys.co.uk Sat Feb 10 10:38:38 2007 From: geoffm at gamesys.co.uk (Geoff Meakin) Date: Sat Feb 10 11:49:52 2007 Subject: [ptt-users] Setting up the proxy server Message-ID: Hi Frank, If you would be interested, I wrote a HTTP and HTTPS recorder in python which outputs testmaker code. It just runs commandline and is based on tlslite. It has limitations, but works perfectly for our scenario. Cheers -Geoff -----Original Message----- From: users-bounces@lists.pushtotest.com on behalf of Friedman, Seth Sent: Thu 08/02/2007 18:16 To: TestMaker users list; TestMaker users list Subject: RE: [ptt-users] Setting up the proxy server One idea I've been intending to explore e.g. figure out if it's already possible, is a standalone recorder packaging (ie: sniffer) that could be passed around independently of TestMaker. I've been in the position to help a developer fix a bug, and he was uncomfortable installing the full testmaker suite, but probably could be convinced to run something smaller. It seems like a niche that's not particularly well filled - there's all the powerful network-focused tools (ethereal, network general, etc) which are not the most effective for application level work, and then there's the lightweight HTTP specific ones (Effetech) that have some, for us, major limitations around post. seth ________________________________ From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen Sent: Thu 2/8/2007 8:26 AM To: TestMaker users list Subject: Re: [ptt-users] Setting up the proxy server Glad to hear it. Thanks. By the way, we are making substantial changes to the TestMaker Recorder for TestMaker 5 and the team would appreciate any feedback or experiences you have on using the current Recorder so we can make it better. -Frank On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > It's OK - I checked with the IT boys and dicovered that some of the > external traffic was being blocked by the firewall. Works fine now! > > Thanks. > > Dave T. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Tuesday, February 06, 2007 6:19 PM > To: TestMaker users list > Subject: Re: [ptt-users] Setting up the proxy server > > Hi Dave: Sorry for the delayed response. I'm looking into why your > message wasn't posted immediate to the list. > > Is the page you are trying to record available on the public Internet? > If so, what is the URL. Is the site using HTTPS? > > -Frank > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > >> >> Hi, >> >> I'm having a bit of trouble using the Agent Recorder. I've tried a >> variety of settings in my IE6 browser, but when I try to run a test >> agent, I get one of the following: >> >> - no web pages displayed and the test reported as done (!) >> - browser reports 'Page cannot be displayed' >> - the following errors in the text output: >> java.lang.NullPointerException >> at >> com.bitmechanic.maxq.SwingMain.reportOutsideException >> (SwingMain.java:305) >> at com.bitmechanic.maxq.RequestHandler.run >> (RequestHandler.java:243) >> at java.lang.Thread.run(Thread.java:534) >> >> I guess it's a security setting here or something, but I'm stumped! >> >> Anyone got any ideas for a fix? >> >> DaveTalkowski >> Senior Analyst >> * dave.talkowski@assureweb.co.uk >> >> _______________________________________________ >> 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Frank Cohen, PushToTest, http://www.PushToTest.com , phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ 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/20070210/2fcf7879/attachment-0001.htm From fcohen at pushtotest.com Sat Feb 10 22:50:59 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Sun Feb 11 00:00:30 2007 Subject: [ptt-users] Setting up the proxy server In-Reply-To: References: Message-ID: <45819F6F-71F8-4613-ABFE-641AA074BE46@pushtotest.com> Hi Geoff: I'd love to see it. Please send it to me at fcohen@pushtotest.com. Thanks. -Frank On Feb 10, 2007, at 10:38 AM, Geoff Meakin wrote: > Hi Frank, > > If you would be interested, I wrote a HTTP and HTTPS recorder in > python which outputs testmaker code. It just runs commandline and > is based on tlslite. > > It has limitations, but works perfectly for our scenario. > > Cheers > -Geoff > > > > -----Original Message----- > From: users-bounces@lists.pushtotest.com on behalf of Friedman, Seth > Sent: Thu 08/02/2007 18:16 > To: TestMaker users list; TestMaker users list > Subject: RE: [ptt-users] Setting up the proxy server > > One idea I've been intending to explore e.g. figure out if it's > already possible, is a standalone recorder packaging (ie: sniffer) > that could be passed around independently of TestMaker. I've > been in the position to help a developer fix a bug, and he was > uncomfortable installing the full testmaker suite, but probably > could be convinced to run something smaller. > > It seems like a niche that's not particularly well filled - there's > all the powerful network-focused tools (ethereal, network general, > etc) which are not the most effective for application level work, > and then there's the lightweight HTTP specific ones (Effetech) that > have some, for us, major limitations around post. > > seth > > ________________________________ > > From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen > Sent: Thu 2/8/2007 8:26 AM > To: TestMaker users list > Subject: Re: [ptt-users] Setting up the proxy server > > > > Glad to hear it. Thanks. > > By the way, we are making substantial changes to the TestMaker > Recorder for TestMaker 5 and the team would appreciate any feedback > or experiences you have on using the current Recorder so we can make > it better. > > -Frank > > > On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > > > It's OK - I checked with the IT boys and dicovered that some of the > > external traffic was being blocked by the firewall. Works fine now! > > > > Thanks. > > > > Dave T. > > > > -----Original Message----- > > From: users-bounces@lists.pushtotest.com > > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > > Sent: Tuesday, February 06, 2007 6:19 PM > > To: TestMaker users list > > Subject: Re: [ptt-users] Setting up the proxy server > > > > Hi Dave: Sorry for the delayed response. I'm looking into why your > > message wasn't posted immediate to the list. > > > > Is the page you are trying to record available on the public > Internet? > > If so, what is the URL. Is the site using HTTPS? > > > > -Frank > > > > > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > > >> > >> Hi, > >> > >> I'm having a bit of trouble using the Agent Recorder. I've tried a > >> variety of settings in my IE6 browser, but when I try to run a test > >> agent, I get one of the following: > >> > >> - no web pages displayed and the test reported as done (!) > >> - browser reports 'Page cannot be displayed' > >> - the following errors in the text output: > >> java.lang.NullPointerException > >> at > >> com.bitmechanic.maxq.SwingMain.reportOutsideException > >> (SwingMain.java:305) > >> at com.bitmechanic.maxq.RequestHandler.run > >> (RequestHandler.java:243) > >> at java.lang.Thread.run(Thread.java:534) > >> > >> I guess it's a security setting here or something, but I'm stumped! > >> > >> Anyone got any ideas for a fix? > >> > >> DaveTalkowski > >> Senior Analyst > >> * dave.talkowski@assureweb.co.uk > >> > >> _______________________________________________ > >> Users mailing list > >> Users@lists.pushtotest.com > >> http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > -- > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> , phone 408 374 7426 > > TestMaker: The open-source SOA test automation tool > > > > > > > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> , phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Mon Feb 12 16:07:09 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon Feb 12 17:17:04 2007 Subject: [ptt-users] Seeking feedback on PushToTest home page Message-ID: <71FB4D5C-58A5-452E-9FE6-2113E2AE8D15@pushtotest.com> We are planing to renovate the PushToTest Web site to make it more accessible and to offer for-pay services around the free TestMaker product. I would greatly appreciate your feedback on the mock-up for the new home page: http://images.pushtotest.com/PushToTest2007_mockup-2.jpg Please take a look at this screen shot and reply with the following: 1) Where did your eyes move to when you first saw the screen shot. For example, "My eyes started at the PushToTest logo and then went to the round Download icon." 2) Does the tag line "Governance, Reliability, Performance" sound true to you? 3) What would you prefer us add to the home page? 4) What would you prefer to be removed from the home page? Thank you in advance for your assistance! -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From kylebell at tango-networks.com Mon Feb 12 19:43:40 2007 From: kylebell at tango-networks.com (Kyle Bell) Date: Mon Feb 12 20:53:34 2007 Subject: [ptt-users] Seeking feedback on PushToTest home page In-Reply-To: <71FB4D5C-58A5-452E-9FE6-2113E2AE8D15@pushtotest.com> References: <71FB4D5C-58A5-452E-9FE6-2113E2AE8D15@pushtotest.com> Message-ID: <1171338220.5754.22.camel@kbell-1.tango-networks.com> OK, Frank. 1. The first thing that caught my attention was the fellow grinning at me from the screen, then the slogan box to his left, the two round icons and their purposes then the FastSOA plug on the left hand frame, the links in bottom main, the folders under navigation, the tabs at the top of the page with the PushToTest logo, and finally the search box in the upper right. 2. Yes. I think the words imply that the first action allows or is the groundwork which allows the following consequences/byproducts... 3. I'm sure you have jython/python and java references in the other pages, so they likely don't belong on the home page, though I think they should be somewhere. 4. Everything looks like it could be useful... -Kyle On Mon, 2007-02-12 at 16:07 -0800, Frank Cohen wrote: > We are planing to renovate the PushToTest Web site to make it more > accessible and to offer for-pay services around the free TestMaker > product. I would greatly appreciate your feedback on the mock-up for > the new home page: > > http://images.pushtotest.com/PushToTest2007_mockup-2.jpg > > Please take a look at this screen shot and reply with the following: > > 1) Where did your eyes move to when you first saw the screen shot. > For example, "My eyes started at the PushToTest logo and then went to > the round Download icon." > > 2) Does the tag line "Governance, Reliability, Performance" sound > true to you? > > 3) What would you prefer us add to the home page? > > 4) What would you prefer to be removed from the home page? > > Thank you in advance for your assistance! > > -Frank > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > From fcohen at pushtotest.com Wed Feb 14 13:09:30 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Feb 14 14:20:01 2007 Subject: [ptt-users] TestMaker and Eclipse Message-ID: <9CC40F86-8499-423E-AB41-C9305EDD9DB9@pushtotest.com> It's inevitable that TestMaker will be integrated with Eclipse (and maybe NetBeans too.) This will happen later this year, once TestMaker 5 development finishes. Today I attended a demonstration by Flashline, now the BEA ALER product. They showed a very simple integration with Eclipse. That got me wondering what TestMaker would look like as an Eclipse plug-in? What do you think that would look like? -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From Monirul.Islam at doe.virginia.gov Wed Feb 14 14:34:29 2007 From: Monirul.Islam at doe.virginia.gov (Monirul Islam) Date: Wed Feb 14 15:45:11 2007 Subject: [ptt-users] TestMaker and Eclipse Message-ID: Sounds great! Would it be possible to integrate with Oracle JDeveloper 10g too ? Thanks, Monirul Islam Software Engineer Virginia Department of Education Monirul.Islam@doe.virginia.gov 804-225-2922 The information conveyed in this communication is intended for the use of the original addressee(s), and may be legally privileged, confidential, and/or exempt from disclosure under applicable law. If this communication was not addressed or copied to you, then you have received it in error and are strictly prohibited from reading, copying, distributing, disseminating, or transmitting any of the information it conveys. If you received this communication in error, please destroy all electronic, paper, and other copies, and notify the sender of the error immediately. Accidental transmission of this communication is not intended to waive any privilege or confidentiality protected under Virginia's Freedom of Information Act. >>> fcohen@pushtotest.com 02/14 4:09 PM >>> It's inevitable that TestMaker will be integrated with Eclipse (and maybe NetBeans too.) This will happen later this year, once TestMaker 5 development finishes. Today I attended a demonstration by Flashline, now the BEA ALER product. They showed a very simple integration with Eclipse. That got me wondering what TestMaker would look like as an Eclipse plug-in? What do you think that would look like? -Frank -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users -------------- next part -------------- BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Islam, Monirul TEL;WORK:225-2922 ORG:;IT TEL;PREF;FAX:786-0101 EMAIL;WORK;PREF;NGW:Monirul.Islam@doe.virginia.gov N:Islam;Monirul TITLE:Office of Information Technology ADR;DOM;WORK;PARCEL;POSTAL:;22 LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Islam, Monirul=0A= 22 END:VCARD BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Islam, Monirul TEL;WORK:225-2922 ORG:;IT TEL;PREF;FAX:786-0101 EMAIL;WORK;PREF;NGW:Monirul.Islam@doe.virginia.gov N:Islam;Monirul TITLE:Office of Information Technology ADR;DOM;WORK;PARCEL;POSTAL:;22 LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Islam, Monirul=0A= 22 END:VCARD From fcohen at pushtotest.com Wed Feb 14 14:44:47 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Feb 14 15:55:48 2007 Subject: [ptt-users] TestMaker and Eclipse In-Reply-To: References: Message-ID: <59FB09E3-5DD6-44CD-AE09-5ED99C9AE41A@pushtotest.com> Hi Monirul: Oracle is porting JDeveloper to be an Eclipse Plugin. That's supposed to happen something this year as part of the Oracle Fusion Middleware project. So, hopefully, what we do for Eclipse will be useful to JDeveloper too. (I've been accused of being Polly Anna before, though.) What I'm less certain of is how TestMaker's functionality would appear in Eclipse. Any ideas? -Frank On Feb 14, 2007, at 2:34 PM, Monirul Islam wrote: > Sounds great! Would it be possible to integrate with Oracle > JDeveloper > 10g too ? > > > > Thanks, > Monirul Islam > Software Engineer > Virginia Department of Education > Monirul.Islam@doe.virginia.gov > 804-225-2922 > > The information conveyed in this communication is intended for the use > of the original addressee(s), and may be legally privileged, > confidential, and/or exempt from disclosure under applicable law. If > this communication was not addressed or copied to you, then you have > received it in error and are strictly prohibited from reading, > copying, > distributing, disseminating, or transmitting any of the information it > conveys. If you received this communication in error, please destroy > all electronic, paper, and other copies, and notify the sender of the > error immediately. Accidental transmission of this communication > is not > intended to waive any privilege or confidentiality protected under > Virginia's Freedom of Information Act. > > >>>> fcohen@pushtotest.com 02/14 4:09 PM >>> > It's inevitable that TestMaker will be integrated with Eclipse (and > maybe NetBeans too.) This will happen later this year, once TestMaker > > 5 development finishes. Today I attended a demonstration by > Flashline, now the BEA ALER product. They showed a very simple > integration with Eclipse. That got me wondering what TestMaker would > look like as an Eclipse plug-in? What do you think that would look > like? > > -Frank > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > 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 dlandis at gmail.com Wed Feb 14 16:25:01 2007 From: dlandis at gmail.com (=?ISO-8859-1?Q?=D0av=EEd_L=E5nd=EFs?=) Date: Wed Feb 14 17:35:28 2007 Subject: [ptt-users] Adding HTTP Headers to SOAP Message-ID: Using Testmaker framework and API, is there a way to send a test soap message but add HTTP headers to it? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://cake.pushtotest.com/pipermail/users/attachments/20070214/ff4cdc6e/attachment.htm From aaron.romeo at artez.com Fri Feb 16 14:34:43 2007 From: aaron.romeo at artez.com (Aaron Romeo) Date: Fri Feb 16 15:45:45 2007 Subject: [ptt-users] TestMaker and Eclipse Message-ID: <448E1FA789024B42BAE0BAC496FAA290014BB0F1@mail10.artez.com> Hey Frank, I've been using Test maker with eclipse for quite a while now. I've cheated a bit. I've basically pulled out the jar files from the Test Maker bundle and added it to my project path. I find it easier to debug my applications this way. I have not run the recorded this way, only the playback. I essentially just kick off my "runner" jython script, and it does the rest. Let me know if you want more info. Aaron. -----Original Message----- From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen Sent: Wednesday, February 14, 2007 5:45 PM To: Monirul Islam Cc: users@lists.pushtotest.com Subject: Re: [ptt-users] TestMaker and Eclipse Hi Monirul: Oracle is porting JDeveloper to be an Eclipse Plugin. That's supposed to happen something this year as part of the Oracle Fusion Middleware project. So, hopefully, what we do for Eclipse will be useful to JDeveloper too. (I've been accused of being Polly Anna before, though.) What I'm less certain of is how TestMaker's functionality would appear in Eclipse. Any ideas? -Frank On Feb 14, 2007, at 2:34 PM, Monirul Islam wrote: > Sounds great! Would it be possible to integrate with Oracle > JDeveloper > 10g too ? > > > > Thanks, > Monirul Islam > Software Engineer > Virginia Department of Education > Monirul.Islam@doe.virginia.gov > 804-225-2922 > > The information conveyed in this communication is intended for the use > of the original addressee(s), and may be legally privileged, > confidential, and/or exempt from disclosure under applicable law. If > this communication was not addressed or copied to you, then you have > received it in error and are strictly prohibited from reading, > copying, > distributing, disseminating, or transmitting any of the information it > conveys. If you received this communication in error, please destroy > all electronic, paper, and other copies, and notify the sender of the > error immediately. Accidental transmission of this communication > is not > intended to waive any privilege or confidentiality protected under > Virginia's Freedom of Information Act. > > >>>> fcohen@pushtotest.com 02/14 4:09 PM >>> > It's inevitable that TestMaker will be integrated with Eclipse (and > maybe NetBeans too.) This will happen later this year, once TestMaker > > 5 development finishes. Today I attended a demonstration by > Flashline, now the BEA ALER product. They showed a very simple > integration with Eclipse. That got me wondering what TestMaker would > look like as an Eclipse plug-in? What do you think that would look > like? > > -Frank > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > 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 _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users From kylebell at tango-networks.com Fri Feb 16 14:43:48 2007 From: kylebell at tango-networks.com (Kyle Bell) Date: Fri Feb 16 15:54:38 2007 Subject: [ptt-users] TestMaker and Eclipse In-Reply-To: <448E1FA789024B42BAE0BAC496FAA290014BB0F1@mail10.artez.com> References: <448E1FA789024B42BAE0BAC496FAA290014BB0F1@mail10.artez.com> Message-ID: <1171665828.17542.5.camel@kbell-1.tango-networks.com> I had heard that jython has a plugin for eclipse as well that might inspire your integration. What I find missing in TestMaker that I would find useful in eclipse is the ability to browse to module/class/function definitions from the module in which they are referenced using a right click to a menu the same way you can in Java. That would greatly aid my development and that of my fellow code designers. Regards, -Kyle On Fri, 2007-02-16 at 17:34 -0500, Aaron Romeo wrote: > Hey Frank, > > I've been using Test maker with eclipse for quite a while now. I've cheated > a bit. I've basically pulled out the jar files from the Test Maker bundle > and added it to my project path. I find it easier to debug my applications > this way. > > I have not run the recorded this way, only the playback. I essentially just > kick off my "runner" jython script, and it does the rest. > > Let me know if you want more info. > > Aaron. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Wednesday, February 14, 2007 5:45 PM > To: Monirul Islam > Cc: users@lists.pushtotest.com > Subject: Re: [ptt-users] TestMaker and Eclipse > > Hi Monirul: Oracle is porting JDeveloper to be an Eclipse Plugin. > That's supposed to happen something this year as part of the Oracle > Fusion Middleware project. So, hopefully, what we do for Eclipse will > be useful to JDeveloper too. (I've been accused of being Polly Anna > before, though.) > > What I'm less certain of is how TestMaker's functionality would > appear in Eclipse. Any ideas? > > -Frank > > > > On Feb 14, 2007, at 2:34 PM, Monirul Islam wrote: > > > Sounds great! Would it be possible to integrate with Oracle > > JDeveloper > > 10g too ? > > > > > > > > Thanks, > > Monirul Islam > > Software Engineer > > Virginia Department of Education > > Monirul.Islam@doe.virginia.gov > > 804-225-2922 > > > > The information conveyed in this communication is intended for the use > > of the original addressee(s), and may be legally privileged, > > confidential, and/or exempt from disclosure under applicable law. If > > this communication was not addressed or copied to you, then you have > > received it in error and are strictly prohibited from reading, > > copying, > > distributing, disseminating, or transmitting any of the information it > > conveys. If you received this communication in error, please destroy > > all electronic, paper, and other copies, and notify the sender of the > > error immediately. Accidental transmission of this communication > > is not > > intended to waive any privilege or confidentiality protected under > > Virginia's Freedom of Information Act. > > > > > >>>> fcohen@pushtotest.com 02/14 4:09 PM >>> > > It's inevitable that TestMaker will be integrated with Eclipse (and > > maybe NetBeans too.) This will happen later this year, once TestMaker > > > > 5 development finishes. Today I attended a demonstration by > > Flashline, now the BEA ALER product. They showed a very simple > > integration with Eclipse. That got me wondering what TestMaker would > > look like as an Eclipse plug-in? What do you think that would look > > like? > > > > -Frank > > > > -- > > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > > TestMaker: The open-source SOA test automation tool > > > > > > > > _______________________________________________ > > 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > From kylebell at tango-networks.com Fri Feb 16 14:46:12 2007 From: kylebell at tango-networks.com (Kyle Bell) Date: Fri Feb 16 15:57:01 2007 Subject: [ptt-users] TestMaker and Eclipse In-Reply-To: <448E1FA789024B42BAE0BAC496FAA290014BB0F1@mail10.artez.com> References: <448E1FA789024B42BAE0BAC496FAA290014BB0F1@mail10.artez.com> Message-ID: <1171665972.17542.7.camel@kbell-1.tango-networks.com> BTW, the plugins I reference are for PyDev and JyDT. On Fri, 2007-02-16 at 17:34 -0500, Aaron Romeo wrote: > Hey Frank, > > I've been using Test maker with eclipse for quite a while now. I've cheated > a bit. I've basically pulled out the jar files from the Test Maker bundle > and added it to my project path. I find it easier to debug my applications > this way. > > I have not run the recorded this way, only the playback. I essentially just > kick off my "runner" jython script, and it does the rest. > > Let me know if you want more info. > > Aaron. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Wednesday, February 14, 2007 5:45 PM > To: Monirul Islam > Cc: users@lists.pushtotest.com > Subject: Re: [ptt-users] TestMaker and Eclipse > > Hi Monirul: Oracle is porting JDeveloper to be an Eclipse Plugin. > That's supposed to happen something this year as part of the Oracle > Fusion Middleware project. So, hopefully, what we do for Eclipse will > be useful to JDeveloper too. (I've been accused of being Polly Anna > before, though.) > > What I'm less certain of is how TestMaker's functionality would > appear in Eclipse. Any ideas? > > -Frank > > > > On Feb 14, 2007, at 2:34 PM, Monirul Islam wrote: > > > Sounds great! Would it be possible to integrate with Oracle > > JDeveloper > > 10g too ? > > > > > > > > Thanks, > > Monirul Islam > > Software Engineer > > Virginia Department of Education > > Monirul.Islam@doe.virginia.gov > > 804-225-2922 > > > > The information conveyed in this communication is intended for the use > > of the original addressee(s), and may be legally privileged, > > confidential, and/or exempt from disclosure under applicable law. If > > this communication was not addressed or copied to you, then you have > > received it in error and are strictly prohibited from reading, > > copying, > > distributing, disseminating, or transmitting any of the information it > > conveys. If you received this communication in error, please destroy > > all electronic, paper, and other copies, and notify the sender of the > > error immediately. Accidental transmission of this communication > > is not > > intended to waive any privilege or confidentiality protected under > > Virginia's Freedom of Information Act. > > > > > >>>> fcohen@pushtotest.com 02/14 4:09 PM >>> > > It's inevitable that TestMaker will be integrated with Eclipse (and > > maybe NetBeans too.) This will happen later this year, once TestMaker > > > > 5 development finishes. Today I attended a demonstration by > > Flashline, now the BEA ALER product. They showed a very simple > > integration with Eclipse. That got me wondering what TestMaker would > > look like as an Eclipse plug-in? What do you think that would look > > like? > > > > -Frank > > > > -- > > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > > TestMaker: The open-source SOA test automation tool > > > > > > > > _______________________________________________ > > 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > From starkestaffan at hotmail.com Sun Feb 18 23:53:58 2007 From: starkestaffan at hotmail.com (Staffan Starnevall) Date: Mon Feb 19 01:05:31 2007 Subject: [ptt-users] Complex Java types as parameters Message-ID: Hi all, I'm trying to test an AXIS Web Service sending a complex custom made java type in the request. It's not working very well though.. In my jython script I do the following: soap = ProtocolHandler.getProtocol("soap") . . beanSer = org.apache.axis.encoding.ser.BeanSerializer(MyType, qName) soap.setMapTypes(Constants.NS_URI_LITERAL_XML, qName, MyType, beanSer, beanSer) soap.connect() By definition the method setMapTypes() accepts the org.apache.soap.encoding.soapenc.BeanSerializer as its 4th input parameter. However, since the 'MyType' object is generated with axis-ant's wsdj2java target it requires the org.apache.axis.encoding.ser.BeanSerializer to be properly serialized. Thus, I get an error running my code. This is annoying!! How can I get my custom java type serialized using the 'axis' serializer an then still make the connect() call as I want to? Any help is much appreciated.. /Staffan _________________________________________________________________ Uppt?ck k?rleken p? MSN http://match.se.msn.com/ From aaron.romeo at artez.com Mon Feb 19 11:44:01 2007 From: aaron.romeo at artez.com (Aaron Romeo) Date: Mon Feb 19 12:55:39 2007 Subject: [ptt-users] TestMaker and Eclipse Message-ID: <448E1FA789024B42BAE0BAC496FAA29001578606@mail10.artez.com> Thanks Kyle. I haven't used JyDT, but PyDev supports Jython, and that is what I am currently using. -----Original Message----- From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Kyle Bell Sent: February 16, 2007 5:46 PM To: TestMaker users list Subject: RE: [ptt-users] TestMaker and Eclipse BTW, the plugins I reference are for PyDev and JyDT. On Fri, 2007-02-16 at 17:34 -0500, Aaron Romeo wrote: > Hey Frank, > > I've been using Test maker with eclipse for quite a while now. I've cheated > a bit. I've basically pulled out the jar files from the Test Maker bundle > and added it to my project path. I find it easier to debug my applications > this way. > > I have not run the recorded this way, only the playback. I essentially just > kick off my "runner" jython script, and it does the rest. > > Let me know if you want more info. > > Aaron. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Wednesday, February 14, 2007 5:45 PM > To: Monirul Islam > Cc: users@lists.pushtotest.com > Subject: Re: [ptt-users] TestMaker and Eclipse > > Hi Monirul: Oracle is porting JDeveloper to be an Eclipse Plugin. > That's supposed to happen something this year as part of the Oracle > Fusion Middleware project. So, hopefully, what we do for Eclipse will > be useful to JDeveloper too. (I've been accused of being Polly Anna > before, though.) > > What I'm less certain of is how TestMaker's functionality would > appear in Eclipse. Any ideas? > > -Frank > > > > On Feb 14, 2007, at 2:34 PM, Monirul Islam wrote: > > > Sounds great! Would it be possible to integrate with Oracle > > JDeveloper > > 10g too ? > > > > > > > > Thanks, > > Monirul Islam > > Software Engineer > > Virginia Department of Education > > Monirul.Islam@doe.virginia.gov > > 804-225-2922 > > > > The information conveyed in this communication is intended for the use > > of the original addressee(s), and may be legally privileged, > > confidential, and/or exempt from disclosure under applicable law. If > > this communication was not addressed or copied to you, then you have > > received it in error and are strictly prohibited from reading, > > copying, > > distributing, disseminating, or transmitting any of the information it > > conveys. If you received this communication in error, please destroy > > all electronic, paper, and other copies, and notify the sender of the > > error immediately. Accidental transmission of this communication > > is not > > intended to waive any privilege or confidentiality protected under > > Virginia's Freedom of Information Act. > > > > > >>>> fcohen@pushtotest.com 02/14 4:09 PM >>> > > It's inevitable that TestMaker will be integrated with Eclipse (and > > maybe NetBeans too.) This will happen later this year, once TestMaker > > > > 5 development finishes. Today I attended a demonstration by > > Flashline, now the BEA ALER product. They showed a very simple > > integration with Eclipse. That got me wondering what TestMaker would > > look like as an Eclipse plug-in? What do you think that would look > > like? > > > > -Frank > > > > -- > > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > > TestMaker: The open-source SOA test automation tool > > > > > > > > _______________________________________________ > > 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 18/02/2007 4:35 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 18/02/2007 4:35 PM From fcohen at pushtotest.com Tue Feb 20 14:53:31 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Feb 20 16:05:29 2007 Subject: [ptt-users] Setting up the proxy server In-Reply-To: <269443236E16F94FBDE31D22174C9A00059E843E@VS5.EXCHPROD.USA.NET> References: <4D16F8A1-4EA4-4239-8083-88D169929F10@pushtotest.com> <7D24D58E-3943-4555-86EB-D6B0630B621A@pushtotest.com> <269443236E16F94FBDE31D22174C9A00059E843E@VS5.EXCHPROD.USA.NET> Message-ID: <63B7AC1F-49F1-45B4-81B2-1E4CFC1516FE@pushtotest.com> Hi Seth: TestMaker bundles a branch of the MaxQ proxy recorder. You can find it at http://maxq.tigris.org. This is a stand alone application that creates Jython test scripts. The only drawback is it is barely maintained. Hope this helps. -Frank On Feb 8, 2007, at 10:16 AM, S, Seth wrote: > One idea I've been intending to explore e.g. figure out if it's > already possible, is a standalone recorder packaging (ie: sniffer) > that could be passed around independently of TestMaker. I've > been in the position to help a developer fix a bug, and he was > uncomfortable installing the full testmaker suite, but probably > could be convinced to run something smaller. > > It seems like a niche that's not particularly well filled - there's > all the powerful network-focused tools (ethereal, network general, > etc) which are not the most effective for application level work, > and then there's the lightweight HTTP specific ones (Effetech) that > have some, for us, major limitations around post. > > seth > > From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen > Sent: Thu 2/8/2007 8:26 AM > To: TestMaker users list > Subject: Re: [ptt-users] Setting up the proxy server > > Glad to hear it. Thanks. > > By the way, we are making substantial changes to the TestMaker > Recorder for TestMaker 5 and the team would appreciate any feedback > or experiences you have on using the current Recorder so we can make > it better. > > -Frank > > > On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > > > It's OK - I checked with the IT boys and dicovered that some of the > > external traffic was being blocked by the firewall. Works fine now! > > > > Thanks. > > > > Dave T. > > > > -----Original Message----- > > From: users-bounces@lists.pushtotest.com > > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > > Sent: Tuesday, February 06, 2007 6:19 PM > > To: TestMaker users list > > Subject: Re: [ptt-users] Setting up the proxy server > > > > Hi Dave: Sorry for the delayed response. I'm looking into why your > > message wasn't posted immediate to the list. > > > > Is the page you are trying to record available on the public > Internet? > > If so, what is the URL. Is the site using HTTPS? > > > > -Frank > > > > > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > > >> > >> Hi, > >> > >> I'm having a bit of trouble using the Agent Recorder. I've tried a > >> variety of settings in my IE6 browser, but when I try to run a test > >> agent, I get one of the following: > >> > >> - no web pages displayed and the test reported as done (!) > >> - browser reports 'Page cannot be displayed' > >> - the following errors in the text output: > >> java.lang.NullPointerException > >> at > >> com.bitmechanic.maxq.SwingMain.reportOutsideException > >> (SwingMain.java:305) > >> at com.bitmechanic.maxq.RequestHandler.run > >> (RequestHandler.java:243) > >> at java.lang.Thread.run(Thread.java:534) > >> > >> I guess it's a security setting here or something, but I'm stumped! > >> > >> Anyone got any ideas for a fix? > >> > >> DaveTalkowski > >> Senior Analyst > >> * dave.talkowski@assureweb.co.uk > >> > >> _______________________________________________ > >> 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 > > > > > > > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > _______________________________________________ > > Users mailing list > > Users@lists.pushtotest.com > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Tue Feb 20 15:10:01 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Feb 20 16:22:06 2007 Subject: [ptt-users] [TestMaker 4.4] SOAP Protocol Authentication In-Reply-To: References: Message-ID: <0C77268B-AE44-4670-9739-60323468A794@pushtotest.com> Hi David: The self.protocol.setUsername and setPassword methods are the correct way to use SOAP basic authentication. Perhaps there is something else wrong. Is the SOAP service available over the public Internet? If so, please send it and I will look into it. Otherwise, use the Network Monitor and send me a trace of the network conversation between TestMaker and the service. Thanks. -Frank On Feb 8, 2007, at 10:56 AM, ?av?d L?nd?s wrote: > Hi, > > I am trying to test a SOAP over HTTP service that uses Basic > authentication. The URL requires a username and password. (If you > browse to the URL, you are prompted with a simple authentication box.) > > I have modified the "SOAP_Message_Example.py" script to work with > my service when authentication is turned off, but now how do I send > the username/password? I have tried: > > ............ > self.protocol = ProtocolHandler.getProtocol("soap") > self.protocol.setBody(self.body) > self.protocol.setUrl("http://localhost:8080/services/DataService ") > self.protocol.setUsername("user") > self.protocol.setPassword("password") > .......... > > but the server does not accept this (HTTP error 401). When coding a > client in Java I set the user/pass inside the SOAP stub header. So > I have also tried to mirror that: > > ..... > self.header = SOAPHeader() > self.header.set("javax.xml.rpc.security.auth.username", "user") > self.header.set("javax.xml.rpc.security.auth.password", "pass") > self.protocol.setHeader(self.header) > ........ > > but then there is a client error (server never accessed): > > java.lang.NullPointerException > at com.pushtotest.tool.protocolhandler.SOAPProtocol.soapDocCall > (SOAPProtocol.java:467) > at com.pushtotest.tool.protocolhandler.SOAPProtocol.connect > (SOAPProtocol.java:253) > at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.python.core.PyReflectedFunction.__call__ > (PyReflectedFunction.java) > at org.python.core.PyMethod.__call_ _(PyMethod.java) > at org.python.core.PyObject.__call__(PyObject.java:258) > at org.python.core.PyInstance.invoke(PyInstance.java) > at org.python.pycode._pyx137.runTest$4(:71) > at org.python.pycode._pyx137.call_function () > at org.python.core.PyTableCode.call(PyTableCode.java) > at org.python.core.PyTableCode.call(PyTableCode.java) > at org.python.core.PyFunction.__call__(PyFunction.java) > at org.python.core.PyInstance.invoke (PyInstance.java) > at org.python.pycode._pyx137.f$0(:120) > at org.python.pycode._pyx137.call_function() > at org.python.core.PyTableCode.call(PyTableCode.java) > at org.python.core.PyCode.call (PyCode.java) > at org.python.core.Py.runCode(Py.java) > at org.python.core.Py.exec(Py.java) > at org.python.util.PythonInterpreter.exec(PythonInterpreter.java) > at com.pushtotest.testmaker.gui.AgentRunner.run (Unknown Source) > > java.lang.NullPointerException: java.lang.NullPointerException > > > > > > _______________________________________________ > 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 Tue Feb 20 15:47:06 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Feb 20 16:59:04 2007 Subject: [ptt-users] Adding HTTP Headers to SOAP In-Reply-To: References: Message-ID: <1BDC9439-7CB6-41F8-99A7-79C12BF79C01@pushtotest.com> Hi David: The SOAP protocol handler will send header values. Set the headers using the SOAPHeader class. -Frank On Feb 14, 2007, at 4:25 PM, ?av?d L?nd?s wrote: > Using Testmaker framework and API, is there a way to send a test > soap message but add HTTP headers to it? > > 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 fcohen at pushtotest.com Tue Feb 20 16:40:26 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Feb 20 17:52:16 2007 Subject: [ptt-users] Complex Java types as parameters In-Reply-To: References: Message-ID: What is the error you are seeing from the BeanSerializer? -Frank On Feb 18, 2007, at 11:53 PM, Staffan Starnevall wrote: > Hi all, > > I'm trying to test an AXIS Web Service sending a complex custom > made java type in the request. It's not working very well though.. > > In my jython script I do the following: > > soap = ProtocolHandler.getProtocol("soap") > . > . > beanSer = org.apache.axis.encoding.ser.BeanSerializer(MyType, qName) > soap.setMapTypes(Constants.NS_URI_LITERAL_XML, qName, MyType, > beanSer, beanSer) > soap.connect() > > By definition the method setMapTypes() accepts the > org.apache.soap.encoding.soapenc.BeanSerializer as its 4th input > parameter. > > However, since the 'MyType' object is generated with axis-ant's > wsdj2java target it requires the > org.apache.axis.encoding.ser.BeanSerializer to be properly > serialized. Thus, I get an error running my code. > > This is annoying!! > > How can I get my custom java type serialized using the 'axis' > serializer an then still make the connect() call as I want to? > > Any help is much appreciated.. > > /Staffan > > _________________________________________________________________ > Uppt?ck k?rleken p? MSN http://match.se.msn.com/ > > _______________________________________________ > 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 Wed Feb 21 09:36:14 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Wed Feb 21 10:48:19 2007 Subject: [ptt-users] Setting up the proxy server In-Reply-To: References: Message-ID: <0844F8F4-1708-4FE8-8124-89875A509C2B@pushtotest.com> Thanks for the pointer to Selenium. I'll check it out. I posted a request for help to the dev@lists.pushtotest.com list. We'll see. -Frank On Feb 21, 2007, at 8:39 AM, Geoff Meakin wrote: > Hi Frank, > > I came to the same conclusion myself after writing it that it would > be great to have a firefox plugin to do everything you need to do. > I'm not sure if there's a way of overriding SSL problems with > firefox plugins- for example see the "selenium" project firefox > plugin where they discuss in detail the fact they cant get SSL to > behave properly without hacks and tweaks. > > I dont really know that much about firefox plugins so would be > interested to hear thoughts of somebody who does :-) > > > -----Original Message----- > From: Friedman, Seth [mailto:sfriedman@videoegg.com] > Sent: Wed 21/02/2007 16:31 > To: Frank Cohen; Geoff Meakin > Subject: RE: [ptt-users] Setting up the proxy server > > Really cool, Frank. I'll try both of these when I can get > some spare cycles. I need cross platform capability & maxQ looks > like it might be the more portable of the two, so maybe I'll start > there. > > Thanks again-- > seth > > > ________________________________ > > From: Frank Cohen [mailto:frank@pushtotest.com] > Sent: Tue 2/20/2007 4:00 PM > To: Geoff Meakin > Cc: Friedman, Seth > Subject: Re: [ptt-users] Setting up the proxy server > > > > Hi Geoff and Seth: This is awesome stuff. Thank you for sending it. I > forwarded it to the dev@lists.pushtotest.com list and to Avantica, > the group doing the TestMaker 5 completion coding. > > The only thing that concerns me about the technique is the number of > steps involved. I'm wondering if a better approach would be to write > a plug-in to FireFox that outputs TestMaker scripts and embed FireFox > into TestMaker? What do you think? > > -Frank > > > > On Feb 17, 2007, at 2:02 AM, Geoff Meakin wrote: > > > Hi guys, sorry for the delay its been a busy week at gamesys towers! > > > > Here's the code- no real instructions for it yet, so here you go.. > > > > *Requirements* > > ============== > > In order to run this you will need on Windows: > > > > CYGWIN > > Python for CYGWIN > > Tlslite python library (download off web) > > > > on Unix: > > > > Python > > Tlslite > > > > Installing those is an exercise left to the reader :-) > > > > *Overview* > > ========== > > The recorder works by becoming both a browser and a webserver in > > one, accepting requests (both HTTP and HTTPS), decoding them, > > outputting relevant python code, and forwarding the requests on to > > the real server. > > > > *Setup* > > ======= > > For the webserver part, first of all you need to generate your own > > selfsigned certificates using OPENSSL. This is a (free) 5 minute > > exercise and there are many how-tos on the web how to do it. I > > would include my actual certificates, but they are tied to our > > servers, and thats kind of sensitive so I dont want to release > > them. Just tie your ssl certificates to whichever URL you are > > wanting to record- you're trying to fool browsers into believing > > that the recorder IS the webserver at that URL. Simple enough. > > Note, as long as you have a working certificate it will work with > > any URL providing you dont mind SSL warning popups when browsing. > > There are ways to get rid of these including getting the > > certificate 100% correct, importing the CA into your browser etc., > > but all these can be found on the web and I want to explain the > > other stuff.. > > > > I seem to remember you need to specify -dec or -dec2 on one of the > > flags to openssl to set the encryption type of the final > > certificate. The python tls libs dont recognise all encryption > > types, but i found this one worked... Generate yourself files > > called server.csr, server.crt and server.key and put them in the > > same directory as your unpacked tarfile (attached). > > > > Then you just need to configure where you're pointing this recorder > > to- > > Thats all defined in SharedData.py- you need to specify the 4 > > forward settings at the top of this file/class with the name of the > > server you want to record. > > > > The recorder works by you sending your requests for your URL to it, > > rather than to the URL (so not a true proxy, although could be > > adapted into one). You do this by for example on windows, popping a: > > > > 127.0.0.1 my.testserver.local > > > > into your hosts file (my.testserver.local is obviously the hostname > > of your URL you are recording) > > > > This will override DNS lookups and send it to the recorder instead. > > > > So finally the recorder needs to know where to send the real > > requests and what URL they were bound for- those are those 4 > > forwarding properties I talked about above, so pop the relevant > > info in there. > > > > *Running* > > ========= > > > > To run just type > > python Recorder.py > > > > you should see server started on 443, server started on 80 > > > > If your hosts file is pointing in the right place then when you > > browse your site you should instantly see things come out of STDOUT > > from the recorder representing your requests. > > > > Each request to the webserver has its own requestid (a comment), > > and both the HTTP(s) request and HTTP(s) response is logged IN FULL > > in the log subdirectory of the recorder for informational purposes > > so you can see the innards of whats going on > > > > To stop just type CTRL+C and reset your hosts file to normal. > > > > *3 final notes* > > =============== > > > > I usually have 2 simple icons on my desktop/taskbar etc., one for > > setting my hosts file in record mode, one for setting my hosts file > > in normal mode- just takes the pain out of remembering where your > > hosts file is ;-) > > > > The output the recorder produces is currently for Testmaker as we > > use it- very slightly different to the official Testmaker release > > as we've wrapped some of Testmaker 4's agentbase functions in our > > own functions (so you'll see self.getPage instead of self.get). All > > the output is controlled by Logger.py, so its very simple to adapt > > to the latest version of Testmaker if you want, or even write the > > output in a different language if you want. > > > > The tlslite library by default logs to STDOUT nasty debug messages > > on every request which you dont want to see (kind of like apache > > access logs), as they will be interspersed with your recorder > > output. To get rid of these, edit /usr/lib/python2.4/ > > BaseHTTPServer.py and comment out the line: > > > > # print (self.protocol_version, code, message) > > > > in the send_response function > > > > This should get rid of them. > > > > > > Let me know what you think/ whether its useful/ if the instructions > > dont make sense, I can always do a step-by-step guide if you want, > > or give you our TWiki wiki page on it > > > > Cheers > > -Geoff > > > > > > > > > > > > Excellent Seth. Thank you for the offer. I'd love your evaluation. I > > will forward this to Geoff's email. Thanks! -Frank > > > > > > > > On Feb 12, 2007, at 10:35 AM, Friedman, Seth wrote: > > > > > I didn't see Geoff's email address to ask him directly, but if > he's > > > comfortable sharing it - I'd be happy to give it a spin, e.g. > > > briefly testing it out & giving feedback to you/him. > > > > > > best, > > > Seth > > > From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen > > > Sent: Sat 2/10/2007 10:50 PM > > > To: TestMaker users list > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > Hi Geoff: I'd love to see it. Please send it to me at > > > fcohen@pushtotest.com. Thanks. -Frank > > > > > > > > > > > > On Feb 10, 2007, at 10:38 AM, Geoff Meakin wrote: > > > > > > > Hi Frank, > > > > > > > > If you would be interested, I wrote a HTTP and HTTPS recorder in > > > > python which outputs testmaker code. It just runs commandline > and > > > > is based on tlslite. > > > > > > > > It has limitations, but works perfectly for our scenario. > > > > > > > > Cheers > > > > -Geoff > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: users-bounces@lists.pushtotest.com on behalf of Friedman, > > Seth > > > > Sent: Thu 08/02/2007 18:16 > > > > To: TestMaker users list; TestMaker users list > > > > Subject: RE: [ptt-users] Setting up the proxy server > > > > > > > > One idea I've been intending to explore e.g. figure out if it's > > > > already possible, is a standalone recorder packaging (ie: > sniffer) > > > > that could be passed around independently of TestMaker. I've > > > > been in the position to help a developer fix a bug, and he was > > > > uncomfortable installing the full testmaker suite, but probably > > > > could be convinced to run something smaller. > > > > > > > > It seems like a niche that's not particularly well filled - > > there's > > > > all the powerful network-focused tools (ethereal, network > general, > > > > etc) which are not the most effective for application level > work, > > > > and then there's the lightweight HTTP specific ones (Effetech) > > that > > > > have some, for us, major limitations around post. > > > > > > > > seth > > > > > > > > ________________________________ > > > > > > > > From: users-bounces@lists.pushtotest.com on behalf of Frank > Cohen > > > > Sent: Thu 2/8/2007 8:26 AM > > > > To: TestMaker users list > > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > > > > > > > > > > > Glad to hear it. Thanks. > > > > > > > > By the way, we are making substantial changes to the TestMaker > > > > Recorder for TestMaker 5 and the team would appreciate any > > feedback > > > > or experiences you have on using the current Recorder so we can > > make > > > > it better. > > > > > > > > -Frank > > > > > > > > > > > > On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > > > > > > > > > It's OK - I checked with the IT boys and dicovered that > some of > > > the > > > > > external traffic was being blocked by the firewall. Works fine > > > now! > > > > > > > > > > Thanks. > > > > > > > > > > Dave T. > > > > > > > > > > -----Original Message----- > > > > > From: users-bounces@lists.pushtotest.com > > > > > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank > > > Cohen > > > > > Sent: Tuesday, February 06, 2007 6:19 PM > > > > > To: TestMaker users list > > > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > > > > > Hi Dave: Sorry for the delayed response. I'm looking into why > > your > > > > > message wasn't posted immediate to the list. > > > > > > > > > > Is the page you are trying to record available on the public > > > > Internet? > > > > > If so, what is the URL. Is the site using HTTPS? > > > > > > > > > > -Frank > > > > > > > > > > > > > > > > > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > > > > > > > > >> > > > > >> Hi, > > > > >> > > > > >> I'm having a bit of trouble using the Agent Recorder. I've > > > tried a > > > > >> variety of settings in my IE6 browser, but when I try to > run a > > > test > > > > >> agent, I get one of the following: > > > > >> > > > > >> - no web pages displayed and the test reported as > done (!) > > > > >> - browser reports 'Page cannot be displayed' > > > > >> - the following errors in the text output: > > > > >> java.lang.NullPointerException > > > > >> at > > > > >> com.bitmechanic.maxq.SwingMain.reportOutsideException > > > > >> (SwingMain.java:305) > > > > >> at > > > com.bitmechanic.maxq.RequestHandler.run > > > > >> (RequestHandler.java:243) > > > > >> at java.lang.Thread.run(Thread.java: > > 534) > > > > >> > > > > >> I guess it's a security setting here or something, but I'm > > > stumped! > > > > >> > > > > >> Anyone got any ideas for a fix? > > > > >> > > > > >> DaveTalkowski > > > > >> Senior Analyst > > > > >> * dave.talkowski@assureweb.co.uk > > > > >> > > > > >> _______________________________________________ > > > > >> Users mailing list > > > > >> Users@lists.pushtotest.com > > > > >> http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > -- > > > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> > > > www.pushtotest.com/> , phone 408 374 7426 > > > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@lists.pushtotest.com > > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@lists.pushtotest.com > > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > -- > > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> > > > www.pushtotest.com/> , phone 408 374 7426 > > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@lists.pushtotest.com > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@lists.pushtotest.com > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > -- > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> , phone 408 374 > > 7426 > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > _______________________________________________ > > > Users mailing list > > > Users@lists.pushtotest.com > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> , phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > > > > > > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From dlandis at gmail.com Wed Feb 21 11:27:29 2007 From: dlandis at gmail.com (=?ISO-8859-1?Q?=D0av=EEd_L=E5nd=EFs?=) Date: Wed Feb 21 12:39:47 2007 Subject: [ptt-users] [TestMaker 4.4] SOAP Protocol Authentication In-Reply-To: <0C77268B-AE44-4670-9739-60323468A794@pushtotest.com> References: <0C77268B-AE44-4670-9739-60323468A794@pushtotest.com> Message-ID: Hi Frank, Thanks for your help. I have used the setUsername and setPassword methods like so: ================================================= self.protocol = ProtocolHandler.getProtocol("soap") self.body = SOAPBody() self.protocol.setBody(self.body) self.protocol.setUrl(" http://localhost:8081/opv/services/SimpleDataService") self.protocol.setUsername("user") self.protocol.setPassword("pass") =================================================== Using the network monitor as you suggested, I have included the saved content at the bottom of the mail. I need an additional header like the last line I added in bold which is not there in the saved content: DESIRED HEADER: POST /opv/services/SimpleDataService HTTP/1.0 Host: 127.0.0.1 Content-Type: text/xml;charset=utf-8 Content-Length: 350 SOAPAction: "" Accept-Encoding: gzip Authorization: Basic dGVzdGVkaXRvcjpUZXN0MTI= NETWORK MONITOR OUTPUT: ============== Listen Port: 8081 Target Host: 127.0.0.1 Target Port: 8080 ==== Request ==== POST /opv/services/SimpleDataService HTTP/1.0 Host: 127.0.0.1 Content-Type: text/xml;charset=utf-8 Content-Length: 350 SOAPAction: "" Accept-Encoding: gzip ==== Response ==== HTTP/1.1 401 No authentication information provided. Set-Cookie: JSESSIONID=01063607E05B0FB04D3F20E3FFBF67B6; Path=/opv WWW-Authenticate: Basic realm="Contacts Realm" Content-Type: text/html;charset=utf-8 Content-Length: 1071 Date: Wed, 21 Feb 2007 19:19:35 GMT Server: Apache-Coyote/1.1 Connection: close Apache Tomcat/5.0.28 - Error report

HTTP Status 401 - No authentication information provided.


type Status report

message No authentication information provided.

description This request requires HTTP authentication (No authentication information provided.).


Apache Tomcat/5.0.28

============== On 2/20/07, Frank Cohen wrote: > > Hi David: The self.protocol.setUsername and setPassword methods are > the correct way to use SOAP basic authentication. Perhaps there is > something else wrong. Is the SOAP service available over the public > Internet? If so, please send it and I will look into it. Otherwise, > use the Network Monitor and send me a trace of the network > conversation between TestMaker and the service. Thanks. -Frank > > > > > On Feb 8, 2007, at 10:56 AM, ?av?d L?nd?s wrote: > > > Hi, > > > > I am trying to test a SOAP over HTTP service that uses Basic > > authentication. The URL requires a username and password. (If you > > browse to the URL, you are prompted with a simple authentication box.) > > > > I have modified the "SOAP_Message_Example.py" script to work with > > my service when authentication is turned off, but now how do I send > > the username/password? I have tried: > > > > ............ > > self.protocol = ProtocolHandler.getProtocol("soap") > > self.protocol.setBody(self.body) > > self.protocol.setUrl("http://localhost:8080/services/DataService ") > > self.protocol.setUsername("user") > > self.protocol.setPassword("password") > > .......... > > > > but the server does not accept this (HTTP error 401). When coding a > > client in Java I set the user/pass inside the SOAP stub header. So > > I have also tried to mirror that: > > > > ..... > > self.header = SOAPHeader() > > self.header.set("javax.xml.rpc.security.auth.username", "user") > > self.header.set("javax.xml.rpc.security.auth.password", "pass") > > self.protocol.setHeader(self.header) > > ........ > > > > but then there is a client error (server never accessed): > > > > java.lang.NullPointerException > > at com.pushtotest.tool.protocolhandler.SOAPProtocol.soapDocCall > > (SOAPProtocol.java:467) > > at com.pushtotest.tool.protocolhandler.SOAPProtocol.connect > > (SOAPProtocol.java:253) > > at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at org.python.core.PyReflectedFunction.__call__ > > (PyReflectedFunction.java) > > at org.python.core.PyMethod.__call_ _(PyMethod.java) > > at org.python.core.PyObject.__call__(PyObject.java:258) > > at org.python.core.PyInstance.invoke(PyInstance.java) > > at org.python.pycode._pyx137.runTest$4(:71) > > at org.python.pycode._pyx137.call_function () > > at org.python.core.PyTableCode.call(PyTableCode.java) > > at org.python.core.PyTableCode.call(PyTableCode.java) > > at org.python.core.PyFunction.__call__(PyFunction.java) > > at org.python.core.PyInstance.invoke (PyInstance.java) > > at org.python.pycode._pyx137.f$0(:120) > > at org.python.pycode._pyx137.call_function() > > at org.python.core.PyTableCode.call(PyTableCode.java) > > at org.python.core.PyCode.call (PyCode.java) > > at org.python.core.Py.runCode(Py.java) > > at org.python.core.Py.exec(Py.java) > > at org.python.util.PythonInterpreter.exec(PythonInterpreter.java) > > at com.pushtotest.testmaker.gui.AgentRunner.run (Unknown Source) > > > > java.lang.NullPointerException: java.lang.NullPointerException > > > > > > > > > > > > _______________________________________________ > > 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 > > > > _______________________________________________ > 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/20070221/eda8af51/attachment-0001.htm From dbrady at pobox.com Thu Feb 22 00:37:06 2007 From: dbrady at pobox.com (Don Brady) Date: Thu Feb 22 01:49:41 2007 Subject: [ptt-users] Java Server Faces Message-ID: <45DD5632.8040008@pobox.com> We are trying to drive a Java Server Faces web application, but get errors from Jython because the constants representing JSF ViewState are too long. Have you run into this problem? Is there any bypass? Thanks! Don From fcohen at pushtotest.com Thu Feb 22 08:06:42 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Thu Feb 22 09:19:14 2007 Subject: [ptt-users] Java Server Faces In-Reply-To: <45DD5632.8040008@pobox.com> References: <45DD5632.8040008@pobox.com> Message-ID: <44B2136E-705E-4C0E-98A5-F8C7141574AB@pushtotest.com> I personally have not run into a JSF problem. Would you please reply with the error you are getting? Thanks. -Frank On Feb 22, 2007, at 12:37 AM, Don Brady wrote: > We are trying to drive a Java Server Faces web application, but get > errors from Jython because the constants representing JSF ViewState > are too long. > > Have you run into this problem? > > Is there any bypass? > > Thanks! > > Don > > _______________________________________________ > 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 dbrady at pobox.com Thu Feb 22 10:00:36 2007 From: dbrady at pobox.com (Don Brady) Date: Thu Feb 22 11:13:00 2007 Subject: [ptt-users] Java Server Faces In-Reply-To: <44B2136E-705E-4C0E-98A5-F8C7141574AB@pushtotest.com> References: <45DD5632.8040008@pobox.com> <44B2136E-705E-4C0E-98A5-F8C7141574AB@pushtotest.com> Message-ID: <45DDDA44.9000701@pobox.com> Frank, The error was: SyntaxError: ('string constant too large (more than 32767 characters)', ('', 60, 638, '')) This was view state. This was because the capture had captured the huge long hex string and was encoding it as a constant. However, we are now just passing it as a dynamic variable which is better anyway so the problem is gone and you need not worry further about it. Thanks so much for the reply! Don Frank Cohen wrote: > I personally have not run into a JSF problem. Would you please reply > with the error you are getting? Thanks. -Frank > > > > > On Feb 22, 2007, at 12:37 AM, Don Brady wrote: > >> We are trying to drive a Java Server Faces web application, but get >> errors from Jython because the constants representing JSF ViewState >> are too long. >> >> Have you run into this problem? >> >> Is there any bypass? >> >> Thanks! >> >> Don >> >> _______________________________________________ >> 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 > > > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > From aaron.romeo at artez.com Fri Feb 23 15:25:17 2007 From: aaron.romeo at artez.com (Aaron Romeo) Date: Fri Feb 23 16:37:53 2007 Subject: [ptt-users] TestMaker 4.4.1 now available for download Message-ID: <448E1FA789024B42BAE0BAC496FAA29001578A4B@mail10.artez.com> Hey Frank, I never heard anything back about this... Is anyone else having a similar problem or is work with 4.4.1 fine? Thanks, Aaron. -----Original Message----- From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Aaron Romeo Sent: Friday, January 19, 2007 5:41 PM To: TestMaker users list Subject: RE: [ptt-users] TestMaker 4.4.1 now available for download Hey Frank, I only just attempted to use 4.4.1... I noticed a problem in the HTTPBody.java. I believe you are adding the parameters to the body twice. I could be wrong though. /** * Gets all of the keys and values and turns them into the proper kind of * string to be sent as a POST or a GET. * @return The parameter string all made out. */ protected String paramsAsString() { if (params == null) { return ""; } StringBuffer buffer = new StringBuffer(); keyvalue nkv = null; int size = params.size(); for (int i=0; i < size; i++) { nkv = (keyvalue) params.elementAt( i ); String key = nkv.getKey(); String value = nkv.getValue(); // If no key values, then append the value by itself (as in a REST call) if (key.length()==0) { buffer.append(value); } else { buffer.append(key).append("=").append(value); } // HTTP Headers look like: "Name: value\n" buffer.append(key).append("=").append(value); if (i < size - 1) { buffer.append("&"); } } // buffer.append("\n"); return buffer.toString(); } Thanks, Aaron. -----Original Message----- From: users-bounces@lists.pushtotest.com [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen Sent: Monday, January 15, 2007 2:43 PM To: TestMaker users list Subject: [ptt-users] TestMaker 4.4.1 now available for download TestMaker 4.4.1 is now available for download from the PushToTest Web site. http://www.pushtotest.com/Docs/vreleasenotes to view the release notes for the new software. http://downloads.pushtotest.com/TestMaker441.zip (24.5 Mbytes) to download the new software. TestMaker 4.4.1 is a minor bug-fix maintenance release. With this release TestMaker now requires Java 1.5 or greater. TestMaker provides a workaround for servers that do not correctly implement RFC 2116 for HTTP redirect commands. It solves a problem in the start-up script for Windows NT and 2000 users. It solves bugs in the agentbase.py support library for responses with no return parameters, invalid image tags, and now allows optional parameters to set the content-type of a POST. TestMaker 4.4.1 also solves a problem where XSTest runs out of memory on long running load tests. -Frank _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.pushtotest.com http://lists.pushtotest.com/mailman/listinfo/users From fcohen at pushtotest.com Mon Feb 26 18:57:29 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Mon Feb 26 20:10:46 2007 Subject: [ptt-users] Multiple HTTPBody bug in 4.4.1 In-Reply-To: <448E1FA789024B42BAE0BAC496FAA29001578A4B@mail10.artez.com> References: <448E1FA789024B42BAE0BAC496FAA29001578A4B@mail10.artez.com> Message-ID: <8C6F9818-6214-41CF-814D-4F370D9F5D6F@pushtotest.com> Hi Aaron: Thanks for bugging me on this bug. I'll have some time to fix the problem and post an update this week. Thanks for pointing this out. -Frank On Feb 23, 2007, at 3:25 PM, Aaron Romeo wrote: > Hey Frank, > > I never heard anything back about this... > > Is anyone else having a similar problem or is work with 4.4.1 fine? > > Thanks, > Aaron. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Aaron Romeo > Sent: Friday, January 19, 2007 5:41 PM > To: TestMaker users list > Subject: RE: [ptt-users] TestMaker 4.4.1 now available for download > > Hey Frank, > > I only just attempted to use 4.4.1... > > I noticed a problem in the HTTPBody.java. I believe you are adding > the > parameters to the body twice. > > I could be wrong though. > > /** > * Gets all of the keys and values and turns them into the > proper kind > of > * string to be sent as a POST or a GET. > * @return The parameter string all made out. > */ > protected String paramsAsString() { > if (params == null) { > return ""; > } > > StringBuffer buffer = new StringBuffer(); > keyvalue nkv = null; > > int size = params.size(); > for (int i=0; i < size; i++) { > nkv = (keyvalue) params.elementAt( i ); > > String key = nkv.getKey(); > String value = nkv.getValue(); > > // If no key values, then append the value by itself > (as in a > REST call) > if (key.length()==0) > { > buffer.append(value); > } > else > { > buffer.append(key).append("=").append(value); > } > > // HTTP Headers look like: "Name: value\n" > buffer.append(key).append("=").append(value); > if (i < size - 1) { > buffer.append("&"); > } > } > > // buffer.append("\n"); > return buffer.toString(); > } > > Thanks, > Aaron. > > -----Original Message----- > From: users-bounces@lists.pushtotest.com > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank Cohen > Sent: Monday, January 15, 2007 2:43 PM > To: TestMaker users list > Subject: [ptt-users] TestMaker 4.4.1 now available for download > > TestMaker 4.4.1 is now available for download from the PushToTest Web > site. > > http://www.pushtotest.com/Docs/vreleasenotes to view the release > notes for the new software. > > http://downloads.pushtotest.com/TestMaker441.zip (24.5 Mbytes) to > download the new software. > > TestMaker 4.4.1 is a minor bug-fix maintenance release. With this > release TestMaker now requires Java 1.5 or greater. TestMaker > provides a workaround for servers that do not correctly implement RFC > 2116 for HTTP redirect commands. It solves a problem in the start-up > script for Windows NT and 2000 users. It solves bugs in the > agentbase.py support library for responses with no return parameters, > invalid image tags, and now allows optional parameters to set the > content-type of a POST. TestMaker 4.4.1 also solves a problem where > XSTest runs out of memory on long running load tests. > > -Frank > > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users@lists.pushtotest.com > http://lists.pushtotest.com/mailman/listinfo/users > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From fcohen at pushtotest.com Tue Feb 27 10:04:04 2007 From: fcohen at pushtotest.com (Frank Cohen) Date: Tue Feb 27 11:17:34 2007 Subject: [ptt-users] Recorder idea In-Reply-To: <269443236E16F94FBDE31D22174C9A0004BA1323@VS5.EXCHPROD.USA.NET> References: <269443236E16F94FBDE31D22174C9A0004BA1323@VS5.EXCHPROD.USA.NET> Message-ID: Hmmm... I didn't see it either. By the way, I'm having good feelings about using TestGen4Web from SpikeSource as the Web recorder in TM5. It supports HTTP, HTTPS, and AJAX (XML), plus it uses HTTPUnit, something I've been considering adding to TestMaker for a while. The idea is that you would use TestGen4Web as a Firefox plug-in (TM5 would ship with Firefox and the plug-in installed) and then output a TestMaker script that's ready to run. Have you seen TestGen4Web? http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web -Frank On Feb 27, 2007, at 9:50 AM, Friedman, Seth wrote: > Geoff/Frank, > > > > I don?t see the actual files for this Recorder.py included.. did I > miss a url somewhere in the thread? > > > > Thanks, > > seth > > > > From: Geoff Meakin [mailto:geoffm@gamesys.co.uk] > Sent: Wednesday, February 21, 2007 8:40 AM > To: Friedman, Seth; Frank Cohen > Subject: RE: [ptt-users] Setting up the proxy server > > > > Hi Frank, > > I came to the same conclusion myself after writing it that it would > be great to have a firefox plugin to do everything you need to do. > I'm not sure if there's a way of overriding SSL problems with > firefox plugins- for example see the "selenium" project firefox > plugin where they discuss in detail the fact they cant get SSL to > behave properly without hacks and tweaks. > > I dont really know that much about firefox plugins so would be > interested to hear thoughts of somebody who does :-) > > > -----Original Message----- > From: Friedman, Seth [mailto:sfriedman@videoegg.com] > Sent: Wed 21/02/2007 16:31 > To: Frank Cohen; Geoff Meakin > Subject: RE: [ptt-users] Setting up the proxy server > > Really cool, Frank. I'll try both of these when I can get > some spare cycles. I need cross platform capability & maxQ looks > like it might be the more portable of the two, so maybe I'll start > there. > > Thanks again-- > seth > > > ________________________________ > > From: Frank Cohen [mailto:frank@pushtotest.com] > Sent: Tue 2/20/2007 4:00 PM > To: Geoff Meakin > Cc: Friedman, Seth > Subject: Re: [ptt-users] Setting up the proxy server > > > > Hi Geoff and Seth: This is awesome stuff. Thank you for sending it. I > forwarded it to the dev@lists.pushtotest.com list and to Avantica, > the group doing the TestMaker 5 completion coding. > > The only thing that concerns me about the technique is the number of > steps involved. I'm wondering if a better approach would be to write > a plug-in to FireFox that outputs TestMaker scripts and embed FireFox > into TestMaker? What do you think? > > -Frank > > > > On Feb 17, 2007, at 2:02 AM, Geoff Meakin wrote: > > > Hi guys, sorry for the delay its been a busy week at gamesys towers! > > > > Here's the code- no real instructions for it yet, so here you go.. > > > > *Requirements* > > ============== > > In order to run this you will need on Windows: > > > > CYGWIN > > Python for CYGWIN > > Tlslite python library (download off web) > > > > on Unix: > > > > Python > > Tlslite > > > > Installing those is an exercise left to the reader :-) > > > > *Overview* > > ========== > > The recorder works by becoming both a browser and a webserver in > > one, accepting requests (both HTTP and HTTPS), decoding them, > > outputting relevant python code, and forwarding the requests on to > > the real server. > > > > *Setup* > > ======= > > For the webserver part, first of all you need to generate your own > > selfsigned certificates using OPENSSL. This is a (free) 5 minute > > exercise and there are many how-tos on the web how to do it. I > > would include my actual certificates, but they are tied to our > > servers, and thats kind of sensitive so I dont want to release > > them. Just tie your ssl certificates to whichever URL you are > > wanting to record- you're trying to fool browsers into believing > > that the recorder IS the webserver at that URL. Simple enough. > > Note, as long as you have a working certificate it will work with > > any URL providing you dont mind SSL warning popups when browsing. > > There are ways to get rid of these including getting the > > certificate 100% correct, importing the CA into your browser etc., > > but all these can be found on the web and I want to explain the > > other stuff.. > > > > I seem to remember you need to specify -dec or -dec2 on one of the > > flags to openssl to set the encryption type of the final > > certificate. The python tls libs dont recognise all encryption > > types, but i found this one worked... Generate yourself files > > called server.csr, server.crt and server.key and put them in the > > same directory as your unpacked tarfile (attached). > > > > Then you just need to configure where you're pointing this recorder > > to- > > Thats all defined in SharedData.py- you need to specify the 4 > > forward settings at the top of this file/class with the name of the > > server you want to record. > > > > The recorder works by you sending your requests for your URL to it, > > rather than to the URL (so not a true proxy, although could be > > adapted into one). You do this by for example on windows, popping a: > > > > 127.0.0.1 my.testserver.local > > > > into your hosts file (my.testserver.local is obviously the hostname > > of your URL you are recording) > > > > This will override DNS lookups and send it to the recorder instead. > > > > So finally the recorder needs to know where to send the real > > requests and what URL they were bound for- those are those 4 > > forwarding properties I talked about above, so pop the relevant > > info in there. > > > > *Running* > > ========= > > > > To run just type > > python Recorder.py > > > > you should see server started on 443, server started on 80 > > > > If your hosts file is pointing in the right place then when you > > browse your site you should instantly see things come out of STDOUT > > from the recorder representing your requests. > > > > Each request to the webserver has its own requestid (a comment), > > and both the HTTP(s) request and HTTP(s) response is logged IN FULL > > in the log subdirectory of the recorder for informational purposes > > so you can see the innards of whats going on > > > > To stop just type CTRL+C and reset your hosts file to normal. > > > > *3 final notes* > > =============== > > > > I usually have 2 simple icons on my desktop/taskbar etc., one for > > setting my hosts file in record mode, one for setting my hosts file > > in normal mode- just takes the pain out of remembering where your > > hosts file is ;-) > > > > The output the recorder produces is currently for Testmaker as we > > use it- very slightly different to the official Testmaker release > > as we've wrapped some of Testmaker 4's agentbase functions in our > > own functions (so you'll see self.getPage instead of self.get). All > > the output is controlled by Logger.py, so its very simple to adapt > > to the latest version of Testmaker if you want, or even write the > > output in a different language if you want. > > > > The tlslite library by default logs to STDOUT nasty debug messages > > on every request which you dont want to see (kind of like apache > > access logs), as they will be interspersed with your recorder > > output. To get rid of these, edit /usr/lib/python2.4/ > > BaseHTTPServer.py and comment out the line: > > > > # print (self.protocol_version, code, message) > > > > in the send_response function > > > > This should get rid of them. > > > > > > Let me know what you think/ whether its useful/ if the instructions > > dont make sense, I can always do a step-by-step guide if you want, > > or give you our TWiki wiki page on it > > > > Cheers > > -Geoff > > > > > > > > > > > > Excellent Seth. Thank you for the offer. I'd love your evaluation. I > > will forward this to Geoff's email. Thanks! -Frank > > > > > > > > On Feb 12, 2007, at 10:35 AM, Friedman, Seth wrote: > > > > > I didn't see Geoff's email address to ask him directly, but if > he's > > > comfortable sharing it - I'd be happy to give it a spin, e.g. > > > briefly testing it out & giving feedback to you/him. > > > > > > best, > > > Seth > > > From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen > > > Sent: Sat 2/10/2007 10:50 PM > > > To: TestMaker users list > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > Hi Geoff: I'd love to see it. Please send it to me at > > > fcohen@pushtotest.com. Thanks. -Frank > > > > > > > > > > > > On Feb 10, 2007, at 10:38 AM, Geoff Meakin wrote: > > > > > > > Hi Frank, > > > > > > > > If you would be interested, I wrote a HTTP and HTTPS recorder in > > > > python which outputs testmaker code. It just runs commandline > and > > > > is based on tlslite. > > > > > > > > It has limitations, but works perfectly for our scenario. > > > > > > > > Cheers > > > > -Geoff > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: users-bounces@lists.pushtotest.com on behalf of Friedman, > > Seth > > > > Sent: Thu 08/02/2007 18:16 > > > > To: TestMaker users list; TestMaker users list > > > > Subject: RE: [ptt-users] Setting up the proxy server > > > > > > > > One idea I've been intending to explore e.g. figure out if it's > > > > already possible, is a standalone recorder packaging (ie: > sniffer) > > > > that could be passed around independently of TestMaker. I've > > > > been in the position to help a developer fix a bug, and he was > > > > uncomfortable installing the full testmaker suite, but probably > > > > could be convinced to run something smaller. > > > > > > > > It seems like a niche that's not particularly well filled - > > there's > > > > all the powerful network-focused tools (ethereal, network > general, > > > > etc) which are not the most effective for application level > work, > > > > and then there's the lightweight HTTP specific ones (Effetech) > > that > > > > have some, for us, major limitations around post. > > > > > > > > seth > > > > > > > > ________________________________ > > > > > > > > From: users-bounces@lists.pushtotest.com on behalf of Frank > Cohen > > > > Sent: Thu 2/8/2007 8:26 AM > > > > To: TestMaker users list > > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > > > > > > > > > > > Glad to hear it. Thanks. > > > > > > > > By the way, we are making substantial changes to the TestMaker > > > > Recorder for TestMaker 5 and the team would appreciate any > > feedback > > > > or experiences you have on using the current Recorder so we can > > make > > > > it better. > > > > > > > > -Frank > > > > > > > > > > > > On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > > > > > > > > > It's OK - I checked with the IT boys and dicovered that > some of > > > the > > > > > external traffic was being blocked by the firewall. Works fine > > > now! > > > > > > > > > > Thanks. > > > > > > > > > > Dave T. > > > > > > > > > > -----Original Message----- > > > > > From: users-bounces@lists.pushtotest.com > > > > > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank > > > Cohen > > > > > Sent: Tuesday, February 06, 2007 6:19 PM > > > > > To: TestMaker users list > > > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > > > > > Hi Dave: Sorry for the delayed response. I'm looking into why > > your > > > > > message wasn't posted immediate to the list. > > > > > > > > > > Is the page you are trying to record available on the public > > > > Internet? > > > > > If so, what is the URL. Is the site using HTTPS? > > > > > > > > > > -Frank > > > > > > > > > > > > > > > > > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > > > > > > > > >> > > > > >> Hi, > > > > >> > > > > >> I'm having a bit of trouble using the Agent Recorder. I've > > > tried a > > > > >> variety of settings in my IE6 browser, but when I try to > run a > > > test > > > > >> agent, I get one of the following: > > > > >> > > > > >> - no web pages displayed and the test reported as > done (!) > > > > >> - browser reports 'Page cannot be displayed' > > > > >> - the following errors in the text output: > > > > >> java.lang.NullPointerException > > > > >> at > > > > >> com.bitmechanic.maxq.SwingMain.reportOutsideException > > > > >> (SwingMain.java:305) > > > > >> at > > > com.bitmechanic.maxq.RequestHandler.run > > > > >> (RequestHandler.java:243) > > > > >> at java.lang.Thread.run(Thread.java: > > 534) > > > > >> > > > > >> I guess it's a security setting here or something, but I'm > > > stumped! > > > > >> > > > > >> Anyone got any ideas for a fix? > > > > >> > > > > >> DaveTalkowski > > > > >> Senior Analyst > > > > >> * dave.talkowski@assureweb.co.uk > > > > >> > > > > >> _______________________________________________ > > > > >> Users mailing list > > > > >> Users@lists.pushtotest.com > > > > >> http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > -- > > > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> > > > www.pushtotest.com/> , phone 408 374 7426 > > > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@lists.pushtotest.com > > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@lists.pushtotest.com > > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > -- > > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> > > > www.pushtotest.com/> , phone 408 374 7426 > > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@lists.pushtotest.com > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@lists.pushtotest.com > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > -- > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> , phone 408 374 > > 7426 > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > _______________________________________________ > > > Users mailing list > > > Users@lists.pushtotest.com > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > -- > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> , phone 408 374 7426 > TestMaker: The open-source SOA test automation tool > > > > > > > > > -- Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426 TestMaker: The open-source SOA test automation tool From sfriedman at videoegg.com Tue Feb 27 10:35:47 2007 From: sfriedman at videoegg.com (Friedman, Seth) Date: Tue Feb 27 11:50:13 2007 Subject: [ptt-users] RE: Recorder idea In-Reply-To: Message-ID: <269443236E16F94FBDE31D22174C9A0004BA1324@VS5.EXCHPROD.USA.NET> I haven't seen TestGen4Web before now, but the AJAX support would be = awesome. =20 The only question that occurs to me about recording via firefox plugin, = is: what can one do to see whether any browser-specific behavior is = skewing the recorded traffic? On a standalone http proxy or sniffer = I'm fairly confident that I'm just looking at bits going by, but if = there's javascriptisms that make the recorded test script "firefox"ish = at all, I'd want to know that & be able to re-record in the "IE"ish = style. =20 I don't know how different the browsers are in this area, maybe this is = paranoid of me to worry about. If it's just a matter of presenting XML = data a-la http sniffer/proxy, rather than any interpretation/rendering = of it, good to know. Best-- seth -----Original Message----- From: Frank Cohen [mailto:fcohen@pushtotest.com]=20 Sent: Tuesday, February 27, 2007 10:04 AM To: Friedman, Seth; Geoff Meakin Cc: TestMaker users list Subject: Recorder idea Hmmm... I didn't see it either. By the way, I'm having good feelings about using TestGen4Web from =20 SpikeSource as the Web recorder in TM5. It supports HTTP, HTTPS, and =20 AJAX (XML), plus it uses HTTPUnit, something I've been considering =20 adding to TestMaker for a while. The idea is that you would use TestGen4Web as a Firefox plug-in (TM5 =20 would ship with Firefox and the plug-in installed) and then output a =20 TestMaker script that's ready to run. Have you seen TestGen4Web? http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web -Frank On Feb 27, 2007, at 9:50 AM, Friedman, Seth wrote: > Geoff/Frank, > > > > I don=92t see the actual files for this Recorder.py included.. did I =20 > miss a url somewhere in the thread? > > > > Thanks, > > seth > > > > From: Geoff Meakin [mailto:geoffm@gamesys.co.uk] > Sent: Wednesday, February 21, 2007 8:40 AM > To: Friedman, Seth; Frank Cohen > Subject: RE: [ptt-users] Setting up the proxy server > > > > Hi Frank, > > I came to the same conclusion myself after writing it that it would =20 > be great to have a firefox plugin to do everything you need to do. =20 > I'm not sure if there's a way of overriding SSL problems with =20 > firefox plugins- for example see the "selenium" project firefox =20 > plugin where they discuss in detail the fact they cant get SSL to =20 > behave properly without hacks and tweaks. > > I dont really know that much about firefox plugins so would be =20 > interested to hear thoughts of somebody who does :-) > > > -----Original Message----- > From: Friedman, Seth [mailto:sfriedman@videoegg.com] > Sent: Wed 21/02/2007 16:31 > To: Frank Cohen; Geoff Meakin > Subject: RE: [ptt-users] Setting up the proxy server > > Really cool, Frank. I'll try both of these when I can get =20 > some spare cycles. I need cross platform capability & maxQ looks =20 > like it might be the more portable of the two, so maybe I'll start =20 > there. > > Thanks again-- > seth > > > ________________________________ > > From: Frank Cohen [mailto:frank@pushtotest.com] > Sent: Tue 2/20/2007 4:00 PM > To: Geoff Meakin > Cc: Friedman, Seth > Subject: Re: [ptt-users] Setting up the proxy server > > > > Hi Geoff and Seth: This is awesome stuff. Thank you for sending it. I > forwarded it to the dev@lists.pushtotest.com list and to Avantica, > the group doing the TestMaker 5 completion coding. > > The only thing that concerns me about the technique is the number of > steps involved. I'm wondering if a better approach would be to write > a plug-in to FireFox that outputs TestMaker scripts and embed FireFox > into TestMaker? What do you think? > > -Frank > > > > On Feb 17, 2007, at 2:02 AM, Geoff Meakin wrote: > > > Hi guys, sorry for the delay its been a busy week at gamesys towers! > > > > Here's the code- no real instructions for it yet, so here you go.. > > > > *Requirements* > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > In order to run this you will need on Windows: > > > > CYGWIN > > Python for CYGWIN > > Tlslite python library (download off web) > > > > on Unix: > > > > Python > > Tlslite > > > > Installing those is an exercise left to the reader :-) > > > > *Overview* > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > The recorder works by becoming both a browser and a webserver in > > one, accepting requests (both HTTP and HTTPS), decoding them, > > outputting relevant python code, and forwarding the requests on to > > the real server. > > > > *Setup* > > =3D=3D=3D=3D=3D=3D=3D > > For the webserver part, first of all you need to generate your own > > selfsigned certificates using OPENSSL. This is a (free) 5 minute > > exercise and there are many how-tos on the web how to do it. I > > would include my actual certificates, but they are tied to our > > servers, and thats kind of sensitive so I dont want to release > > them. Just tie your ssl certificates to whichever URL you are > > wanting to record- you're trying to fool browsers into believing > > that the recorder IS the webserver at that URL. Simple enough. > > Note, as long as you have a working certificate it will work with > > any URL providing you dont mind SSL warning popups when browsing. > > There are ways to get rid of these including getting the > > certificate 100% correct, importing the CA into your browser etc., > > but all these can be found on the web and I want to explain the > > other stuff.. > > > > I seem to remember you need to specify -dec or -dec2 on one of the > > flags to openssl to set the encryption type of the final > > certificate. The python tls libs dont recognise all encryption > > types, but i found this one worked... Generate yourself files > > called server.csr, server.crt and server.key and put them in the > > same directory as your unpacked tarfile (attached). > > > > Then you just need to configure where you're pointing this recorder > > to- > > Thats all defined in SharedData.py- you need to specify the 4 > > forward settings at the top of this file/class with the name of the > > server you want to record. > > > > The recorder works by you sending your requests for your URL to it, > > rather than to the URL (so not a true proxy, although could be > > adapted into one). You do this by for example on windows, popping a: > > > > 127.0.0.1 my.testserver.local > > > > into your hosts file (my.testserver.local is obviously the hostname > > of your URL you are recording) > > > > This will override DNS lookups and send it to the recorder instead. > > > > So finally the recorder needs to know where to send the real > > requests and what URL they were bound for- those are those 4 > > forwarding properties I talked about above, so pop the relevant > > info in there. > > > > *Running* > > =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > To run just type > > python Recorder.py > > > > you should see server started on 443, server started on 80 > > > > If your hosts file is pointing in the right place then when you > > browse your site you should instantly see things come out of STDOUT > > from the recorder representing your requests. > > > > Each request to the webserver has its own requestid (a comment), > > and both the HTTP(s) request and HTTP(s) response is logged IN FULL > > in the log subdirectory of the recorder for informational purposes > > so you can see the innards of whats going on > > > > To stop just type CTRL+C and reset your hosts file to normal. > > > > *3 final notes* > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > I usually have 2 simple icons on my desktop/taskbar etc., one for > > setting my hosts file in record mode, one for setting my hosts file > > in normal mode- just takes the pain out of remembering where your > > hosts file is ;-) > > > > The output the recorder produces is currently for Testmaker as we > > use it- very slightly different to the official Testmaker release > > as we've wrapped some of Testmaker 4's agentbase functions in our > > own functions (so you'll see self.getPage instead of self.get). All > > the output is controlled by Logger.py, so its very simple to adapt > > to the latest version of Testmaker if you want, or even write the > > output in a different language if you want. > > > > The tlslite library by default logs to STDOUT nasty debug messages > > on every request which you dont want to see (kind of like apache > > access logs), as they will be interspersed with your recorder > > output. To get rid of these, edit /usr/lib/python2.4/ > > BaseHTTPServer.py and comment out the line: > > > > # print (self.protocol_version, code, message) > > > > in the send_response function > > > > This should get rid of them. > > > > > > Let me know what you think/ whether its useful/ if the instructions > > dont make sense, I can always do a step-by-step guide if you want, > > or give you our TWiki wiki page on it > > > > Cheers > > -Geoff > > > > > > > > > > > > Excellent Seth. Thank you for the offer. I'd love your evaluation. I > > will forward this to Geoff's email. Thanks! -Frank > > > > > > > > On Feb 12, 2007, at 10:35 AM, Friedman, Seth wrote: > > > > > I didn't see Geoff's email address to ask him directly, but if =20 > he's > > > comfortable sharing it - I'd be happy to give it a spin, e.g. > > > briefly testing it out & giving feedback to you/him. > > > > > > best, > > > Seth > > > From: users-bounces@lists.pushtotest.com on behalf of Frank Cohen > > > Sent: Sat 2/10/2007 10:50 PM > > > To: TestMaker users list > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > Hi Geoff: I'd love to see it. Please send it to me at > > > fcohen@pushtotest.com. Thanks. -Frank > > > > > > > > > > > > On Feb 10, 2007, at 10:38 AM, Geoff Meakin wrote: > > > > > > > Hi Frank, > > > > > > > > If you would be interested, I wrote a HTTP and HTTPS recorder in > > > > python which outputs testmaker code. It just runs commandline =20 > and > > > > is based on tlslite. > > > > > > > > It has limitations, but works perfectly for our scenario. > > > > > > > > Cheers > > > > -Geoff > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: users-bounces@lists.pushtotest.com on behalf of Friedman, > > Seth > > > > Sent: Thu 08/02/2007 18:16 > > > > To: TestMaker users list; TestMaker users list > > > > Subject: RE: [ptt-users] Setting up the proxy server > > > > > > > > One idea I've been intending to explore e.g. figure out if it's > > > > already possible, is a standalone recorder packaging (ie: =20 > sniffer) > > > > that could be passed around independently of TestMaker. I've > > > > been in the position to help a developer fix a bug, and he was > > > > uncomfortable installing the full testmaker suite, but probably > > > > could be convinced to run something smaller. > > > > > > > > It seems like a niche that's not particularly well filled - > > there's > > > > all the powerful network-focused tools (ethereal, network =20 > general, > > > > etc) which are not the most effective for application level =20 > work, > > > > and then there's the lightweight HTTP specific ones (Effetech) > > that > > > > have some, for us, major limitations around post. > > > > > > > > seth > > > > > > > > ________________________________ > > > > > > > > From: users-bounces@lists.pushtotest.com on behalf of Frank =20 > Cohen > > > > Sent: Thu 2/8/2007 8:26 AM > > > > To: TestMaker users list > > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > > > > > > > > > > > Glad to hear it. Thanks. > > > > > > > > By the way, we are making substantial changes to the TestMaker > > > > Recorder for TestMaker 5 and the team would appreciate any > > feedback > > > > or experiences you have on using the current Recorder so we can > > make > > > > it better. > > > > > > > > -Frank > > > > > > > > > > > > On Feb 8, 2007, at 1:48 AM, Dave Talkowski wrote: > > > > > > > > > It's OK - I checked with the IT boys and dicovered that =20 > some of > > > the > > > > > external traffic was being blocked by the firewall. Works fine > > > now! > > > > > > > > > > Thanks. > > > > > > > > > > Dave T. > > > > > > > > > > -----Original Message----- > > > > > From: users-bounces@lists.pushtotest.com > > > > > [mailto:users-bounces@lists.pushtotest.com] On Behalf Of Frank > > > Cohen > > > > > Sent: Tuesday, February 06, 2007 6:19 PM > > > > > To: TestMaker users list > > > > > Subject: Re: [ptt-users] Setting up the proxy server > > > > > > > > > > Hi Dave: Sorry for the delayed response. I'm looking into why > > your > > > > > message wasn't posted immediate to the list. > > > > > > > > > > Is the page you are trying to record available on the public > > > > Internet? > > > > > If so, what is the URL. Is the site using HTTPS? > > > > > > > > > > -Frank > > > > > > > > > > > > > > > > > > > > On Jan 24, 2007, at 2:17 AM, Dave Talkowski wrote: > > > > > > > > > >> > > > > >> Hi, > > > > >> > > > > >> I'm having a bit of trouble using the Agent Recorder. I've > > > tried a > > > > >> variety of settings in my IE6 browser, but when I try to =20 > run a > > > test > > > > >> agent, I get one of the following: > > > > >> > > > > >> - no web pages displayed and the test reported as =20 > done (!) > > > > >> - browser reports 'Page cannot be displayed' > > > > >> - the following errors in the text output: > > > > >> java.lang.NullPointerException > > > > >> at > > > > >> com.bitmechanic.maxq.SwingMain.reportOutsideException > > > > >> (SwingMain.java:305) > > > > >> at > > > com.bitmechanic.maxq.RequestHandler.run > > > > >> (RequestHandler.java:243) > > > > >> at java.lang.Thread.run(Thread.java: > > 534) > > > > >> > > > > >> I guess it's a security setting here or something, but I'm > > > stumped! > > > > >> > > > > >> Anyone got any ideas for a fix? > > > > >> > > > > >> DaveTalkowski > > > > >> Senior Analyst > > > > >> * dave.talkowski@assureweb.co.uk > > > > >> > > > > >> _______________________________________________ > > > > >> Users mailing list > > > > >> Users@lists.pushtotest.com > > > > >> http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > -- > > > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> > > > www.pushtotest.com/> , phone 408 374 7426 > > > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@lists.pushtotest.com > > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > _______________________________________________ > > > > > Users mailing list > > > > > Users@lists.pushtotest.com > > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > -- > > > > Frank Cohen, PushToTest, http://www.PushToTest.com www.pushtotest.com/> > > > www.pushtotest.com/> , phone 408 374 7426 > > > > TestMaker: The open-source SOA test automation tool > > > > > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@lists.pushtotest.com > > > > http://lists.pushtotest.com/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Users mailing list > > > > Users@lists.pushtotest.com > > > > http://lists.pushtotest.c