Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonaslagoni/jmeter-template
JMeter template for the AsyncAPI Generator to generate test plans for your application
https://github.com/jonaslagoni/jmeter-template
asyncapi generator jmeter template
Last synced: 8 days ago
JSON representation
JMeter template for the AsyncAPI Generator to generate test plans for your application
- Host: GitHub
- URL: https://github.com/jonaslagoni/jmeter-template
- Owner: jonaslagoni
- Created: 2021-03-04T14:27:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T12:52:51.000Z (almost 4 years ago)
- Last Synced: 2024-12-20T00:53:47.258Z (14 days ago)
- Topics: asyncapi, generator, jmeter, template
- Language: JavaScript
- Homepage:
- Size: 616 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JMeter template
Want to generate JMeter test plans based on your AsyncAPI file?This template is for generating a JMeter test plans for your application based on the AsyncAPI document to enable easier performance testing of your applications.
It generates a single `.jmx` file for your application, at the moment it only generates very basic test plan.
### Requirements
* @asyncapi/generator < v2.0.0 > v1.4.0
* Install the generator through [npm or run it from docker official installer](https://github.com/asyncapi/generator#install).
* JMeter >= 5.4.1
* Depending on the protocol there might be library dependencies. See [supported protocols](##supported-protocols) and their associated docs.## How to use
```
ag --output ./out ./AsyncAPI.yml @lagoni/jmeter-template
```See the [generator](https://github.com/asyncapi/generator) for more options for the CLI.
The output is a single JMeter test plan file `.jmx` which can be opened in JMeter or merged depending on your use-case.
## Supported protocols
- NATS - [See docs for further details and requirements](./docs/protocols/nats.md)
- Supports publish and request## Contribution guidelines
Any contributions are welcome more then welcome, got an idea how to do something differently, new feature, found a bug, etc. let us know!The repository includes Visual studio code run scripts for you to debug the template on the fly. See `./.vscode/launch.json` and the example AsyncAPI documents to test with are located in `./.vscode/protocols/*.json`. If you add a new protocol please provide an example AsyncAPI document there.
### When you want to introduce changes
1. Pick or create an issue.
* It's always a good idea to leave a message saying that you're going to work on it before you start any actual work.
1. Fork the repository and work there.
1. Before opening a Pull Request ensure:
* That `npm run lint` does not fail
* That `npm run test` does not fail
1. Open a Pull Request pointing to the master branch.
1. A maintainer will review your code as soon as possible.