You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Will Milspec <wi...@gmail.com> on 2011/06/24 05:58:11 UTC
why response assertion failure: "response was null"?
Hi all,
This second error/issue/puzzle I found tonight pertained to "failure true"
response assertions when jmeter downloaded some javascript files.
some points
-The access logs show successful downloads for all requests to said file
(tiny_mce_src.js)
-The jmeter jtl log records some successes, some failures for this file.
-if the server timed out, and the http client thought it received "null" or
an empty string, I would have the status code would say something (and the
error message would likewise differ)
What does this "response assertion failure" mean (httpclietnt got nothing
back, that it took too long,etc) ? Could jmeter have run out of resources?
Could the server simply have taking too long and this "response assertion
failure" is in fact a time out. (i.e. and a signal to beef up the server
resource)
thanks
will
<httpSample t="0" it="0" lt="0" ts="1308884487746" s="false"
lb="tiny_mce_src" rc="204" tn="jp@gc - Stepping Thread Group 1-2" dt=""
de="" by="0" sc="1" ec="1" ng="6" na="6" hn="i-715bde1d">
<assertionResult>
<name>Response Assertion</name>
<failure>true</failure>
<error>false</error>
<failureMessage>Response was null</failureMessage>
</assertionResult>
<responseHeader class="java.lang.String"></responseHeader>
<requestHeader class="java.lang.String"></requestHeader>
<responseData class="java.lang.String"/>
<responseFile class="java.lang.String"></responseFile>
<cookies class="java.lang.String"></cookies>
<method class="java.lang.String">GET</method>
<queryString class="java.lang.String"></queryString>
<java.net.URL>
http://site.company.com/pe/jscript/tiny_mce_326/tiny_mce_src.js
</java.net.URL>
</httpSample>
Re: why response assertion failure: "response was null"?
Posted by sebb <se...@gmail.com>.
On 24 June 2011 04:58, Will Milspec <wi...@gmail.com> wrote:
> Hi all,
>
> This second error/issue/puzzle I found tonight pertained to "failure true"
> response assertions when jmeter downloaded some javascript files.
>
> some points
> -The access logs show successful downloads for all requests to said file
> (tiny_mce_src.js)
> -The jmeter jtl log records some successes, some failures for this file.
> -if the server timed out, and the http client thought it received "null" or
> an empty string, I would have the status code would say something (and the
> error message would likewise differ)
>
> What does this "response assertion failure" mean (httpclietnt got nothing
> back, that it took too long,etc) ? Could jmeter have run out of resources?
> Could the server simply have taking too long and this "response assertion
> failure" is in fact a time out. (i.e. and a signal to beef up the server
> resource)
>
> thanks
>
> will
>
> <httpSample t="0" it="0" lt="0" ts="1308884487746" s="false"
> lb="tiny_mce_src" rc="204" tn="jp@gc - Stepping Thread Group 1-2" dt=""
> de="" by="0" sc="1" ec="1" ng="6" na="6" hn="i-715bde1d">
rc=204 - HTTP code 204 No Content
by = 0 = zero bytes in response.
> <assertionResult>
> <name>Response Assertion</name>
> <failure>true</failure>
> <error>false</error>
> <failureMessage>Response was null</failureMessage>
> </assertionResult>
> <responseHeader class="java.lang.String"></responseHeader>
> <requestHeader class="java.lang.String"></requestHeader>
> <responseData class="java.lang.String"/>
> <responseFile class="java.lang.String"></responseFile>
> <cookies class="java.lang.String"></cookies>
> <method class="java.lang.String">GET</method>
> <queryString class="java.lang.String"></queryString>
> <java.net.URL>
> http://site.company.com/pe/jscript/tiny_mce_326/tiny_mce_src.js
> </java.net.URL>
> </httpSample>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org