title: How can I run multiple test methods multiple times in a loop
body: <pre><code>public class OrionTripCreation extends GeneratePayload {
      
      String route_set_id = null;
      String warehouse_name = null;
      String transaction_id = null;
      String lr_number = null; 
      String bid_id = null;
      String message = null;
      String transaction_status = null;
      String trip_status = null;
      String payment_Id = null;
      String oracle_id = null;
      String intermittent_payment_id = null;
      String intermittent_oracle_id = null;
          
      OrionUtility orion = new OrionUtility();
  
       @Test(invocationCount = 10)
      
        public void generateLR() throws Exception { 
           lr_number =orion.generateLRNumber();
            ExtentTestManager.getTest().log(LogStatus.INFO,&quot;LR Number is generated :-&quot; + lr_number);    
        }
       
       @Test 
        public void raiseIndent() throws Exception { 
            transaction_id =orion.raiseIndent(); 
            ExtentTestManager.getTest().log(LogStatus.INFO,&quot;Indent is created :-&quot; + transaction_id);
            trip_status = orion.fetchStatusForTransaction(&quot;requested&quot; , transaction_id);
        
        }
  ...
  }
  </code></pre>
  <p>I tried using <code>@Test(invocationCount = n)</code>, but it runs only that method multiple times, I want to run all the methods once and then run the test second time</p>