Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 11200 invoked from network); 19 Jan 2008 04:39:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2008 04:39:18 -0000 Received: (qmail 58085 invoked by uid 500); 19 Jan 2008 04:39:02 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 58052 invoked by uid 500); 19 Jan 2008 04:39:02 -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 58041 invoked by uid 99); 19 Jan 2008 04:39:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2008 20:39:02 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=FS_REPLICA,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 72.14.202.177 as permitted sender) Received: from [72.14.202.177] (HELO ro-out-1112.google.com) (72.14.202.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jan 2008 04:38:35 +0000 Received: by ro-out-1112.google.com with SMTP id m6so454863roe.3 for ; Fri, 18 Jan 2008 20:38:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=XJEjgoAbntZ4MX7MNE/xveZqSmNca+5LCjsAWm2LTXo=; b=oJ8JJhBhu8aFMQurTF5bZsuncZhoawjl5mBdd3iq32SuN7l//Msn48E+slQL0SE7lMsHvTBxuUyqMF1WnualksfvvToe9/WxuD+DqS3SfpGUxbLpSRqOpL8oVvMRVewchvhrMqcpZXBG4LsWs1/+GVsfVz00tQtcL2RbFoDXGwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HO4mHxkw8qwPrICkP2/SLhjyFHB6kp4iLMDqZOyUbdXMDfDzVp2o48VxEXFXgLFQnpDGmnmbrphMm8M6zW2z/ze6x1GRnVA1e9ad/awn7LjOmKOt69FApDMHnLKUz2gkfR/TF2k+gYKnerc3b11hiVZIyZvXQ9sYHqJONGHW0jI= Received: by 10.142.201.3 with SMTP id y3mr2555795wff.1.1200717520414; Fri, 18 Jan 2008 20:38:40 -0800 (PST) Received: by 10.142.163.17 with HTTP; Fri, 18 Jan 2008 20:38:40 -0800 (PST) Message-ID: <25aac9fc0801182038g2d154c31y256de7e7243347f4@mail.gmail.com> Date: Sat, 19 Jan 2008 04:38:40 +0000 From: sebb To: "JMeter Users List" Subject: Re: How to replicate a load testing with user session? In-Reply-To: <14957805.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14950997.post@talk.nabble.com> <25aac9fc0801180749m61ddcfdfhe79f25acf5e1e063@mail.gmail.com> <14957805.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 18/01/2008, Edward_Herrera wrote: > > 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? I'm not familiar with that sampler, but as far as I know, it cannot at present. There does not seem to be any code to handle such session ids. > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org