How to create and run Apache JMeter Test Scripts from a Java program?
If I understand correctly, you want to run an entire test plan programmatically from within a Java program. Personally, I find it easier to create a test plan .JMX file and run it in JMeter non-GUI mode 🙂 Here is a simple Java example based on the controller and sampler used in the original question. … Read more