simpleseb
15 years agoNew Contributor
HTTP-Status Code
Hi,
I have a REST-Testcase where I want to check whether the HTTP-Status code of an HTTP-Response, which does _not_ have any content, is 200 and not 403 or 500.
Sounds quite easy, but the assertions always return the error 'null/empty response'. The Raw-View says among others 'HTTP/1.1 200 OK'.
So I modified the HTTP-Response so that it has a content, and the tests work just fine.
Is this a bug or a feature?
Thanks,
seb
I have a REST-Testcase where I want to check whether the HTTP-Status code of an HTTP-Response, which does _not_ have any content, is 200 and not 403 or 500.
Sounds quite easy, but the assertions always return the error 'null/empty response'. The Raw-View says among others 'HTTP/1.1 200 OK'.
So I modified the HTTP-Response so that it has a content, and the tests work just fine.
Is this a bug or a feature?
Thanks,
seb