Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 43913 invoked from network); 8 Aug 2007 08:11:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 08:11:40 -0000 Received: (qmail 49672 invoked by uid 500); 8 Aug 2007 08:11:36 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 49656 invoked by uid 500); 8 Aug 2007 08:11:36 -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 49636 invoked by uid 99); 8 Aug 2007 08:11:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 01:11:36 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.167.36.150] (HELO asav4.lyse.net) (81.167.36.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 08:11:29 +0000 Received: from asav4.lyse.net (asav4 [127.0.0.1]) by localhost (Postfix) with ESMTP id 344413500AF for ; Wed, 8 Aug 2007 10:11:06 +0200 (CEST) Received: from [192.168.1.100] (4.84-234-173.customer.lyse.net [84.234.173.4])by asav4.lyse.net (Postfix) with ESMTP id 717413500DDfor ; Wed, 8 Aug 2007 10:11:04 +0200 (CEST) Message-ID: <46B97A97.5040707@i100.no> Date: Wed, 08 Aug 2007 10:11:03 +0200 From: =?UTF-8?B?QWxmIEjDuGdlbWFyaw==?= User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: JMeter Users List Subject: Re: JMeter & Acegi Security Framework References: <12026253.post@talk.nabble.com> <46B84A7F.4060902@i100.no> <12044924.post@talk.nabble.com> In-Reply-To: <12044924.post@talk.nabble.com> Content-Type: multipart/alternative; boundary=------------000105020108050209030204 X-imss-version: 2.047 X-imss-result: Passed X-imss-scanInfo: M:P L:N SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.6.1039(15348.003) X-imss-scores: Clean:96.18349 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.1500 0.1500) X-Virus-Checked: Checked by ClamAV on apache.org --------------000105020108050209030204 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I think Acegi can be configured to use either cookie based sessions or url rewriting, or both. I think my app used cookie based sessions. I think you should add the "View results tree" listener to your test plan. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree I always use that listener when I want to figure out why my test is not behaving as expected, since it allows me to see all the details of the request sent and the response received. Regards Alf Hogemark Thts me wrote: > hi, > > I retried it and it worked for logging into the SignIn page. > As you have pointed out, it does not keep the user logged in. > > I have used the cookie manager. > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Cookie_Manager > Profile = default. > Do I need to set some different parameters? > Does Acegi used cookies or URL rewriting? URL rewriting manager doesnt work > for me too. > > Another major problem is: How do I debug JMeter? To find out whats blocking > JMeter from load testing the application correctly? > eg: In the Aggregate report I can see 100% Errors. I would like to explore > the cause of the error, etc. > Some reference link would help here. > > Thanks in advance. > > > > quote author="Alf Høgemark"> > I have successfully used JMeter to test web app based on Spring and > Acegi security. > JMeter does not care what third party library is used for security. > > You just need to make sure that the correct user name and password is > used for logging in, and that you use the cookie manager to keep the > "user" logged in. > I suggest you read more in the user manual, and if you still have > problems, please give more details on the nature of your problems, and > then maybe we can help. > > Regards > Alf Hogemark > > Thts me wrote: > >> hi, >> >> I'm trying to load test my application with JMeter. >> My application has: Spring framework with Acegi security & Tomcat v5.5 >> My aggregate report shows 100% errors. >> I guess the problem is JMeter cannot understand Acegi encoding. I am using >> Acegi JDBC Authenticaton. >> How do you load test Acegi applications with JMeter or rather how do you >> load test applications that have security enabled by third party >> libraries? >> >> Thanks in advance, >> Thts me. >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > --------------000105020108050209030204--