Considering I have the parallel tag set to true at the feature file level, Can I have the scenario outline examples executed in sequential manner?
Test.feature:
@parallel=true
@MS_Feature1_Test
@TestCase1
Scenario Outline: This is to validate TC1
Given ...
Then ....
Examples:
|Steps |Outcome|
|'Call API 1' |'PASS' |
|'Call API 2' |'PASS' |
|'Call API 3' |'PASS' |
@TestCase2
Scenario Outline: This is to validate TC2
Given ...
Then ....
Examples:
|Steps |Outcome|
|'Call API 1' |'PASS' |
|'Call API 2' |'PASS' |
|'Call API 3' |'PASS' |
As per the above feature file, I would want @TestCase1 and @TestCase2 to start execution in parallel, but the Steps(Examples) “Call API 1” , “Call API 2” and “Call API3” to be executed in sequential manner.
Is there a way I can achieve this in Karate?