testing_kate
testing_kate

Reputation: 187

Jmeter - wait for a specific response and collect total response time

our application is testing file upload and I'm curious if I can make Jmeter wait for a specific response and then report collective time.

What I have now is:

whileLoop()
  -- HTTP Sampler
  -- JSON Extractor

JSON Extracor pulls out a specific field and if it's not null then the loop stops.

The problem is that JMeter doesn't report response time as a sum of all the responses (response times) it had to make and that is what I'm looking for. Is there a way to implement this?

Upvotes: 0

Views: 724

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34566

You can put this code inside a Transaction Controller .

You should get what you want.

Upvotes: 2

Related Questions