https://github.com/pgilad/jtl-parse
Stream decode JMeter JTL files and output them as XML, CSV
https://github.com/pgilad/jtl-parse
decoder jmeter parser stream tool xml
Last synced: 3 months ago
JSON representation
Stream decode JMeter JTL files and output them as XML, CSV
- Host: GitHub
- URL: https://github.com/pgilad/jtl-parse
- Owner: pgilad
- License: mit
- Created: 2018-01-27T21:00:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T09:13:53.000Z (almost 7 years ago)
- Last Synced: 2025-05-09T02:17:14.010Z (9 months ago)
- Topics: decoder, jmeter, parser, stream, tool, xml
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
```bash
❯ ./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:
```bash
$ ./compare.sh data.jtl
```
## Output Formats
- XML
- JSON
- CSV
Sample CSV output:
```csv
Label,Timestamp,Response Time,Latency,Users
Label1,1519028940050,1205,1205,1
Label2,1519028941268,93,93,1
```
## License
MIT © [Gilad Peleg](https://www.giladpeleg.com)