On 1 July 2014 12:05, Tiago Neto Rodrigues <[email protected]> wrote: > Using a Module Controller can call a test fragment in order to execute some > specific actions. Basically I want to replicate the same behavior using a > beanshell sampler. > > The reason to do this: > - I'm using the ultimate thread group from the jMeter plugins > (http://jmeter-plugins.org/). This component seems to have a problem because > if I use the jMeter IF controller I have always errors. So I want to overcame > this problem the beansheel sampler and call the test fragment from there.
Why not contact the provider and find out how to fix the If Controller issues? Although it may be possible to do what you want - JMeter is open source, so you can in theory do anything - I suspect you will find it very hard to get it to work satisfactorily, as it is contrary to the existing JMeter design. > Thanks > > -----Original Message----- > From: sebb [mailto:[email protected]] > Sent: terça-feira, 1 de Julho de 2014 11:59 > To: JMeter Users List > Subject: Re: jMeter > Use beanshell to call a test fragment > > On 1 July 2014 11:22, Tiago Neto Rodrigues <[email protected]> > wrote: >> Can I call a jMeter test fragment or any other sampler from a beanshell >> sampler? > > Why would you want to do this? > > It goes against the design of JMeter. > >> I search on https://jmeter.apache.org/api/ but I did not find any method >> that can be used to do this. >> >> Thanks a lot > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
