Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kowalpy/robot-framework-jmeter-library
Robot Framework and JMeter integration
https://github.com/kowalpy/robot-framework-jmeter-library
jmeter robot-framework
Last synced: 3 months ago
JSON representation
Robot Framework and JMeter integration
- Host: GitHub
- URL: https://github.com/kowalpy/robot-framework-jmeter-library
- Owner: kowalpy
- Created: 2017-03-11T20:31:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-30T15:34:18.000Z (about 1 year ago)
- Last Synced: 2024-10-09T23:41:56.732Z (3 months ago)
- Topics: jmeter, robot-framework
- Language: HTML
- Homepage:
- Size: 96.7 KB
- Stars: 16
- Watchers: 5
- Forks: 11
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE_lgpl-3.0.txt
Awesome Lists containing this project
README
# Robot Framework JMeter Library
This library provides simple way to integrate Robot Framework and JMeter. JTL output
files can be analysed and converted to HTML, Python dictionary or SQLite format.On 19th of March 2017, project has been moved at Github.
## License
LGPL 3.0## Keyword documentation
[JMeterLib.html](https://kowalpy.github.io/Robot-Framework-JMeter-Library/JMeterLib.html)## Version history
Version 1.1 released on 25st of September 2015. What's new in 1.1:
```
Implementation of change request http://sourceforge.net/p/rf-jmeter-py/tickets/2/:
" As a End User I want to have option to create smaller reports"
```
Following software versions were used during development:
- robotframework-2.8.7
- robotframework-ride-2.7.5
- JMeter 2.12
- python-2.7.5Version 1.2 released on 29th of December 2017. What's new in 1.2:
- adapted to new csv log format
## Installation:
- run command: pip install robotframework-jmeterlibraryOR
- download, unzip and run command: python setup.py install## Usage:
Example for running JMeter and parsing results in single keyword:
```
| run jmeter analyse jtl convert | D:/apache-jmeter-2.12/bin/jmeter.bat | D:/Tests/Test1Thread1Loop.jmx | D:/Tests/output1.jtl |
```
Example for running JMeter and parsing results in separate keyword:
```
| ${logPath}= | set variable | D:/Tests/output1.jtl | |
| run jmeter | D:/apache-jmeter-2.12/bin/jmeter.bat | D:/Tests/Test1Thread1Loop.jmx | ${logPath} |
| analyse jtl convert | ${logPath} | | |
```
Example for reading parsed contents:
```
| ${result} | analyse jtl convert | ${logPath} | |
| log | ${result} | | |
| : FOR | ${ELEMENT} | IN | @{result} |
| | log dictionary | ${ELEMENT} | |
```