Loading...
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
TUTORIAL

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: http://10.13.135.58:7001/wwmPT/WMPopup/b5d75cb3b01750324aa732201d9bb5c9). 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":[]}]
 
 
 
/wwmPT/PUSH/?v-uiId=0&v-csrfToken=init&X-Atmosphere-tracking-id=fd7e494b-0ff7-e00d-9e7a-617c39c3b695&X-Atmosphere-Framework=2.0.3.vaadin2-jquery&X-Atmosphere-Transport=polling&X-Cache-Date=0&Content-Type=application/json;%20cha