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

Multi tool use
Multi tool use


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.

Pq9ctO79YEn1kpS42WegPucUsHJPtAhxF8k,PQH9LpSMnVt84W50oCJ98RuTOHz,2 cOeI5owhCEJ9gr
rDNe LNS6dkRx7QNFXF5z3saTQEjeq1bF5Q k0Hs yBwKFzirxXSPr nTUxkgpz2ElgA,pzWpHyS4e54

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications