Skip to content

Releases: abstracta/jmeter-java-dsl

0.55

06 May 20:02

Choose a tag to compare

This release allows to set proxy in httpSampler, httpDefaults and graphqlSampler.

Check the new user guide section for more details.

Thanks to @QAInsights for asking this!

0.54

26 Apr 18:11

Choose a tag to compare

This release includes testResource which simplifies using files in src/test/resources in your test plans! Take a look here for an example and additional details. Thanks to @MaksSieve for contributing with this.

Additionally:

  • graphqlSampler now includes rawVariable to be able to specify variables with complex values like json objects, arrays and using jmeter expressions (like ${MY_VAR}) for numeric or boolean parameters. Thanks to @MaksSieve for asking this!
  • variables method in graphqlSampler has been deprecated in favor of variablesJson which avoids confusion and is more clear in intent.
  • encodedParam method in httpSampler has been deprecated in favor of new method rawParam to avoid confusion and to be consistent with graphqlSampler.rawVariable.
  • fix dependency in jmeter-java-dsl-blazemeter module which was causing issues in some scenario due to jackson libraries conflicts.
  • fix bug which affected teardownThreadGroup type resolution. Thanks to @polarnik for reporting this!

0.53

21 Apr 17:52

Choose a tag to compare

This release includes weightedSwitchController thanks to the contribution of @MaksSieve ! Take a first look in the new user guide section.

Additionally, we have deprecated getName and getGuiClass from BaseTestElement, which were introduced in version 0.52, to keep the API simpler and since there is no clear need for them.

0.52.1

19 Apr 19:36

Choose a tag to compare

Update dependencies to fix vulnerabilities issues and add check in threadGroup(threads, iterations, children).holdFor(..) to avoid NullPointerException when using unsupported call which has ambiguous meaning.

Thanks to @sbusanelli and @polarnik for reporting these issues.

0.52

15 Apr 12:43

Choose a tag to compare

A new module has been added which allows you to more easily generate GraphQL requests! Check the new user guide section for more details. Thanks to @MaksSieve for the contribution!

Additionally:

  • getName and getGuiClass have been added to every DslTestElement to allow them to be used for example when configuring switch controllers. Thanks again to @MaksSieve for the contribution!
  • showTimeLine in thread groups now blocks as showGui does to provide a consistent behavior and ease usage in tests.
  • Refactor MethodCallBuilder class (used for DSL generation from JMX) to better separate concerns between methods. If you have some custom MethodCallBuilder then you will need to implement the new method and stop returning null in buildMethodCall.

0.51

25 Mar 16:05

Choose a tag to compare

This release fixes packaging issue with jmx2dsl that was preventing it from converting JMX files and removes deprecated methods in httpSampler & httpHeaders which where using jetty library dependencies.

This final change was required to avoid adding such dependency to jmx2dsl and motivated as well due to the limitations imposed by jetty libraries classes that with newer methods are avoided.

0.50

22 Mar 16:58

Choose a tag to compare

You can now convert JMeter recorded HTTP jmx files to DSL!

This includes conversion of Recording Controllers, User Defined Variables and HTTP Request Defaults elements to DSL code.

To support this, and to ease definition and setting of JMeter thread variables, this release adds vars() to the DSL api. Check about it in the user guide.

Finally, but not least, we have created this discord server to improve communication between DSL users and we also created this sample project to ease starting a performance testing project from scratch.

0.49.2

07 Mar 18:19

Choose a tag to compare

This release fixes DslTestPlan.showGui() method which was causing exceptions when generating some test elements test plan tree.

0.49.1

16 Feb 22:07

Choose a tag to compare

Fix issue with DslTestPlan.showInGui manifesting in JVM 17 due to this darklaf issue.

0.49

15 Feb 18:45

Choose a tag to compare

You can now use protocol, host, port and path methods with httpDefaults to define the default property for only part of the URL and ease JMeter users intro to DSL.