Releases: abstracta/jmeter-java-dsl
1.12
1.11
BlazeMeterEngine now automatically uploads files used in csvDataSet and httpSampler.bodyFile and .bodyFilePart methods!.
You can now also use assets() method to specify custom files to upload to BlazeMeter and location() to specify execution locations (both private or public ones).
Thanks to @VaishaliGulve for asking for these features.
Check more details in the user guide.
1.10
You can now use AzureEngine to easily run your tests at scale with Azure Load Testing and get all Azure Load Testing goodies!
Here is an example:
TestPlanStats stats = testPlan(
threadGroup(2, 10,
httpSampler("http://my.service")
)
).runIn(new AzureEngine(System.getenv("AZURE_CREDS"))
.testName("dsl-test")
.engines(2)
.testTimeout(Duration.ofMinutes(20)));And you can get more details in the user guide.
Thanks @uddirulz for asking about this, to the Azure Load Testing team for all the support and help while implementing this integration, and special thanks to @ninallam who has been really committed and helped a lot in the implementation.
Finally, you can now also use counter for simple auto incremental variables. Check the user guide for more details.
1.9
You can now easily set htmlReport granularity with timeGraphsGranularity method, and user guide includes some small fixes thanks to @arezki user in Discord server.
Additionally:
httpDefaultsnow includesfollowRedirectsmethod which allows enabling/disabling following redirects by default forhttpSamplers.- recorder now fixes integration with recent chrome 111, while starting browser with Selenium
- recorder uses param instead of rawParam when is possible to ease test plan maintenance
- recorder logic is contained in it's own module, so is ease to reuse it's logic as a dependency from other projects
- recorder now disables follow redirects to avoid duplicate requests in resulting test plan.
Hope you enjoy this version changes!
1.8.1
We now include a recording tool to ease test plan creation!
This recorder should greatly simplify creating test plans, with no need to have jmeter installed, no need to configure certificates or proxies, no need to remember using incognito mode or require any further steps while recording!
On top of that, it already includes support for defining correlation rules, thanks to the usage of Correlation Recorder Plugin.
Check the new user guide section for more details.
Note: jmx2dsl is now included as a subcommand of jmdsl.jar. It is no longer included as a separate jar.
Finally, conversions have been improved to automatically refactor test plan if all httpSamplers share a common encoding setting.
Note: this was intended to be released as 1.8, but a mistake when releasing it, and the impossibility to update maven artifacts, required to release this as 1.8.1.
1.7
You can now send GraphQL queries using HTTP Get method through .httpGet() sampler method, thanks to the request of @OlegDementyevInDrive.
1.6
You can now set cookie policy in cookieManager and disable clear of iterations in each thread thanks to @andy-tarr contribution!
Additionally, thanks to @andy-tarr proposal, now is possible to specify -1 in thread group to be able to specify infinite iterations (when specific scenarios require it).
Finally, thanks to @andy-tarr report, now tests have been fixed to not fail on windows.
1.5
You can now, thanks to @andy-tarr contribution, use throughputTimer to limit how many times per second a given part of a test plan should execute!
Here is the new user guide section.
Additionally, you can now use httpAuth() to easily configure HTTP basic authentication.
You can get more details here.
Finally, we have refactored docs so is now easier to maintain them and contribute :).
1.4
You can now set connection and response timeouts for HTTP connections (check details here) and filter sample results in jtlWriter which allows you to have different level of details in jtl files when there are non successful sample results (here is an example).
Additionally:
- fix
httpDefaultsJMX conversion and convert embedded resources options inhttpSamplerandhttpDefaults. - update some dependencies to include some vulnerabilities fixes.
1.3
You can now convert test fragments, module controllers & include controllers with jmx2dsl, allowing you to properly convert modularized JMX files!
Additionally:
- now jmx2dsl converts disabled test plan elements into commented out code, which eases "re-enabling" or reusing such elements in the DSL code.
- now
httpDefaults()includesdownloadEmbeddedResourcesMatching(regex)anddownloadEmbeddedResourcesNotMatching(regex)ashttpSamplerdoes.
