How can I run multiple simulations simultaneosly.?

I have two simulations that have different injection profiles , different workflows and uses two different feeder files. I want to run the two simulations together to load the services.

Hi @Deepak,

So, you want a third Simulation where the injection profiles is the conjunction of both initial simulation.

public class Sim1 extends Simulation {
  {
    setUp(
      scn1.injectOpen(atOnceUsers(1))
    );
  }
}

public class Sim2 extends Simulation {
  {
    setUp(
      scn2.injectOpen(atOnceUsers(2))
    );
  }
}

You’ll want:

public class Sim3 extends Simulation {
  {
    setUp(
      scn1.injectOpen(atOnceUsers(1)),
      scn2.injectOpen(atOnceUsers(2))
    );
  }
}

It’s now up to you to declare your scenario and their steps in another file that you can import in Sim1, Sim2, Sim3.

Hope it helps!

Cheers!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.