Skip to content

Stream decode JMeter JTL files and output them as XML, CSV

License

Notifications You must be signed in to change notification settings

pgilad/jtl-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JTL Parse

Stream decode JMeter JTL files and output them as XML, CSV

Parse JMeter JTL files, supporting:

  • Nested samples
  • JMeter custom variables
  • Responses
  • Assertions
  • Cookies
  • More...

The parser is a stream decoder, meaning it's safe to use for very large files

Usage

❯ ./jtl-parse -h
Usage: jtl-parse [--output OUTPUT] FILENAME

Positional arguments:
  FILENAME

Options:
  --output OUTPUT, -o OUTPUT
                         specify the output type, valid options: csv,xml,json [default: json]
  --help, -h             display this help and exit

Parse Validating

Output/Input XML is not in canonical format, in order to diff them, use the included compare.sh script:

$ ./compare.sh data.jtl

Output Formats

  • XML

  • JSON

  • CSV

Sample CSV output:

Label,Timestamp,Response Time,Latency,Users
Label1,1519028940050,1205,1205,1
Label2,1519028941268,93,93,1

License

MIT © Gilad Peleg