Wednesday, April 1, 2020

JMeter Test Fragment , Module Controller and Include Controller , [adding methods]


There are 2 ways we can achieve this.

1) Test Fragment , Module Controller
2) Module Controller and Include Controller

1) Test Fragment , Module Controller
+Test Plan
     +Test Fragment
            + Http Request       [Sampler]   Name as Login Request 



+ Thread Group
         + Module Controller



now we can refer the Test Fragment with Module Controller 1 and also  Module Controller 2.

Test Fragment act as reusable method/module.




2) Module Controller and Include Controller 

Right click on Test Fragment -->




we can save as .jmx file.





+ Include controller


In both Include Controller 1 & Include Controller 2 , give the TestFragment.jmx file path


Execute

No comments:

Post a Comment

JMeter Simple Controller

  Simple Controller is just a  container  for user request.