Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 20004 invoked from network); 31 Aug 2006 11:43:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 11:43:15 -0000 Received: (qmail 98113 invoked by uid 500); 31 Aug 2006 11:43:13 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 98095 invoked by uid 500); 31 Aug 2006 11:43:13 -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 98078 invoked by uid 99); 31 Aug 2006 11:43:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 04:43:13 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=HTML_MESSAGE,PLING_PLING,PLING_QUERY,RCVD_IN_NJABL_SPAM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Janeve.George@lionbridge.com designates 65.55.251.16 as permitted sender) Received: from [65.55.251.16] (HELO outbound1-blu-R.bigfish.com) (65.55.251.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 04:43:11 -0700 Received: from outbound1-blu.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound1-blu-R.bigfish.com (Postfix) with ESMTP id 2D862E69BC2 for ; Thu, 31 Aug 2006 11:42:50 +0000 (UTC) Received: from mail12-blu-R.bigfish.com (unknown [10.1.252.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by outbound1-blu.bigfish.com (Postfix) with ESMTP id 19164100F4 for ; Thu, 31 Aug 2006 11:42:50 +0000 (UTC) Received: from mail12-blu (localhost.localdomain [127.0.0.1]) by mail12-blu-R.bigfish.com (Postfix) with ESMTP id B0586418566 for ; Thu, 31 Aug 2006 11:42:49 +0000 (UTC) X-BigFish: V Received: by mail12-blu (MessageSwitch) id 1157024568715306_1723; Thu, 31 Aug 2006 11:42:48 +0000 (UCT) Received: from smtpowl2.lionbridge.com (unknown [65.221.108.38]) by mail12-blu.bigfish.com (Postfix) with ESMTP id 819581648081 for ; Thu, 31 Aug 2006 11:42:48 +0000 (UTC) Received: from BIL-EXC1.corpnet.liox.org ([10.5.1.40]) by smtpowl2.lionbridge.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 31 Aug 2006 07:42:47 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6CCF2.8BAD144D" Subject: HELP!!! How to replicate a real-time load testing? Date: Thu, 31 Aug 2006 07:42:32 -0400 Message-ID: <11E069FC7E350844A7DDD44CE31EAF5AF8BF53@BIL-EXC1.corpnet.liox.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HELP!!! How to replicate a real-time load testing? Thread-Index: AcbM8orHxS21We9qRLewB6LOJR10qw== From: "George, Janeve" To: X-OriginalArrivalTime: 31 Aug 2006 11:42:47.0155 (UTC) FILETIME=[9475FC30:01C6CCF2] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6CCF2.8BAD144D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I am performing some load testing for a web-based application in Tomcat server. I need the load testing to happen as if it would have been in real-time scenario. I am using the "Access Log Sampler" for the purpose. The parser is OrderPreservingLogParser. Currently I have to set the Number of Threads to the number of entries in the log file [Access Log file with common logging pattern]. The requirement for the load test is that, if in real-time the web application performs a set of access within a span of time, say 24 hrs. then the load testing must happen as if it was in real-time.=20 For example: An user access a page: http://mydomain:8080/app/sample.jsp at a time 15:48:04 which gives an entry in the access log as 127.0.0.1 - - [31/Aug/2006:15:48:04 +0530] "GET app/sample.jsp HTTP/1.1" 200 174 Now after a couple of time another page is requested say: http://mydomain:8080/app/sam.jsp at a time 15:52:40 which gives an entry in the access log as 127.0.0.1 - - [31/Aug/2006:15:52:40 +0530] "GET app/sam.jsp HTTP/1.1" 200 174 Now when I do my load testing, the time span should be as if it happened in real-time.=20 127.0.0.1 - - [5/Dec/2006:1:48:04 +0530] "GET app/sample.jsp HTTP/1.1" 200 174 127.0.0.1 - - [5/Dec/2006:1:52:40 +0530] "GET app/sam.jsp HTTP/1.1" 200 174 Currently I find that either we have to set a Ramp up period or a random timer. How can I create a test plan that can replicate the real-time requests? Is it possible to create a test plan that replicates the whole requests found in the log file without explicitly setting the number of threads for the thread group? Thanks in advance - Janeve George ------_=_NextPart_001_01C6CCF2.8BAD144D--