The pre-processor can be added as a child of a sampler, e.g.

- Sampler 1
- Sampler 2
- - Pre-Processor

This will force it to run after Sampler 1 and before Sampler 2.

Or you can put:

Simple Controller
- Sampler 1
Simple Controller
- Pre-Processor
- Sampler 2

What are you trying to achieve?
The CSV Data Set config element might well suit the task better.

S.
On 30/09/05, Pavel Gouchtchine <[EMAIL PROTECTED]> wrote:
> Hi All.
> I have a task, what I don't know solution - I need generate a variable with
> a value and then use this variable in user parameters pre-processor. I am
> using BeenShell sampler for generation data and jmeter context variables to
> set it in.
> Because user parameters preprocessor is running before any sampler, my
> approach doesn't work.
>
> I have tried to create two thread groups in test plan - one for generating
> data, and the second is actually the test. I am unable to transfer data via
> context between the thread groups.
> If somebody knows how to do it - please let me know.
>
> I have tried to create two thread groups under a "main" thread groups. I was
> able to use the same context for the transferring generated data but these
> two thread groups were running twice even the settings were set for all of
> them to run once.
>
> I will really appreciate any ideas and advices.
>
> Thank you, very much.
> Pavel
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to