Last event timestamp in jmeter

Skip to first unread message

Amruta Deokar

May 6, 2024, 1:14:21 AMMay 6
to JMeter Forum

I am using master slave architecture to send events to kinesis through jmeter.
how can i verify time of last event send to kinesis?
actully i need to verify jmeter last event timestamp with kinesis record arrival time.

Any help on how to achieve this?


May 6, 2024, 3:00:28 AMMay 6
to JMeter Forum
You can get the timestamp of the Sampler which sent the event using JSR223 PostProcessor, something like:

def sentAt = prev.getTimeStamp()

where prev stands for previous SampleResult 

Alternatively you can use the following approach:

  1. Add Transaction Controller
  2. Add the Sampler which sends the event as a child of the Transaction Controller
  3. Add While Controller
  4. Add another Sampler which will check the arrival/processing under the While Controller
This way you will get end-to-end processing time reported as the Transaction Controller response time
Reply all
Reply to author
0 new messages