How to get current time when I hit a webserivce using jmeter


How to get current time when I hit a webserivce using jmeter



I run the create customer ws and wanted to capture the date time at which it is get executed in jmeter and pass that datetime into the Create Customer-verify OpDateTime JDBC sampler.



Please help!!!!!!
Below is the problem for which I need solution.



Jmeter Screenshot




1 Answer
1



Add a "Regular Expression Extractor" as child of "Create Customer WS"



enter image description here



Then passe the variable value to your other sampler:



${date}






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to add background colour in existing image using Swift?

Moria Casán

How to make file upload 'Required' in Contact Form 7?