On 21/03/06, tere ventura <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Im testing a page where in there is a date field. On the browser page, if I
> enter an invalid date(dates later than current date), an error message pops
> up, saying the date is invalid.
>
> I made a recorded test plan on jmeter for the said page, entered an invalid
> date and the page goes through up to the end of the process. This is not
> suppose to happen..
>
> Is there a way where I can validate those date fields on Jmeter?
> How?

Use a Response Assertion:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion

> Also, how can I force the testing to stop whenever I encounter this invalid
> dates?

Use a Result Status Action Handler:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Result_Status_Action_Handler

or set the appropriate item on the Thread Group:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Thread_Group

>
> Thanks,
> Tess
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to