Skip to content

Instantly share code, notes, and snippets.

@marvin9000
marvin9000 / gist:6006367
Last active December 19, 2015 19:29
Groovy script to condense JMeter CSV logfiles (reduce number of lines, calculate some averages).
@Grab(group='net.sf.opencsv', module='opencsv', version='2.3')
import au.com.bytecode.opencsv.CSVReader
import static Constants.*
class Constants {
static final TIMESTAMP_IDX = 0
static final ELAPSED_IDX = 1
static final LABEL_IDX = 2
static final CODE_IDX = 3
}