jtl-parse

command module
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 3 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL