Afirmaciones de JMeter

Is there a way to use the icons in the tree to view response assertion failures in JMeter? Maybe turning the icons red? Or some other way to quickly see if there are any errors? It's a pain to click every View Results Tree node to check for errors.

preguntado el 27 de agosto de 11 a las 21:08

5 Respuestas

Yes, the icons turn red when a error occurs. the only reason it wouldn't is because you've checked "ignore Status" in a response assertion, that occurs after your other checks. If you use ignore status, make it the first assertion in your list.

contestado el 05 de mayo de 15 a las 23:05

your answer is truncated? - Leandro Bardelli

Sorry orig post was truncated, whoops :) - Dan

vote up cause your response. Welcome to SO. :) Please read the tour - Leandro Bardelli

Utilizan Resultados de la afirmación Listener and check Log/Display Only Errors checkbox

Respondido 28 ago 11, 22:08

If a sample fails an assertion, the icon turns red automatically.

Respondido 31 ago 11, 23:08

BlackGaff, the icon in the Test Plan does not turn red. The one in the Result Tree does. Changing the one in Test Plan would be more useful. - user929685

@luis are you the OP? If so can you flag to have your accounts merged? - Kev

You can Use Result Tree Listener.So if any sample fails that particular sample turns red. enter image description here

contestado el 06 de mayo de 17 a las 01:05

It simple the color of assertion will be red only if that fail. Otra opción is stop the test when Assertion fail. i.e. check the Stop Thread option in Thread group

Respondido 07 Feb 16, 01:02

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.