I am writing a CorbaSampler (aka TCPSampler()).

In my SamplerGUI, am I creating the sampler in the correct place?

 

   public TestElement createTestElement()

    {

        CorbaSampler sampler = new CorbaSampler();

        modifyTestElement(sampler);

        return sampler;

    }

 

 

However I find that createTestElement() is indirectly called from several
places by JMeter (26 places!).

So after I initially create JMeter, I set some data in it. In the sample()
call, I try to retrieve the data but find that a *new* instance of
CorbaSampler() has been created! So that now my data is lost.

Thanks,

Anil Philip

Reply via email to