title: How to invoke first thread group if another thread group failed
body: <p><a href="https://i.stack.imgur.com/VuIR7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VuIR7.jpg" alt="enter image description here"></a>I am new to Jmeter, and I am trying to achieve the following test plan in Jmeter 4.0. </p>
  
  <p>I have 2 thread group. </p>
  
  <ul>
  <li>First thread group will generate access token using Oauth 2.0 and the
  value of access token is set to a variable.</li>
  <li>Second Thread group will use the access token generated from first thread group and process the HTTP request.</li>
  </ul>
  
  <p>Token expiration time is 2 hours. </p>
  
  <p>I want to schedule a 8 hours test in Jmeter. How to invoke first thread group to generate token for every 2 hours and to continue thread group 2.</p>
  
  <p>Any help will be appreciated !!</p>