From jmeter-user-return-29554-apmail-jakarta-jmeter-user-archive=jakarta.apache.org@jakarta.apache.org Fri Mar 19 05:36:40 2010 Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 24645 invoked from network); 19 Mar 2010 05:36:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Mar 2010 05:36:40 -0000 Received: (qmail 54925 invoked by uid 500); 19 Mar 2010 05:36:40 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 54824 invoked by uid 500); 19 Mar 2010 05:36:39 -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 54816 invoked by uid 99); 19 Mar 2010 05:36:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 05:36:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Mar 2010 05:36:28 +0000 Received: by pwi10 with SMTP id 10so876323pwi.31 for ; Thu, 18 Mar 2010 22:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=96RzE5oKM5180MBHUg4GuDwPE84sXTlgTEP9qPuW/EI=; b=E0Nz8YAP9JTvHZadof6vd60fFy7njubk6DbofZsiZJwsxVNHRlWZAODIXnAXUIhqjs gXjNqn60S2nn4Sfpvu10HU1x3mGeerSajhvZkZLFPZaVAQVnB/ECKX59E3ozHTEf3PU7 tTKbfVnTzKnKvG60D6yN2DuAESJTbpmRhUNas= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qE+/totQrZXqNzrPm0NlkqjisUTtArFBvgXlpIzf8tYIiJW80NtaLGZwsm7AQORrOi WrOnHopm37+HNoUT67xAYX3E9t+Qlq9IjFns1VkVG2L36AAgGBhJI3+HqVImMiRkWCsi izTaESREyJ5ujelcGWmHUdjkk/TiLb1+3+WO4= MIME-Version: 1.0 Received: by 10.141.100.11 with SMTP id c11mr3476815rvm.196.1268976966822; Thu, 18 Mar 2010 22:36:06 -0700 (PDT) In-Reply-To: <27950899.post@talk.nabble.com> References: <27941766.post@talk.nabble.com> <4483c26c1003181028t76b3266fk8da7b65c41d75dcb@mail.gmail.com> <27950899.post@talk.nabble.com> Date: Thu, 18 Mar 2010 22:36:06 -0700 Message-ID: <4483c26c1003182236s2631f2fbq9ec132b3a0228e09@mail.gmail.com> Subject: Re: Getting Session Expired Message for the load test of a HTTPS web application using JMeter From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=000e0cd13a7e55ecc7048220b9cb X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd13a7e55ecc7048220b9cb Content-Type: text/plain; charset=ISO-8859-1 Hi First using a browser trace tool like liveHttpHeaders for FF figure out if your app is using cookies or not for managing sessionids . If yes , remove the URL rewriting modifier that you have. Next inspect the response that you get from the login request in View Results Tree Listener (see the text or render as html). If your application gives you good error messages you might be able to see the failure , if not compare the data from the request tab with the data that you can see for the login request in LiveHttpHeaders and see where the mismatch is regards deepak On Thu, Mar 18, 2010 at 10:32 PM, Rajesh Tiwary wrote: > > Hi deepak, > > Thanks for replying.. > > i have checked the check box called follow redirect. > no i am not getting the confirmation page..probably theres a problem with > sending correct session id.. > can you tell me whats the procedure to apply correlation properly? > > Thanks > rajesh > > > Deepak Shetty wrote: > > > > Hi > > been discussed multiple times in these forums in various forms, typically > > you have Reedirect Automatically instead of follow redirects or your > login > > didnt succeed or you didnt send back the correct session id . Your test > > also > > has a URL Rewriting Modifier and a cookie manager , you normally need > only > > 1 > > of the two. > > > > After login you have a view results tree listener and you have the > > following > > statement "so i should get the confirmation page here..as i think." > > Do you get it or not? If you dont then your login hasnt worked , if you > > did > > then the problem is the session id is not being passed as the application > > expects. > > > > Ways to diagnose this problem are described here > > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour > > > > On Wed, Mar 17, 2010 at 10:14 PM, Rajesh Tiwary > wrote: > > > >> > >> Hi, > >> > >> i am testing a HTTPS web application using JMeter.,where i am facing an > >> issue of getting a session expired message. > >> > >> i am using JMeter 2.3.4 r800132. > >> > >> My aim is to record following sequence for the HTTPS application: > >> > >> Index page------>Login Page------->confirmation page,button click to get > >> a > >> form---->add detail in the form---->and search detail by entering data > in > >> the text field of the page after successful addition of the detail in > the > >> form. > >> > >> now i am able to record the page sequence. > >> > >> and this is my test plan.. > >> > >> --THREAD GROUP > >> ---HTTP COOKIE MANAGER > >> ---HTTP URL RE-WRITING MODIFIER > >> ---SIMPLE CONTROLLER(For index page) > >> ...(various HTTP request recorded) > >> ---TREE LISTENER (Response data showing page loaded successfully) > >> > >> ---SIMPLE CONTROLLER(For login page) > >> ...(various HTTP request recorded) > >> ---TREE LISTENER (Response data showing login page loaded > >> successfully,but in the above http request i have sent the userid and > >> password ..so i should get the confirmation page here..as i think..) > >> > >> > >> ---SIMPLE CONTROLLER(For confirmation page,button click to get form) > >> ...(various HTTP request recorded,which include button click) > >> ---TREE LISTENER (Response data showing YOUR SESSION EXPIRED,Kindly > >> Re-login..) > >> > >> and same result for further steps... > >> > >> Can anyone suggest me solution for this problem?? > >> > >> regards, > >> > >> rajesh > >> -- > >> View this message in context: > >> > http://old.nabble.com/Getting-Session-Expired-Message-for-the-load-test-of-a-HTTPS-web-application-using-JMeter-tp27941766p27941766.html > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Getting-Session-Expired-Message-for-the-load-test-of-a-HTTPS-web-application-using-JMeter-tp27941766p27950899.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --000e0cd13a7e55ecc7048220b9cb--