jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Panicker <vino...@gmail.com>
Subject Re: Dependency support for threads
Date Thu, 11 Aug 2005 11:56:37 GMT
On 8/11/05, sebb <sebbaz@gmail.com> wrote:
> I'm not convinced that you need separate threads to run this test.
> 
> If you want to send a message on one connection, and then wait until a
> message arrives on another connection, then it seems to me that these
> can be in the same thread.

Any pointers on how this can be achieved or should I RTFM?  Its not
necessary that the two connections are independent execution units.  I
could make do with just one thread.

Regards,
Vinod.

> On 11/08/05, Vinod Panicker <vinod.p@gmail.com> wrote:
> > On 8/10/05, Peter Lin <woolfel@gmail.com> wrote:
> > > I don't think that is possible in jmeter. The threads are independent
> > > of each other and do not thread.join(thread) to the best of my
> > > knowledge.
> >
> > But this kind of functional testing becomes essential when trying to
> > test asynchronous non-request-response based protocols.  Any idea if
> > support for this is planned?
> >
> > > On 8/10/05, Vinod Panicker <vinod.p@gmail.com> wrote:
> > > > Let me explain in more detail.
> > > >
> > > > There are two threads, X and Y.  Both run simultaneously to reach
> > > > checkpoint A.  X sends a request to the server which is sent to Y.  X
> > > > needs to know that Y received what was sent.
> > > >
> > > > To implement the above I was asking for something like dependency
> > > > configuration / join implementation.
> > > >
> > > > Regards,
> > > > Vinod.
> > > >
> > > > On 8/10/05, Christian Baumgartner <christian.baumgartner@tiscover.com>
wrote:
> > > > > Am I right that you want to run both Threads at the same time, but
one
> > > > > should wait for the other finishing?
> > > > >
> > > > > If you click TestPlan there is an Option that runs ThreadsGroups
one after
> > > > > another. But maybe it's more practicable to manage it with the Controllers
> > > > > and Timers.
> > > > >
> > > > >
> > > > > Chris
> > > > >
> > > > >
> > > > > -----Urspr√ľngliche Nachricht-----
> > > > > Von: Vinod Panicker [mailto:vinod.p@gmail.com]
> > > > > Gesendet: Mittwoch, 10. August 2005 10:09
> > > > > An: jmeter-user@jakarta.apache.org
> > > > > Betreff: Dependency support for threads
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > Is there any way by which I can specify that Thread x needs to wait
till
> > > > > Thread y completes successfully?
> > > > >
> > > > > I'm trying to test an asynchronous TCP based IM protocol.  So I want
to be
> > > > > able to test if a message sent by x reached y.  x and y will be independent
> > > > > sessions.
> > > > >
> > > > > Regards,
> > > > > Vinod.

---------------------------------------------------------------------
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