Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
robotframework-jmeterlibrary.zip | 2015-03-08 | 63.6 kB | |
jmeterLibExample.txt | 2015-03-08 | 972 Bytes | |
LICENSE_lgpl-3.0.txt | 2015-03-08 | 7.7 kB | |
README.txt | 2015-03-08 | 2.1 kB | |
setup.py | 2015-03-08 | 1.2 kB | |
JMeterLib.html | 2015-03-08 | 134.6 kB | |
JMeterLib.py | 2015-03-08 | 76.6 kB | |
Totals: 7 Items | 286.7 kB | 0 |
Robot Framework JMeter Library This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 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. Version 1.0 released on 8th of March 2015. Following software versions were used during development: - robotframework-2.8.7 - robotframework-ride-2.7.5 - JMeter 2.12 - python-2.7.5 Author: Marcin Kowalczyk Website: http://sourceforge.net/projects/rf-jmeter-py/ Installation: - run command: pip install robotframework-jmeterlibrary OR - download, unzip and run command: python setup.py install OR - download, unzip and copy JMeterLib.py file to a directory pointed by PYTHONPATH (for example ...\Python27\lib\site-packages). 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} | |