Search code examples
cjmeterperformance-testing

Run C executable(tests) in Jmeter


I am a newbie to Jmeter testing. I am required to run a bunch of C/C++ executables that performance test a C API using JMeter. Is it possible to create a .jmx script that talks to the C/C++ performance test code? If possible how can I do it? There is no web interface to the tests that I need to run.


Solution

  • You can use this sampler:

    It can run any executable.

    Another option is to use JNI or JNA to wrap C/C++ into a Java class and use Java Request sampler: