Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 48981 invoked from network); 3 Sep 2004 18:30:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Sep 2004 18:30:31 -0000 Received: (qmail 5595 invoked by uid 500); 3 Sep 2004 18:30:28 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 5454 invoked by uid 500); 3 Sep 2004 18:30:27 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 5441 invoked by uid 99); 3 Sep 2004 18:30:27 -0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [204.127.198.35] (HELO rwcrmhc11.comcast.net) (204.127.198.35) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Sep 2004 11:30:26 -0700 Received: from akumac (pcp748216pcs.manass01.va.comcast.net[68.49.120.7]) by comcast.net (rwcrmhc11) with SMTP id <2004090318302401300hgpile>; Fri, 3 Sep 2004 18:30:24 +0000 Message-ID: <016d01c491e3$cabd3de0$6601a8c0@akumac> From: "joelsherriff" To: "JMeter Users List" References: <1689.152.14.9.137.1094228153.squirrel@152.14.9.137> Subject: Re: Redirection not working with login Date: Fri, 3 Sep 2004 14:28:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Not sure what version you have or what version this was introduced in, but you may want to try setting "Redirect Automatically" - in addition to Follow Redirects. I saw this same behavior and setting Redirect Automatically fixed it. J ----- Original Message ----- From: To: Sent: Friday, September 03, 2004 12:15 PM Subject: Redirection not working with login > Hello, > > I have used the proxy server to record a simple test script. once the test > scripts are recorded I want to run it. I am having some problem with the > redirection getting to work with the login while running the recorded test > scripts. The test case is as follows. > > There is a Login.asp page. The parameters to be sent with the request are > the username and password. This is a POST request and for this request I > have set the Follow Redirects and Use KeepAlive option in the JMeter. > > > Once the Login.asp page is submitted it returns an HTTP response code of > 302. The URL requested after submitting the Login.asp page is HomePage.asp > but the redirected URL is MainMenu.asp. > > When I run the test script after recording it, the MainMenu.asp returns > the response data as an HTML page saying that "you are not logged in, > Please log in". This HTML page is returned if I directly invoke the > MainMenu.asp page without gowing through the Login.asp page. I have set > the Follow Redirects and Use KeepAlive option in the JMeter for all the > three pages Login.asp, HomePage.asp and Mainmenu.asp. I have also set the > correct "send parameters with the request" in both the HomePage.asp and > MainMenu.asp page supplying the username and password. > > Any help is appreciated, > > Thanks, > Ashish > > > --------------------------------------------------------------------- > 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