PragmaticFlow / NBomber

Modern and flexible load testing framework for Pull and Push scenarios, designed to test any system regardless a protocol (HTTP/WebSockets/AMQP etc) or a semantic model (Pull/Push).
https://nbomber.com
Other
2.08k stars 129 forks source link

Add SortIndex for ScenarioStats and StepStats #744

Closed AntyaDev closed 2 months ago

AntyaDev commented 2 months ago

For real-time reporting of metrics, it's helpful to have a sort index to ensure proper visualization of the statistics. The sort index helps organize the metrics in the desired order, making it easier to interpret the data in real-time dashboards or reports.

type ScenarioStats = {
    ScenarioName: string
    ...
    SortIndex: int
}

Example:

var index = scenarioStats.SortIndex;