I'm developing a JMeter plugin which takes response of corresponding request and parse.
I want to add/remove/modify test elements(like HTTPsamplers, Postprocessors, visualizers etc.) for a JMeter test plan at runtime (not while load testing)using JMeter APIs. How it will achieve in JMeter ?
Does anyone know JMeter API to add/remove/modify test elements ?
I have Googled my problem and not found any good solution and found a solution which modify jmx file (JMeter test plan file) using xml parser APIs , but it doesn't affect test plan behaviour at JMeter run time.
Ultimately, what I am trying to do is add/remove/modify test elements in in the current running test plan(not while loading).
Is this possible?
Thanks in advance.. :)
GuiPackage.getInstance().getTreeModel().addComponent()
API. Will it help ? – Nithin CV