JMeter: I need to handle dynamically changing ID in URL (Get request). ID will get change on every load (Ajax)

by user1099508   Last Updated October 09, 2019 15:01 PM - source

Kindly suggest any way to extract those ID from JMeter.

Request URL: https://**********///?_=1570625406235

Answers 1

If you're really looking for the way of extracting this the relevant regular expression would be =(\d+)

Demo (assumes RegExp Tester mode of the View Results Tree listener)

enter image description here

However this 1570625406235 looks like a Unix timestamp to me resulting into Wed Oct 09 14:50:06 CEST 2019 in my time zone therefore instead of trying to extract it I would recommend parameterizing it using __time() function which generates a current time in the Unix timestamp format

enter image description here

Check out Apache JMeter Functions - An Introduction article for more information on JMeter Functions concept.

Dmitri T
Dmitri T
October 09, 2019 14:43 PM

Related Questions

Recording not working in neoload. please anybody help me

Updated September 24, 2019 13:01 PM

Loadrunner Vugen Crashes when opening

Updated October 07, 2019 13:01 PM

How to get stress point of website by using jmeter?

Updated January 02, 2019 13:01 PM