Skip to main content

CLI Arguments

The list of available command line (CLI) arguments of NBomber:

commanddescriptionexample
--configfile or URL path for configuration config--config=autocluster-config.json
--infrafile or URL path for infrastracture config--infra=infra-config.json
--licenseNBomber license key--license=YOUR_LICENSE_KEY
--session-idSets custom SessionId--session-id=my-session-123
--display-console-metricsEnables the printing of metrics to the console--display-console-metrics=true
--cluster-local-devEnables local dev cluster--cluster-local-dev=true
--cluster-agents-countOverrides AgentsCount--cluster-agents-count=2
--cluster-agent-groupSpecifies AgentGroup
(should be used only for ManualCluster)
--cluster-agent-group=my_group
--cluster-idOverrides ClusterId--cluster-id=test_cluster
--cluster-node-typeSpecifies NodeType
(should be used only for ManualCluster)
--cluster-node-type=coordinator
--cluster-node-type=agent

Example:

dotnet MyLoadTest.dll --license=YOUR_LICENSE_KEY --config=config.json