Obligatory "first post here, so please be gentle."
I'm attempting to run two test cases in parallel but only after a specific test step has been run in my first test case. The APIs I'm testing require a dynamic authorization token in the header that changes every 60 seconds after a specific API request has been sent. Presently I have a groovy script in the first test case to run a groovy script in second test case that contains a while loop to continuously run the second test case while the first test case is running (there is a groovy script at the end of TestCase1 to set the 'running' property to 'false' to stop the loop). However, the first test case comes to a halt as it waits on the second test case's loop instead of branching to start the second test case in parallel while continuing with the first.
Is it possible to accomplish this task within the confines of the program?
So from the looks of it this isn't the exact route I was attempting to go (though that could just be because I'm so new to the program), but it did make me realize another way to write the test cases that would allow me to use the method you mention.