Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 49013 invoked from network); 17 Dec 2009 15:46:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 15:46:55 -0000 Received: (qmail 78726 invoked by uid 500); 17 Dec 2009 15:46:55 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 78661 invoked by uid 500); 17 Dec 2009 15:46:54 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 78651 invoked by uid 99); 17 Dec 2009 15:46:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 15:46:54 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 212.227.17.8 is neither permitted nor denied by domain of SRS0=QzqP=ID=compuserve.com=pointonra@srs.kundenserver.de) Received: from [212.227.17.8] (HELO moutng.kundenserver.de) (212.227.17.8) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 15:46:50 +0000 Received: from rap3 (mail.granadalearning.com [62.3.211.86]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MT5uQ-1NUcDK3dvK-00RV2v; Thu, 17 Dec 2009 16:46:29 +0100 Message-ID: <027901ca7f30$5903a7d0$4b00940a@rap3> Reply-To: "Richard A Pointon" From: "Richard A Pointon" To: "JMeter Users List" References: <01ad01ca7f1f$14e18c40$4b00940a@rap3> <015301ca7f24$ecdc2100$c6946300$@ru> <021701ca7f28$143dbc10$4b00940a@rap3> <016101ca7f2e$69f68ff0$3de3afd0$@ru> <025901ca7f2f$3e28c450$4b00940a@rap3> <016301ca7f2f$53666390$fa332ab0$@ru> Subject: Re: Problem doing login Date: Thu, 17 Dec 2009 15:48:14 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 X-Provags-ID: V01U2FsdGVkX1/Ebll36BoylB382+XNdAxo2oFDW2gYvcHpsEr dDtFW9Ffu/bws1Pf7YKvpSkwZJ4/hs2yyOtW2ut94ohjvpLM1i muv5GG17oK0ERwUeHytdg== Trouble is if you go to that URL it takes you straight back to the login page... RAP. ----- Original Message ----- From: "Andrey Pohilko" To: "'JMeter Users List'" Sent: Thursday, December 17, 2009 3:40 PM Subject: RE: Problem doing login Actually, there is a link...
Javascript appears to be disabled in your browser. You can view a version of our website without javascript.
� ���������, ������ �������� -----Original Message----- From: Richard A Pointon [mailto:pointonra@compuserve.com] Sent: Thursday, December 17, 2009 6:40 PM To: JMeter Users List Subject: Re: Problem doing login Yep I see that but it does not give the URL ? RAP. ----- Original Message ----- From: "Andrey Pohilko" To: "'JMeter Users List'" Sent: Thursday, December 17, 2009 3:34 PM Subject: RE: Problem doing login Richard, When you look at "View results in tree" and switch to "Show HTML", you'd see at the top of the page that link. � ���������, ������ �������� -----Original Message----- From: Richard A Pointon [mailto:pointonra@compuserve.com] Sent: Thursday, December 17, 2009 5:49 PM To: JMeter Users List Subject: Re: Problem doing login Hi, re "I noticed that there is version of this site without javascript," - I cant seem to locate this do you have the URL ? RAP. ----- Original Message ----- From: "Andrey Pohilko" To: "'JMeter Users List'" ; "'Richard A Pointon'" Sent: Thursday, December 17, 2009 2:26 PM Subject: RE: Problem doing login Hey, Richard, I see, you've already sent us file with password in it. Don't forget to change it later! Ok, I made some investigations about that website, it uses HTTPS when logging in. The form's behavior is changed by JavaScript, so form sends data with TLS, not HTTP. Then webpage is redirected to HTTP again. That's good and secure to use, but difficult to test. By the way, Wireshark sniffer very handy to investigate such problems with JMeter and network traffic it produces. It helped me here. I noticed that there is version of this site without javascript, maybe it will be easier to test, if your goal allows this workaround. Or you can find what TLS request is sent and simulate it in JMeter. Good luck! � ���������, ������ �������� From: Richard A Pointon [mailto:pointonra@compuserve.com] Sent: Thursday, December 17, 2009 4:45 PM To: JMeter Users List Subject: Re: Problem doing login Have added assertion and indeed it fails as it has not got past the login form. Can anyone see what I am doing wrong here as I am at a loss ? Latest test and form attached. RAP. ----- Original Message ----- From: Andrey Pohilko To: 'Richard A Pointon' Sent: Thursday, December 17, 2009 1:19 PM Subject: RE: Problem doing login Richard, I suggest you to keep communication via mailing list, for community to have our case in archives. I will not help you with direct mails. The next step I suggest you is to add simple assertion to your login sampler, where you'll check if login succeeds, eg you may check for result to contain string "Hello, you logged on", or something webserver reports in case of successful logins. � ���������, ������ �������� From: Richard A Pointon [mailto:pointonra@compuserve.com] Sent: Thursday, December 17, 2009 4:09 PM To: Andrey Pohilko Subject: Re: Problem doing login Hi Andrey, Thanks for this - the detail is that after doing the login I want to progress to the "display Orders" screen and all I get back is the "Please login screen" again - so for whatever reason it looks like it has not logged in to the site ? Maybe not posting the username/password ? Heres the code from the web page: =========================

Please Log In

(Usually your e-mail address)
========================= I've added the hidden fields & veiw results in tree as susggested. Here's the updated test, let me know ? RAP. ----- Original Message ----- From: Andrey Pohilko To: 'JMeter Users List' ; 'Richard A Pointon' Sent: Thursday, December 17, 2009 10:37 AM Subject: RE: Problem doing login Hello, Richard! There is hidden fields in HTML form - don't forget to pass them in request if necessary. I tried your test file, it forks fine for me, I see saved responses in c:\temp. You haven't defined any assertions in your test, so it always succeeds. Also "View Results in Tree" listener helps debugging tests very much. Maybe I got you wrong, but I don't see any troubles with your test. Can you describe problem more detailed? Good luck, Andrey From: Richard A Pointon [mailto:pointonra@compuserve.com] Sent: Thursday, December 17, 2009 1:11 PM To: JMeter Users List Subject: Problem doing login pls see attached. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org