Re: Strange Assertion failure message:Response was null
Tong Sun <[email protected]> Thu, 11 Apr 2024 12:54:35 -0400
| Newsgroups | gmane.comp.jakarta.jmeter.user |
|---|---|
| Message-ID | <CAMmz1OfQuEgDdOAKaCRS1DBKcQ4tq5q0RKbjXXi9gd57S4jnHw@mail.gmail.com> |
The response in Response Body is just plain jason, as the header indicated, whose format is almost the same as the previous "post" one. On Thu, Apr 11, 2024 at 12:53 PM Aditya Singh <[email protected]> wrote: > 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