Re: Strange Assertion failure message:Response was null

Aditya Singh <[email protected]> Thu, 11 Apr 2024 22:22:14 +0530
Newsgroups gmane.comp.jakarta.jmeter.user
Message-ID <CA+AUu0bqOq73iYTYprc=BhoKh=m4OPcmdMMW=ZZrZNHJBh-a-w@mail.gmail.com>
Hi
What’s the response in Response Body?

Regards
Aditya

On Thu, 11 Apr 2024 at 8:57 PM, Tong Sun <[email protected]> wrote:

> Hi,
>
> I've got a very strange Assertion failure message, which I cannot
> replicate on any of public available urls, which basically says
>
> *Response was null*
>
> [image: image.png]
> while actually the response has content:
>
> [image: image.png]
>
> what's more strange is that it only happens to one specific API returns,
> I.e., the above "post" request, which goes through the *very same
> assertion*, passes flawlessly:
>
> [image: image.png]
>
> Here is the common assertion:
>
> [image: image.png]
>
> I'm wondering what the fix from the JMeter side can be, as I worry that if
> I report the problem to our devs, they'd say it's the JMeter's problem, as
> everyone has been using it fine for years.
>
> Thanks
>
>
image.png (image/png, 77.7 KB) - not displayed
image.png (image/png, 101.5 KB) - not displayed
image.png (image/png, 75.6 KB) - not displayed
image.png (image/png, 46.4 KB) - not displayed