Pre Processor

JMeter – Pre Processor

Preprocessor refers to something that is executed beforehand because the words “Pre” and “Processor” indicate “Previous” and “Execution” respectively. There are multiple elements in JMeter that are executed before the main element. By using these components, you can, among other things, retrieve data from a database, specify a delay between sample executions, change the configuration of a sample request just before it is executed, or change variables that are not draw from the responses. Pre Processor Elements is the name given to these JMeter elements..JMeter - Pre Processor

The Pre Processor will run immediately before the sampler if it is a child element of a sampler. The following will be the order of execution:

               Pre Processor => Sampler => Post Processor

Possible Parent element(s) of Pre Processor:

You can add a Pre Processor under following elements:

  1. Test Plan
  2. Thread Group
  3. Test Fragment
  4. Sampler
  5. Logic Controller
  6. Non-Test Element

Possible Child Element(s):

  • NA

You can not add any element under a β€˜Pre processor’. Hence it does not have any child element.

Following is the list of available Pre Processors:

  1. JSR223 PreProcessor
  2. User Parameters
  3. HTML Link Parser
  4. HTTP URL Re-writing Modifier
  5. JDBC PreProcessor
  6. RegEx User Parameters
  7. Sample Timeout
  8. BeanShell PreProcessor
Scroll to Top