*************************************************************** * _ ______ _ * * | | | ____| | | * * | | | |__ __ __ __ _ | | * * _ | | | __| \ \ / / / _` | | | * * | |__| | | |____ \ V / | (_| | | | * * \____/ |______| \_/ \__,_| |_| * * * * (c) NaveenKumar Namachivayam 2020 * * QAInsights.com * * * ***************************************************************
JEval helps you to evaluate your JMeter test plan and provides recommendation before you start your performance testing.
- Clone this repository.
- Install the latest version of Python
- Install the dependencies
pip install -r requirements.txt
Important Notes
- JEval doesn't make any modifications to your JMeter test plan. But it is advisable to make a backup of your JMeter test plan.
- JEval utility doesn't collect any sort of data
- cd into the repository
- Issue the below command
python app.py -f <JMeter-File-Path>
E.g.
python app.py -f .\jmx\Sample.jmx
To view the log, open the tmp.log
file.
-
JEval detects the JMeter version and validates the test plan.
-
JEval detects the following:
JMeter elements
- AuthManager
- CookieManager
- HeaderManager
- CacheManager
- CSVDataSet
- TransactionController
- ConfigTestElement
- ConstantTimer
- UniformRandomTimer
- GaussianRandomTimer
- Arguments
- ProxyControl
- RegexExtractor
- TestAction
- BeanShellSampler
- JSR223Sampler
- IfController
- LoopController
- ResultCollector
- ResponseAssertion
- XPath2Assertion
- JSONPathAssertion
- DebugSampler
If you want to add custom elements, you can add it in the
config.yaml
file.JMeter Plugins (default)
- DummySampler
- UDP
- SeleniumWebDriver
- Visualizer
You can add custom plugins in
config.yaml
file under Custom tag, as shown in below example.Custom: Plugin1: org.Sample.plugin.name DummySampler: kg.apc.jmeter.samplers.DummySampler
- If the elements added inside
Controllers
elements e.g.Loop Controller
, then those elements will not be detected.
โ Buy me a tea
Thanks goes to these wonderful people (emoji key):
NaveenKumar ๐ป |
Anthony Gauthier ๐ป |
Leela Prasad ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!