use of uk.co.automatictester.lightning.reporters.JMeterReporter in project lightning by automatictester.
the class LightningHandler method runReport.
private void runReport() {
jmeterTransactions = new JMeterCSVS3ObjectReader(region, bucket).getTransactions(jmeterCsv);
JMeterReporter reporter = new JMeterReporter(jmeterTransactions);
String jmeterReport = reporter.getJMeterReport();
String jmeterReportS3Path = s3Client.putS3Object("output/report.log", jmeterReport);
response.setJmeterReport(jmeterReportS3Path);
log.info(jmeterReport);
if (jmeterTransactions.getFailCount() != 0) {
response.setExitCode(1);
} else {
response.setExitCode(0);
}
}
use of uk.co.automatictester.lightning.reporters.JMeterReporter in project lightning by automatictester.
the class LightningMojo method runReport.
private void runReport() {
jmeterTransactions = new JMeterCSVFileReader().getTransactions(jmeterCsv);
JMeterReporter reporter = new JMeterReporter(jmeterTransactions);
log(reporter.getJMeterReport());
if (jmeterTransactions.getFailCount() != 0) {
exitCode = 1;
}
}
use of uk.co.automatictester.lightning.reporters.JMeterReporter in project lightning by automatictester.
the class LightningTask method runReport.
void runReport() {
jmeterTransactions = new JMeterCSVFileReader().getTransactions(extension.getJmeterCsv());
JMeterReporter reporter = new JMeterReporter(jmeterTransactions);
log(reporter.getJMeterReport());
if (jmeterTransactions.getFailCount() != 0) {
exitCode = 1;
}
}
use of uk.co.automatictester.lightning.reporters.JMeterReporter in project lightning by automatictester.
the class CliTestRunner method runReport.
private static void runReport() {
jmeterTransactions = new JMeterCSVFileReader().getTransactions(params.report.getJmeterCsvFile());
JMeterReporter reporter = new JMeterReporter(jmeterTransactions);
reporter.printJMeterReport();
if (jmeterTransactions.getFailCount() != 0) {
exitCode = 1;
}
}
Aggregations