title: JMeter login and authentication sampler
body: <p>Could anyone please help to test the login / authentication with the following scenario?</p>
  
  <p>User access the site "sitaA.com" home page.  In that page, there is a button "login with oauth". </p>
  
  <p>Upon clicking the "login with oauth" button, "siteA.com" redirects to "siteB.com" in which the user is able to key in username and passowrd and sign in. It authenticates (oauth) the user and returns back to "siteA.com". </p>
  
  <p>siteA.com will send the client id and call back url when redirects to siteB.com. </p>
  
  <p>How to achieve this using JMeter?</p>
  
  <p>Thanks in advance</p>