On 25/07/06, Daman Jawda <[EMAIL PROTECTED]> wrote:
I'm trying to test a POST form with a numeric input , for which I send a
text value with a JMeter HTTP Request sampler - so I'm expecting an
exception and an a HTTP Response code 500 "internal server error".
This is the expected response and it shows up using another testing software
product. So why is JMeter receiving a 200 Response code ??? What could I be
doing wrong?
Perhaps the validation is normally done by some client-side Javascript?
Are you sure the server does validation?
If so, it ought to return a better error than HTTP Response code 500,
which should be reserved for unexpected server errors. Either a 4xx
error, or more usually it will return a response code of 200, and
include some form of error message on the returned page.
What happens if you try testing using a browser with JavaScript
switched off, or using a browser such as lynx or OffByOne that does
not support JavaScript?
My server is a Jakarta-Tomcat 1.5 and the form is a jsf.
My JMeter is 2.2 .
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]