Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 18984 invoked from network); 7 Sep 2004 01:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Sep 2004 01:58:49 -0000 Received: (qmail 51489 invoked by uid 500); 7 Sep 2004 01:58:47 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 51465 invoked by uid 500); 7 Sep 2004 01:58:46 -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 51452 invoked by uid 99); 7 Sep 2004 01:58:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [24.24.2.56] (HELO ms-smtp-02.nyroc.rr.com) (24.24.2.56) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Sep 2004 18:58:45 -0700 Received: from 192.168.1.100 (roc-69-201-79-10.rochester.rr.com [69.201.79.10]) by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id i871wfMv024041 for ; Mon, 6 Sep 2004 21:58:41 -0400 (EDT) Subject: RE: Problem From: Michael Stover Reply-To: mstover1@apache.org To: JMeter Users List In-Reply-To: <58D3ACCC163E3146BE9723105F025466018F5FFD@ausyms21.ca.com> References: <58D3ACCC163E3146BE9723105F025466018F5FFD@ausyms21.ca.com> Content-Type: text/plain Organization: Apache Software Foundation Message-Id: <1094523204.1719.9.camel@DaVinci> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5-4mdk Date: Mon, 06 Sep 2004 22:13:24 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N JMeter always waits for a response before moving on to the next sample - on a thread by thread basis. So, I'm assuming there is an asynch process on your server side. In which case, there's no data that's going to arrive to JMeter. If there's a page you can poll that tells you whether the server is ready for you to go to step #4, then you could make While-Do controller for JMeter (someone else may have already done this). Otherwise, you'd have to write it yourself. JMeter would then continue the While loop until a condition is met, which would be based on a regex extraction from the page data. -Mike On Mon, 2004-09-06 at 19:08, Tseitlin, Gary wrote: > Hello Michael, > Yes you are right and I did try to attach timer to step 2. But here is > problem, the more we load system in our test, the more delay we have. > That's why I am asking if I can do some sort of while loop in step 3 > saying wait until that data (created in step 2) arrives, then do step 4. > Is that possible at all > Thank you > Gary > > -----Original Message----- > From: Michael Stover [mailto:mstover1@apache.org] > Sent: Friday, 3 September 2004 11:53 PM > To: JMeter Users List > Subject: Re: Problem > > I'm not sure I understand, but I'll take a stab. Are you saying you > have to do a series of steps like: > > 1. login > 2. submit a request that creates some data (or something) > 3. Login as someone else > 4. Approve the data created in step 2. > > ? > And clearly, steps #3-4 cannot happen until step #2 finishes, and maybe > there's some asynchronous processing going on? > > If there's no asynch processing, it's simple enough - a test plan that > puts the above steps in order should work. Otherwise, you are looking > at some sort of delay timer that you need to attach to step #3 so that > JMeter waits some amount of time before proceeding. Have you read about > the timers in the docs? > > Let me know if I've got it all wrong :-) > > -Mike > > On Fri, 2004-09-03 at 05:42, Tseitlin, Gary wrote: > > Hello everyone, > > I need to script situation, when through web service we doing some > > workflow type business. > > > > I need to create request, then login with someone else and approve it. > > My problem is, script is time based, but when we have heavy load, I am > > missing request. > > Is that possible to right script based on something like when request > > gets there do something > > > > Thank you in advance > > Gary > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org -- Michael Stover Apache Software Foundation --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org