Hi,
i'm a newbie of JMeter. I'm using it for testing my website. I'm
creating test for service of my site.
I invoke correctly it with a Http Request with some parameters. The body
response use Json as format. I create a Response assertion with this option:
- main samples only;
- Response code (but I have also tried the other options for Response
Field to test);
- I choose Contains as Pattern match rules (but also tried the option
Matches);
- as parameter I use part of the message visible in Response data of
View Result Tree;
The assertions is always false but in the Result Tree I can clearly see
the fragment of response that I used as parameter for assertion. Where
is the fault?
Thanks in advance.
--
Opera21
*Luca Borz*
Junior Programmer
*Opera21 Nordest S.r.l.*
*Rovereto (TN)* 38068 - Via F. Zeni, 8 - Tel. 02.69374.426 - Fax
0464.443360
*Vimodrone (MI)* 20090 - Via L. Cadorna, 71/A - Tel. 02.69374.1 - Fax
02.69374.300
*Bolzano (BZ)* 39100 - Via L. Galvani, 23 - Tel. 0471.502021 - Fax
0471.501734 e-mail: [email protected] <mailto:[email protected]>
website: www.opera21.it <http://www.opera21.it>
Milano <http://www.opera21.it/it-IT/654it.html> | Roma
<http://www.opera21.it/it-IT/655it.html> | Napoli
<http://www.opera21.it/it-IT/656it.html> | Bolzano
<http://www.opera21.it/it-IT/Bolzanoit.html> | Rovereto
<http://www.opera21.it/it-IT/658it.html> | Genova
<http://www.opera21.it/it-IT/659it.html> | Madrid
<http://www.opera21.it/it-IT/660it.html> |
-----------------------------------------------------------------------------------------------
Questo messaggio è destinato alle sole persone indicate e può
contenere informazioni riservate.
Se ricevuto per errore, si prega di avvisare immediatamente il
mittente e cancellare l'originale.
Ogni altro uso del messaggio è vietato.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]