I cannot seem to save the load/response/sample time into a variable using RegEx. Sampler Results page
Is there a way to access the results from the Sampler Results page?
I cannot seem to save the load/response/sample time into a variable using RegEx. Sampler Results page
Is there a way to access the results from the Sampler Results page?
Copyright © 2021 Jogjafile Inc.
You cannot extract Response time using regular expressions because regular expression extractor is limited to the following options and response time is calculated by JMeter
However you can use JMeter's SampleResult api to get load time. The api has methods for endtime and starttime of a sample, using this methods you can calculate load time and then store it in JMeter variable.
Add a Beanshell post processor to your sampler and add the following code to the post processor
You can use ${Load time} to get load time of that particular sample
More info:
Regular expression extractors
Beanshell