Run client-side scenarios driven by load-generator.
Run LoadGenerator. LoadGenerator will provision a backend and start ScenarioRunner with the given parameters.
To add a new scenario,
- Name the scenario and add it to
ScenarioName
and themain
control flow inindex.ts
. - Write a class that implements the
IScenario
interface and extends theScenario
class and drop the class in thescenarios
folder. Run this new scenario from themain
control flow. - In LoadGenerator, add a new scenario to the
Scenario
struct.