Report mode

In report mode, Lightning requires only one source of input data, JMeter CSV result file. In this mode Lightning parses JMeter output and reports total number of transactions and number of failed transactions. No further verification is performed. Lightning returns non-zero exit code on non-zero number of failed transactions.

To run Lightning standalone JAR:

java -jar lightning-<version>.jar report --jmeter-csv=path/to/csv/file

To configure JMeter Lightning Maven Plugin:

<configuration>
    <mode>report</mode>
    <jmeterCsv>path/to/csv/file</jmeterCsv>
</configuration>

To configure Lightning Gradle Plugin:

lightningSettings {
    jmeterCsv = new File('path/to/csv/file')
}

Sample output:

Transactions executed: 1320, failed: 0