Create data as a load on J-Meter Create data as a load on J-Meter kubernetes kubernetes

Create data as a load on J-Meter


If you want a specific answer you need to ask more specific question.

The most common parameterization options are:

  1. If you need to ingest data from external data sources:

  2. If you need to generate brand new/random data:

    • __threadNum() - number of current thread
    • __time() and __timeShift() - current timestamp in various formats plus possibility to generate dates in future or past
    • __Random() - generate a random number
    • __RandomString() - generate a random string out of provided characters
    • __UUID() - generate unique GUID-like structure
    • __groovy() - for everything else, it executes arbitrary Groovy code and returns the result


IN addition to great Dmitri's answer I would like to add few cents.

Please take a look to 13-Step Guide to Performance Testing in Kubernetes, especially toStep 12: Automating the Performance Tests

When running performance tests, we need to run these tests for a rangeof workload scenarios (e.g. concurrency levels, heap sizes, messagesizes, etc.). Running the tests manually for each of these scenariosis time-consuming and likely to cause errors. Therefore it isimportant to automate the performance tests prior to executing them.We automate our performance tests using a shell script:start_performance_test.sh.

This script can have an idea for smth similar for you. Also overall the article introduces you Jmeter usage with some examples.