abstracta / jmeter-java-dsl

Simple JMeter performance tests API
https://abstracta.github.io/jmeter-java-dsl/
Apache License 2.0
476 stars 58 forks source link

Add support for the User Parameters preprocessor #238

Open Melanie-RK opened 1 year ago

Melanie-RK commented 1 year ago

Request: Add support for the User Parameters preprocessor

Use case: I have a JMeter test plan that uses User Parameters because the value needs to be different on each iteration. Due to the small size of the test, it performs better with User Parameters than with a csv data source.

rabelenda commented 1 year ago

Hello, thanks to ask for this. We need to identify what is the best way to implement this.

Do you use this component just because it is more performant than csvDataset? If csvDataset were as performant as this solution, would you prefer it instead (specifying values through CSV instead of java api method invocations)?

Some potential options that come to my mind are:

Anyone has any other alternatives, proposals or comments?

Melanie-RK commented 12 months ago

Do you use this component just because it is more performant than csvDataset? If csvDataset were as performant as this solution, would you prefer it instead (specifying values through CSV instead of java api method invocations)?

I use this component because it's more performant than the alternatives. If other methods to achieve the same goal were just as performant, I would use the one that is the easiest to use.

poyun commented 11 months ago

Hello, thanks to ask for this. We need to identify what is the best way to implement this.

Do you use this component just because it is more performant than csvDataset? If csvDataset were as performant as this solution, would you prefer it instead (specifying values through CSV instead of java api method invocations)?

I hope to have a method to replace 'csvDataset' because my custom data sources may come from MySQL, code-generated data, rather than being limited to CSV files.