NBomber
- Added TestInfo.ClusterId
- Renamed StepContext.InvocationCount -> InvocationNumber
- Refactored RealtimeStats (improved performance for cluster with many agents)
NBomber.Sinks.InfluxDB
NBomber.Cluster
- Added optional config setting MinAgentsCount for the Coordinator JSON config file. It allows setting a minimum count of agents that the coordinator will wait to start the session
"ClusterSettings": {
"Coordinator": {
"ClusterId": "test_cluster",
"NATSServerURL": "nats://localhost",
"TargetScenarios": ["test_scenario"],
"Agents": [
{ "AgentGroup": "1", "TargetScenarios": ["test_scenario"] }
],
"MinAgentsCount": 5
}
}
- Added functionality to load JSON configuration by HTTP URL
let url = "http://config.com/json_file_path"
Scenario.create "scenario_1" [step1; step2]
|> NBomberClusterRunner.registerScenario
|> NBomberClusterRunner.loadConfig url