Hi! Thanks a lot for your response. I appreciate it a lot.
We already resolved the problem by creating our own HTTP implementation inherited from HTTPJavaImpl. So it calls base method "sample" as many times as we need. With Best Regards, Andrei -----Original Message----- From: sebb [mailto:[email protected]] Sent: Thursday, November 24, 2011 12:08 AM To: [email protected] Subject: Re: How to call other samplers in test bean? On 17 November 2011 12:12, Andrei Khudavets <[email protected]> wrote: > Hi All, > > > > We are going to use jMeter to test our web application. Unfortunately it > uses non standard HTTP communication method. > > > > In order to send a simple form we have to: > > 1. Get and parse URL > > 2. POST some data > > 3. Parse Response > > 4. POST some other data > > > > It creates a lot of repeating instructions in jMeter. So we decided to > create custom Sampler which will perform all actions in one go. > > > > Could you please suggest which method to use? Are there any ready-to-use > solutions? > Nothing ready to use. > > Our initial idea is to create Test Bean which will call other Samplers. Is > it a right idea? Not sure it will be easy, as samplers need quite a lot of context to be set up before they will work. > Are there any examples how to do it? Not really, though the Proxy Server has to do something similar. > > Thanks a lot in advance! > > > > With Best Regards, > > Andrei > > > > > >
