Search code examples
seleniumjmeterjmeter-plugins

How to execute/call the sampler in thread1 from thread2 using jmeter?


I have created a thread with name thread1 in jmeter with slenium jp@gc-Web Driver Samplers for functional testing. thread1 has many smaplers which can be reused. Now i need to use these samplers of thread1 in any other threads. How can i achieve it in jmeter without copy pasting the same samplers to other tests?


Solution

  • Are you aware of Module Controller?

    Module Controller

    See Using JMeter Module Controller article for detailed explanation if required.