Bug 42918 - Size assertion "less than" fails if response is 0 bytes
Size assertion "less than" fails if response is 0 bytes
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.3
Other Linux
: P3 minor (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-07-17 05:43 UTC by Ivan Rancati
Modified: 2007-08-11 04:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rancati 2007-07-17 05:43:04 UTC
2.3 RC3 on Linux Ubuntu, sun jdk1.5.0_10

I am testing a service that downloads files, and I lumped in a controller all
the error cases (where a file is not downloaded).
Some test cases return a small response body which is an error message, some
return a null body.
To double check that no file is actually downloaded, I am using a Size Assertion
and the criteria is "less than 500 bytes"

The small inconvenience is that the test cases with a null response body fail;
I see this error in Assertion Results

"Response was null"

Maybe it's more a specifications issue, but I think "null" should not fail "less
than x bytes"
Comment 1 Sebb 2007-08-11 04:13:10 UTC
Agreed - now fixed in SVN r564895.