I have a HTTP request , which will start at time , this value am storing in string variable beforetime String beforetime=${__time(,)}; Before Time ----> 1611822129009 This transaction will be saved in database with modified_date as 2021-01-28 13:08:30.923 I am extracting time from modified_date as below String CurrentTime1=${__groovy(${__groovy(Date.parse('yyyy-MM-dd hh:mm:ss.SSS','${Modified_date_1}').getTime(),)},)} ;
Now current time is --->1611822133322 the difference between this two is difference ---->4313
- the difference between this two time is not actual time(it is calculated by converting to string), how to get the actual difference ? 2)I need to populate the difference time for each HTTP request dynamically in Jmeter report , can you help me to do this ?