title: JMeter POST request is returning 200 OK instead of 302 (redirect)
body: <p>I'm attempting to login to a website that uses IdentityServer with JMeter but am getting stuck at the point where I post my credentials. </p>
  
  <p>If I inspect the request via fiddler, I can see that it returns a 302 with a redirect, however when I attempt to post the same request in JMeter, I get a 200 with 'Error' in the html with no details.</p>
  
  <p>This is my request in JMeter....</p>
  
  <p><a href="https://i.stack.imgur.com/2rFYd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2rFYd.png" alt="enter image description here"></a> </p>
  
  <p>This is the request in Fiddler....</p>
  
  <p><a href="https://i.stack.imgur.com/yHYgr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yHYgr.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/RBozi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RBozi.png" alt="enter image description here"></a></p>
  
  <p>And this is the HTML response in JMeter (200 OK)...</p>
  
  <p><a href="https://i.stack.imgur.com/sY9ie.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sY9ie.png" alt="enter image description here"></a></p>
  
  <p>And this is the Fiddler response... </p>
  
  <p><a href="https://i.stack.imgur.com/AANRT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AANRT.png" alt="enter image description here"></a></p>
  
  <p>And this is the HTML response in Fiddler, after the redirect...</p>
  
  <p><a href="https://i.stack.imgur.com/fddT7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fddT7.png" alt="enter image description here"></a></p>
  
  <p>I can confirm that my JMeter variables <code>${COOKIE_idsrv.xsrf}</code> and <code>${SignIn</code> are populated with the correct values.</p>
  
  <p>Other points to note</p>
  
  <ul>
  <li>I have a <strong>HTTP Cookie Manager</strong></li>
  <li>The <strong>HTTP Manager</strong> Referer headers are set correctly</li>
  <li>All requests are set to <strong>Follow Redirects</strong></li>
  <li>I retrieve all embedded resources for each request</li>
  </ul>
  
  <p>Does anybody know what could be the issue here? </p>