HI ALL,
I have seen the below scenario in one of the posts, I tried with the same but getting the error as "Caused by: java.lang.IllegalArgumentException: requirement failed: Scenario names must be unique but found duplicates"
Stéphane Landelle |
9/9/14
|
- | - |
I’m not sure I get it right, but it looks like you could have one single scenario definition where you pass the feeder name, and then have multiple concurrent scenario instances:
def scn(feederName: String) = scenario(“foo”)…feed(csv(feederName))…
setUp(
scn(“file1.csv”).inject(atOnceUsers(2)),
scn(“file2.csv”).inject(atOnceUsers(2)),
scn(“file3.csv”).inject(atOnceUsers(2)),
scn(“file4.csv”).inject(atOnceUsers(2))
).protocols(httpProtocol)
Can anyone help with this.
Thanks