jmeter-java-dsl
jmeter-java-dsl copied to clipboard
Add support to jmx2dsl for test fragments
A jmx that is a test fragment (no TGs etc) results in the following:
@Test public void test() throws IOException { TestPlanStats stats = unsupported() .run(); assertThat(stats.overall().errorsCount()).isEqualTo(0); }
We have a lot of test fragment jmxs that we'd like to convert into dsl without writing manually. Thanks!
Hello, thanks for asking for this.
Can you share an example of such test fragment and how you use it in a testplan? Want to understand how you use them to provide good solution for your use case.
Regards
@rabelenda JMXs like this are for shared functiuons like login and referenced from othe jmx file via include controllers Login.txt
We just released a new version which includes conversions of test fragments. Give it a try and if you see any issues please create a new issue.