Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 23581 invoked from network); 18 Jan 2008 20:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2008 20:39:36 -0000 Received: (qmail 47047 invoked by uid 500); 18 Jan 2008 20:39:24 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 46950 invoked by uid 500); 18 Jan 2008 20:39:23 -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 46938 invoked by uid 99); 18 Jan 2008 20:39:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2008 12:39:23 -0800 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=DNS_FROM_OPENWHOIS,FS_REPLICA,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2008 20:39:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JFxzS-00044H-My for jmeter-user@jakarta.apache.org; Fri, 18 Jan 2008 12:39:02 -0800 Message-ID: <14957805.post@talk.nabble.com> Date: Fri, 18 Jan 2008 12:39:02 -0800 (PST) From: Edward_Herrera To: jmeter-user@jakarta.apache.org Subject: Re: How to replicate a load testing with user session? In-Reply-To: <25aac9fc0801180749m61ddcfdfhe79f25acf5e1e063@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: edwardjr.herrera@gmail.com References: <14950997.post@talk.nabble.com> <25aac9fc0801180749m61ddcfdfhe79f25acf5e1e063@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, The tool is nice and replay the log file when I work with only one session and is excellent. The problem arise when I want to replay a log file from a real world scenario. I understand that the session Ids are private for the server but I want to replicate a real world scenario so, How could I do it with the tool using the log file of the server? Effectively the three first lines are the logins and are followed by the sessions ids. and exists interleaved sessions just like in a real world scenario. If I handle each session in separate threads then I should identify from the log file each session and put it on a thread, right?. But if I want to replay one log file with thousand of lines this is not possible. The tool can not do it for me automatically? Thanks in advance. sebb-2-2 wrote: > > On 18/01/2008, Edward_Herrera wrote: >> >> I am performing a load testing for a web-based application. I am using >> the >> Access Log Sampler using the log file with common logging pattern and >> with >> the parser OrderPreservingLogParser. I added a HTTP Cookie Manager but >> the >> user sessions are missing. > > What do you mean - they are missing? > >> How can I replicate the user sessions as appears in the log file? > > The session ids are normally private to the server. > >> These are some lines of my log file. do I making something wrong?. Thanks >> I >> appreciate your help. > >> 127.0.0.1 - - [16/Jan/2008:23:34:05 -0800] "GET >> /MINSite/UserLogin?name=36&pass=36&to=&btnsignin2=enviar HTTP/1.1" >> C46054019E4BDBF7DB9878A539E42087 >> 127.0.0.1 - - [16/Jan/2008:23:34:07 -0800] "GET >> /MINSite/UserLogin?name=30&pass=30&to=&btnsignin2=enviar HTTP/1.1" >> E9492813766343D8FD71565609AD53B7 >> 127.0.0.1 - - [16/Jan/2008:23:34:07 -0800] "GET >> /MINSite/UserLogin?name=44&pass=44&to=&btnsignin2=enviar HTTP/1.1" >> FF052120D0D0CC1748EFBB6C4D4A56CF > > I assume the above 3 lines are logins? > > And the hex number is a session id? > >> 127.0.0.1 - - [16/Jan/2008:23:34:08 -0800] "GET /MINSite/BuscarInvoices >> HTTP/1.1" FF052120D0D0CC1748EFBB6C4D4A56CF >> 127.0.0.1 - - [16/Jan/2008:23:34:08 -0800] "GET /MINSite/BuscarInvoices >> HTTP/1.1" E9492813766343D8FD71565609AD53B7 >> 127.0.0.1 - - [16/Jan/2008:23:34:07 -0800] "GET /MINSite/BuscarInvoices >> HTTP/1.1" C46054019E4BDBF7DB9878A539E42087 >> 127.0.0.1 - - [16/Jan/2008:23:34:08 -0800] "GET /MINSite/BuscarInvoices >> HTTP/1.1" FF052120D0D0CC1748EFBB6C4D4A56CF >> 127.0.0.1 - - [16/Jan/2008:23:34:08 -0800] "GET /MINSite/BuscarInvoices >> HTTP/1.1" E9492813766343D8FD71565609AD53B7 >> 127.0.0.1 - - [16/Jan/2008:23:34:08 -0800] "GET /MINSite/invoices.jsp >> HTTP/1.1" C46054019E4BDBF7DB9878A539E42087 > > It looks like there are three interleaved sessions here; these need to > be handled in separate threads. > > Try extracting just the lines for a single session, and see how that > works. > >> -- >> View this message in context: >> http://www.nabble.com/How-to-replicate-a-load-testing-with-user-session--tp14950997p14950997.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 >> >> > > --------------------------------------------------------------------- > 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://www.nabble.com/How-to-replicate-a-load-testing-with-user-session--tp14950997p14957805.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