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]
- Re: JMeter refuse my response assertion ... Noam Paz
- RE: JMeter refuse my response assertion ... Bruno CHARLOUP
- Re: JMeter refuse my response assertion ... sebb
- RE: JMeter refuse my response assertion ... Bruno CHARLOUP
- RE: JMeter refuse my response assertion ... Noam Paz
- RE: JMeter refuse my response assertion ..... Bruno CHARLOUP
- Re: JMeter refuse my response asserti... sebb
- RE: JMeter refuse my response ass... Bruno CHARLOUP
- Fwd: JMeter refuse my respons... sebb
- RE: JMeter refuse my response... Bruno Charloup
- Re: JMeter refuse my response... sebb

