Hi Sebb,
Exact ! 
If i cut each line of this expression in several pattern, it works but in
other part of my page (and in other page), new lines are not a problem ... 
My question is why is this part of my page, these lines are a problem ... It
is a mystery for me.

My purpose is to use Jmeter for non regression test, and I put in a
assertion, for each page of my test plan, the whole of the code of the page,
and it works for most of pages, not for this one ...


-----Message d'origine-----
De : sebb [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 7 octobre 2005 14:32
À : JMeter Users List
Objet : Re: JMeter refuse my response assertion ...

On 07/10/05, Bruno CHARLOUP <[EMAIL PROTECTED]> wrote:
> Hi all,
> I've put the following part of script in a response assertion.
>
> var criteria = new Array\(\);
>
> criteria\['R0003'\] = \["Tous Champs", "Titre", "Auteur", "Sujet", 
> "ISBN"\]; criteria\['R0001'\] = \["Tous Champs", "Titre", "Auteur", 
> "Sujet", "ISBN"\]; criteria\['R0002'\] = \["Tous Champs", "Titre", 
> "Auteur", "Sujet", "ISBN"\]; criteria\['R0004'\] = \["Tous Champs", 
> "Titre", "Auteur", "Sujet", "ISBN"\];
>
>
> Even if my tested page contains this script, I've always the following 
> error
> :
>
> Test failed, text expected to contain /var criteria = new Array\(\);
>

This indicates that the expression was valid, but not found. This is
probably because of the new lines.

You might do better to code the lines as separate patterns on the assertion
page.

S.

---------------------------------------------------------------------
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