Exclude Processor Execution Time in JMeter

Problem:

How to exclude Pre-processor and Post-processor execution time from the transaction response time in Apache JMeter?

Explanation:

JMeter takes some fraction of the time to execute pre and post-processor components during the test. If this time is added into the response time of the transactions then the result may vary from the actual result. Hence it is recommended to exclude the processing time of the processors.

Solution:

In the transaction controller of JMeter, there is an option “Include duration of the timer and pre-post processors in generated sample“. To exclude the execution time of pre and post-processor, uncheck this option. This will instruct JMeter to eliminate the processing time of the pre-processor and post-processor from the transaction response time and provide the actual response time.

By default, this option is UNCHECKED.

Exclude-Pre-and-Post-Processor-Time-in-JMeter
Figure 01: Exclude processor time from transaction response time

You may be interested: