jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mstov...@apache.org
Subject Re: Running a sampler at the end
Date Thu, 24 Apr 2003 13:00:32 GMT
No, there's no way to run a sampler statically once for the test, regardless of 
the numer of threads.  The once only controller makes it's children run once 
per thread.

It's an interesting request, and would make a good enhancement request in 
the bug database.

-Mike

On 24 Apr 2003 at 10:41, Vijay Sekhar wrote:

> I think you can acheive this by using the once only controller, which will run only once
and no more. Please check with
> this option.
> 
> Vijay
> 
> 
> 
> ----- Original Message -----
> From: "Casadonte, Joe" <JCasadonte@glog.com>
> To: "'JMeter Users List'" <jmeter-user@jakarta.apache.org>
> Sent: Wednesday, April 23, 2003 9:21 PM
> Subject: RE: Running a sampler at the end
> 
> 
> > Oh, so you want it to run once total, not once for each thread?  I don't
> > know how to do that....
> >
> > --
> > Regards,
> >
> >
> > joe
> > Joe Casadonte
> > Global Logistics Technologies, Inc.
> > jcasadonte@glog.com
> >
> > 1016 West Ninth Avenue
> > King of Prussia, PA 19406
> > 610-491-9881
> >
> >
> > > -----Original Message-----
> > > From: Jonathan Kwadzo [mailto:Jonathan.Kwadzo@rona.ca]
> > > Sent: Wednesday, April 23, 2003 11:49 AM
> > > To: JMeter Users List
> > > Subject: RE: Running a sampler at the end
> > >
> > >
> > > I've tried a scenario like that. The problem is the number of
> > > threads in the thread group. If I have more than one threads,
> > > the Once-only controllers will execute as many times. I've
> > > tried to put a second thread group with only one thread for
> > > my last request, but there is no garantee it will execute
> > > after the first thread group...
> > >
> > > -----Message d'origine-----
> > > De : Casadonte, Joe [mailto:JCasadonte@glog.com]
> > > Envoyé : April 23, 2003 11:45 AM
> > > À : 'JMeter Users List'
> > > Objet : RE: Running a sampler at the end
> > >
> > >
> > > Jonathan,
> > >
> > > > I'm writing a test plan where I need to run a particular
> > > > sampler at the very end of the test. That sampler (HTTP
> > > > request) need to be sent only once after all other requests
> > > > in the test have been sent. I've tried to combine all
> > > > possible controllers but it doesn't seem to do the job. Any
> > > > help would be really appreciated!
> > >
> > > Can you send us a list of the samplers you have now?  I would think
> > > something like this should work:
> > >
> > > Once-only (login)
> > > Loop (30 times)
> > >   Interleave
> > >     Simple I
> > >     Simple II
> > >     Random
> > >       Simple III
> > >       Simple IV
> > >   Simple V
> > > Once-only (yours)
> > >
> > > The loop controller, in this case, would take the place of
> > > the loop count in
> > > the Thread Group.  I haven't tried this, but I would think it
> > > would work.
> > >
> > >
> > > --
> > > Regards,
> > >
> > >
> > > joe
> > > Joe Casadonte
> > > Global Logistics Technologies, Inc.
> > > jcasadonte@glog.com
> > >
> > > 1016 West Ninth Avenue
> > > King of Prussia, PA 19406
> > > 610-491-9881
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message