I want to run code at the beginning that sets up variables, but as far as I can tell, the options for running code are:
- Sampler: Appears in JMeter reports and screws up my numbers.
- Pre-processor/Post-processor/Assertion: Must be attached to existing sampler.
- Timer: This works sometimes, but it appears that if you have your timers higher in the tree than your samplers, they just get ignored.
- Listener: Runs after your samplers (I want this code to run before everything else).
Is there a way to run code without modifying reports or attaching it to a sampler?