By default only HTTP Errors are flagged as errors. So if your applications returns a 200 code (with a human readable error message) then JMeter will treat it as success. 4xx and 5xx status code will be flagged as errors. So if you want to check for application errors you must use assertions - the most common one being response assertion. So for e.g. after login if you have a message stating "Login Successful" then you can add an assertion stating that "Login Successful" text must be present or perhaps you show an error message saying "login unsuccessful" then you can add an assertion station that Login unsuccessful must not be present- depending on how your application behaves you must add the appropriate assertion
regards deepak On Thu, May 13, 2010 at 11:44 PM, GautamPr <[email protected]>wrote: > > thanks for the reply....... > One more doubt:While i am sending wrong user id +Password to my login page > through Jmeter,then also I am getting status of the request as > success(Green > triangle with Tick mark). Please guide me to display the proper > icon(Failure > icon /Red triangle). Plz help me asap..... > > GautamPr wrote: > > > > Hi, > > I am new to Jmeter. Plz help me out. > > I want to display user defined msgs in jmeter say after passing or > > failure of the test. Is it possible? if yes, how?? > > > > -- > View this message in context: > http://old.nabble.com/Is-their-any-way-to-display-the-User-defined-messages-in-Jmeter--tp28546431p28555841.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

