Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to handle dynamic X-Atmosphere-tracking-id while playing back during pe

Srinivasa Pakala
8 years ago Jul 28, 2014 11:38am

While recording our application, we are able to record the initial page but when clicked on the Menu items which opens as a Pop_Up containing the Search Criteria. The Response URL itself contains the Dynamic jsession id (X-Atmosphere-tracking-id for example: However Jmeter records the specific URL having the the Dynamic Jsession id, but when we need to Play it back how do we handle the Dynamic Value in the URL (unlike the session id's, usually passed using the regular expressions in the Request Body).
Since the X-Atmosphere-tracking-id varies between while recording & while playing back the script, the playback is getting failed by throwing the below mentioned error
Below is the error we get while playing back the recorded script because of the dynamic Atmosphere Tracking ID
181|for(;;);[{"resources":{},"locales":[],"meta":{"appError":{"message":"Take note of any unsaved data, and <u>click here<\/u> to continue.","caption":"Session Expired"}},"changes":[]}]185|181|for(;;);[{"resources":{},"locales":[],"meta":{"appError":{"message":"Take note of any unsaved data, and <u>click here<\/u> to continue.","caption":"Session Expired"}},"changes":[]}]