sebb-2-2 wrote:
>
> On 02/03/2010, daniel.green <[email protected]> wrote:
>>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 01/03/2010, daniel.green <[email protected]> wrote:
>> >>
>> >> Hello,
>> >>
>> >> Occasionally the server will return with JSON expressing the need to
>> >> redirect. Is there a way, when this pattern comes up, to
>> automatically
>> >> sample the location specified? Right now I am just adding a regex
>> >> extractor
>> >> and additional sampler where I know it will be used. However, it is
>> used
>> >> almost everywhere as most of the navigation is ajax based (scary, I
>> >> know).
>> >>
>> >> In a breath, what I want is...
>> >>
>> >> When a response contains foo, send an http request to foo.
>> >
>> > Post Processors are applied to ALL samplers in scope, so you can add
>> > the Regex Extractor at the top level.
>> >
>> > However, samplers and controllers are processed according to their
>> > location in the test plan.
>> >
>> > You could sprinkle the test plan with If Controller + Sampler child
>> pairs.
>> >
>>
>>
>> Is there a way to avoid the "sprinkling?"
>>
>
> Depends on the test plan and where the redirects can potentially occur.
>
They can occur for most samplers, across multiple thread groups.
--
View this message in context:
http://old.nabble.com/Post-process-addition-of-samplers-tp27749962p27758331.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]