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

Add Reporting to the Consumer Groovy Script #10

Open julianharty opened 6 years ago

julianharty commented 6 years ago

The current groovy script kafka-consumer-timestamp.groovy doesn't report progress or results to jmeter. We'd like to enhance the script so we can take advantage of jmeter's reporting and analysis capabilities. Also jmeter will then also communicate progress to the console which helps whoever's running the tests know 'something' is happening.

The essential data include:

ISNIT0 commented 6 years ago

Samplers can only return 1 SampleResult. Because we create one consumer to receive many messages.

We need to find some way of recording many SampleResults from a single JSR223 Sampler. Possibly using BackendListeners http://jmeter.apache.org/usermanual/realtime-results.html