cancel
Showing results for 
Search instead for 
Did you mean: 

Running test in Parallel question

Highlighted
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
Highlighted
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:
Announcements
Script Wanted
Check out this week's challenge!

Create a script to generate an email when an assertion fails for the TechCorner tag!


Scripts created in July:
- A script to change the request body before sending it to the server