On 11/21/05, Bruno Charloup <[EMAIL PROTECTED]> wrote:
>
> After :
> My_url
> |-If Logic Controller (with the expression given by Richard :
> ${__javaScript('${assertions.on}'=='yes')})
> |- assertion response 1
> |- assertion response 2
>
> Whatever the value of the new user defined variable assertions.on (yer or
> other), assertions are ignored.



Hmmm. I haven't tried this with assertions, I use it to choose between two
versions of our software under test (with different XML formats). So I have:

ThreadGroup
| - If (version is 2.0)
|- SOAP sampler for 2.0
|- if (version is 2.5)
|- SOAP sampler for 2.5

I've just tried it with an assertion, as I suggested, and it doesn't seem to
work :o( The problem probably comes from where in the test plan the
assertion must be to associate it with the sampler. Not sure of the best way
out of this; do any of the JMeter devs have a suggestion?

Reply via email to