Which scenarios we use pre/post processors?
Can any one suggest, at what scenarios we use pre processor and post processors in Jmeter.
- PreProcessors are used for setting the test up (i.e. generate any prerequisite data)
- PostProcessors are used for tearing the test down (get any dynamic stuff, resetting counters if needed, etc.)
The main idea is that Pre and PostProcessors time isn't being included into the sample time so technically you can do what you want there - time won't me measured.
The most commonly used scenario is using PostProcessors for correlation - the process of obtaining dynamic data from response and use it in the next request. People use:
The most commonly used scenario for PreProcessors is generating or amending data for the request.
Hope this helps.