How to add required listeners for testPlan or thread group in jmeter api using java?
问题 I have created the Jmeter script from Apache Jmeter API. But, not able to understand how to add required listeners for testPlan or thread group in jmeter api using java? Please help me out 回答1: Simply don't. Listeners are useful when you develop or debug your test, when it comes to test execution all you need to do is to generate a .jtl results file. Listeners don't add any value, when you run your load test in non-GUI mode (i.e. from Java code) they just create resource overhead in terms of