Thanks for this idea.
I can not group all the assertions because they are linked to different http
request.
Nevertheless, I try to add a If Logic controller as a child of my http
sampler, than I move my response assertion as a child of the logic
controller.
That means :
Before :
My_url
|- assertion response 1
|- assertion response 2
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.
Could you indicate me where i wrong ? Does the new hierarchy between items
is correct ?
Thanks in advance.
Bruno.
-----Message d'origine-----
De : Richard Gaywood [mailto:[EMAIL PROTECTED]
Envoyé : lundi 21 novembre 2005 12:25
À : JMeter Users List
Objet : Re: How to disable all response assertions in the same time ?
On 11/21/05, Bruno Charloup <[EMAIL PROTECTED]> wrote:
>
> do you know is there is a methode to desactivate (and afterward re
> activate) all the assertions in the same time ?
>
I have achieved something similar by using an If Logic Controller with a
condition like:
${__javaScript('${assertions.on}'=='yes')}
Then you control ${assertions.on} with a User Defined Variables.
Putting that in 100 times might get a bit tedious for you though, unless you
can group all the Assertions together under the same If controller.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]