commercetest / pepper-box

Pepper-Box is kafka load generator plugin for jmeter. It produces kafka messages of type plain text (JSON, XML, CSV or any other custom format) as well as java serialized objects.
http://pepperbox.gslab.com/
Apache License 2.0
2 stars 3 forks source link

in PepperBoxLoadConsumer include the thread-count in the results filename #28

Open julianharty opened 6 years ago

julianharty commented 6 years ago

This is a specific small change to make the results files easier to track and manage. It's not particularly elegant. At some point it might be useful to allow more flexible naming of the results files, particularly to suit and support multi-node test runs e.g. with many producer and consumer nodes.

Current code:

String resultsFilename = "results-" + perThreadTopic + ".csv";

New code:

String resultsFilename = "results-" + perThreadTopic + "-of-" + totalThreads + ".csv";