Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/QAInsights/JEval

⚡ JEval helps you to evaluate your JMeter test plan and provides recommendation before you start your performance testing. All contributions welcome 🙏.
https://github.com/QAInsights/JEval

apache jeval jmeter performance performance-engineering performance-testing python testing tools utilities

Last synced: 3 months ago
JSON representation

⚡ JEval helps you to evaluate your JMeter test plan and provides recommendation before you start your performance testing. All contributions welcome 🙏.

Awesome Lists containing this project

README

        

# 🚀 JEval

[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-1EAEDB)]()
[![saythanks](https://img.shields.io/badge/say-thanks-1EAEDB.svg)](https://saythanks.io/to/catch.nkn%40gmail.com)
[![](https://img.shields.io/badge/license-MIT-0a0a0a.svg?style=flat&colorA=1EAEDB)](https://qainsights.com)
[![](https://img.shields.io/badge/%E2%9D%A4-QAInsights-0a0a0a.svg?style=flat&colorA=1EAEDB)](https://qainsights.com)
[![](https://img.shields.io/badge/%E2%9D%A4-YouTube%20Channel-0a0a0a.svg?style=flat&colorA=1EAEDB)](https://www.youtube.com/user/QAInsights?sub_confirmation=1)
[![](https://img.shields.io/badge/donate-paypal-1EAEDB)](https://www.paypal.com/paypalme/NAVEENKUMARN)


***************************************************************
* _ ______ _ *
* | | | ____| | | *
* | | | |__ __ __ __ _ | | *
* _ | | | __| \ \ / / / _` | | | *
* | |__| | | |____ \ 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.

# 🛠 Prerequisites

* 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*

# ✨ Usage

* cd into the repository
* Issue the below command
`python app.py -f `
E.g.
`python app.py -f .\jmx\Sample.jmx`

## 💪 Output

![JEval Output](./assets/JEval-Output.jpg)

# ✍ Log file

To view the log, open the `tmp.log` file.

# ✔ Features

* 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.
```yaml
Custom:
Plugin1: org.Sample.plugin.name
DummySampler: kg.apc.jmeter.samplers.DummySampler
```

# 🛑 Limitations

* If the elements added inside `Controllers` elements e.g. `Loop Controller`, then those elements will not be detected.

# 💰 Donate
Buy me a tea

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



NaveenKumar

💻

Anthony Gauthier

💻

Leela Prasad

💻

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!