Am 01.04.21 um 13:43 schrieb Krister Nilsson:
> Hello!
>
> I have a testplan sending several different HTTP requests. After each I have
> a "Response assertion". Some of the HTTP requests turns up RED (i.e. failed)
> correctly in the View Results Tree due to the assertion but I can see, by
> logging that the variable JMeterThread.last_sample_ok is not set to false for
> some of them. That is, for some of the failing requests it is set to false as
> expected, but for some it is set to true, even though it should and has
> failed.
>
> The "Response assertions" are set identically for all and the response code
> is also the same, 200, for all of them. The response content are not
> identical for them, but they have in common the they do no match the Contains
> pattern (.*from>\d{4}-\d{2}-\d{2}.*) .
>
> Is there a common configuration mistake made by many for this, or is there a
> known fault or some other explanation?
Can you post a simple test plan that exhibits the described behaviour?
Are they always failing/succeeding or is it a bit more flaky?
Can you see other differences in a View Results Tree element, when you
compare the failed/succeeded results?
Felix
>
> Med vänlig hälsning
> Krister Nilsson
> ____________________________________________________________
>
> Krister Nilsson / översteprest, prestandatest
>
> IT Fond konto och teknisk plattform
> Telefon direkt 010-454 21 97, mobil 072-210 21 97
> [email protected]<mailto:[email protected]>
>
> Pensionsmyndigheten,
> Telefon vxl 0771-771 771, fax 08-658 13 00,
> www.pensionsmyndigheten.se<http://www.pensionsmyndigheten.se/>
>
>
> P Överväg miljöpåverkan innan du skriver ut detta e-brev.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]