Robot Framework JMeter Library
Project description
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/>.
Version 1.1 released on 25st of September 2015.
What's new:
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.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} | |
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/>.
Version 1.1 released on 25st of September 2015.
What's new:
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.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} | |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for robotframework-jmeterlibrary-1.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | f47906b58a27b35da4252a1b6bf40d142087c45e5ef4993dc2bb7a66e4a76473 |
|
MD5 | e54e505497a188e41ac9a006e39d2681 |
|
BLAKE2b-256 | 06343834e00692c4d294870f30af9aefb3f111292dd5de61638e04fb702207d8 |