Switch Controller does not work.   I am executing the IF controllers
1% of the time.   The Switch Controller will execute the zeroth
position of there is no match to the switch value.

I am setting the switch value to the variable number I generate in the
Random Variable.  I have 4 items in the Switch Controller.  If the
random number is 45, the switch controller execute the zeroth element
as 45 is out of range for 0-3.

Plus, I was 1-4 in this case.

I realize this has nothing to do with my issue but figured I would
give it a try to see if I like it better than the IF Controllers.  The
issue I am having is that the Random Variable is not very random
unless I add a debug sampler (or some other sampler I assume).  It was
more random using a switch controller though.

/joe


On Wed, Apr 18, 2012 at 2:17 PM, sebb <[email protected]> wrote:
> On 18 April 2012 22:12, Jomebrew <[email protected]> wrote:
>> I don't get what you are suggesting.  Switch controller for what?
>
> Instead of the multiple If Controllers.
>
>> The
>> while loop tests for a session ID (which is cleared if a transaction
>> fails for a bad session ID).  As long as there is a valid Session ID,
>> The while loop continues.
>>
>> The If Controllers could be replaced by a switch controller and were
>> one a switch controller.  They work better as If Controllers.
>>
>> The issue I am having is that the Random Variable is not very random
>> unless I add a debug sampler (or some other sampler I assume).
>>
>> Thanks, Joe
>>
>> On Wed, Apr 18, 2012 at 1:59 PM, sebb <[email protected]> wrote:
>>>
>>> Try using the Switch Controller instead.
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to