JMeter Correlation in a Redirection Chain Fails

0

I'm getting the following error/message when I try to replay a JMeter script Because of inactivity, your session has timed out and is no longer active. The page will automatically be reloaded in 10 seconds; if not, click here.

I think one of the problem is the correlation of a redirect chain. I worked on correlation for a redirection before and it worked, but I'm not sure how that works with "Redirection Chain".

In other words: If there is page#1 that redirects to page#2 and then page#2 redirects to page#3, how extraction and correlation should be done in this case, specially that page#2 and page#3 will be disabled in JMeter script.

I used RegEx Extractor on page#1 request, I set it up to work in "Main Sample and Sub Sample", "Main Sample Only" and "Sub Sample Only", but it didn't change anything. What I'm missing in "Redirect Chain" correlation process? Any ideas?

My Test Plan looks like this:

Screen shot of my JMeter Test Plan

My Test Plan looks like this:

Nawar Youssef

Posted 2019-07-24T00:02:38.587

Reputation: 3

I've spent a lot of time on this problem, I have done all the possible correlations and managed all cookies. Also, I have noticed few other tokens that change values every time I replay the script and those tokens are used in other requests, so they need to be correlated, but I couldn't find the response where those tokens are first generated.In this case, communication with development team is my best shot. They are the only people who can explain to me where is these tokens are generated, so I can extract them. I will post an answer when I find it. – Nawar Youssef – 2019-07-25T20:17:12.350

No answers