{"repo":"abstracta/jmeter-java-dsl","free":true,"listed":false,"github":"https://github.com/abstracta/jmeter-java-dsl","clone":"git clone https://github.com/abstracta/jmeter-java-dsl.git","description":"Simple JMeter performance tests API","language":"Java","stars":537,"topics":["jmeter","java","performance-testing","blazemeter","jmx","performance","azure","octoperf"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Simple Java API to run performance tests, using [JMeter] as engine, in a Git and programmers friendly way. If you like this project, please give it a star :star:! This helps the project be more visible, gain relevance, and encourage us to invest more effort in new features. Here you can find the .Net DSL. Please join discord server or create GitHub issues and discussions to be part of the community and clear out doubts, get the latest news, propose ideas, report issues, etc. Usage If you use maven, just include the following dependency: Here is a simple example test in JUnit 5+ with 2 threads/users iterating 10 times each to send HTTP POST requests with a JSON body to http://my.service : This example also uses AssertJ for assertions, but you can use whatever assertion library you choose. More examples can be found in tests You can use this project as a starting point. Tip 1: Check the DSL recorder and jmx2dsl to ease test plan creation or migration from existing JMX files. Tip 2: Since JMeter uses log4j2, if you want to control the logging level or output, you can use something similar to the tests included log4j2.xml. Tip 3: When working with multiple samplers in a test plan, specify their names to easily check their respective statistics. Check here for details on some interesting use cases , like running tests at scale in BlazeMeter or OctoPerf, saving and loading test plans from JMX, publishing test metrics to InfluxDB (and visualizing them from Grafana), and general usag","default_branch":null,"files":null,"tree":[],"storefront":"/r/abstracta","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/abstracta/jmeter-java-dsl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}