Hi all. I have a scenario I haven't used JMeter on before, and it may be a poor fit, but (insert sunk cost fallacy here).

I am looking to test the performance of an asynchronous submit/retrieve system. Basically the routine is as follows:

1. Submit request.
2. Check request status.
3. If status is "pending" goto 2.
4. End.

So 1 and 2 each involve individual HTTP requests. What I really want to measure is the time between 1 and 4. But the calls made in each Step 2 are what is recorded (along with step 1).

Is it possible to have JM "ignore" certain samplers?

Also, if so, can I provide my own SampleResult (say in a BeanShell Assertion) to be tracked with its own duration?