Hi Noam,
Thanks for your idea, but it can't solve my problem (I've already try to
escape quotes).
Perhaps one word in my script is a key word for ORO ?
 

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






Hi Bruno,
try escaping the quotes too (like in \"ISBN\").

Best regards / Viele Grüße

Noam Paz




 

             "Bruno CHARLOUP" <[EMAIL PROTECTED]>

 

             07.10.2005 13:42
To 
 
"'JMeter Users List'" <[email protected]>

 
cc 
 
Please respond to

 
"JMeter Users List" <[email protected]>
Subject 
 
JMeter refuse my response assertion ...

 

 

 

 

 

 





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\(\);

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"\];
/ Special caractere for regular expression are correctly escaped (according
to me).

So, I can't find where the error is (I've already have spend several hours
on this problem). To put /Q before can not solve the problem because JMeter
put itself automatically regular expression delimiters.

In my page to be tested i have another javascript part, and it is correctly
check by another response assertion.

Any idea would be appreciated.

Thanks in advance.


--
Bruno




--

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.


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