cancel
Showing results for 
Search instead for 
Did you mean: 

Running test in Parallel question

Super Contributor

Running test in Parallel question

Hello,

Lets say I have a test suite with 10 test cases. Each of the testcase starts with a teststep with queries the current system time. The requirement is that testcases can pass the same system time.

If I run them in parallel, they will get the same system Time stamp. Is there any property that each testcase has that I can maybe add to the time stamp so that each of them is unique.

so something like
time = systemtime + testId
e.g: 5:50 = 5:49 +1

I am open to other suggestions.

Thanks

Ali
1 REPLY 1
Super Contributor

Re: Running test in Parallel question

Hi Ali,

does the value still have to be a valid time after you augment it? (Otherwise you could just add the name of the TestCase or something..)

/Ole
New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2
Top Kudoed Authors