hello,

I need to do some testing where access to a given Tomcat servlet is restricted on a time basis.
The products look something like this


product 1 - access permitted only on weekdays
product 2 - access permitted only on weekends
product x - access permitted only at nighttime (0-8 and 18-24)
....and so on, where the "product" is basically a different http request to the servlet


So, when testing product 1 for example, I would ideally like to have the response assertion work like this
a) if it's Monday to Friday, expect a successful authentication, fail otherwise
b) if it's the weekend, expect an "access denied" status code, fail otherwise
... and so on, product x would expect successful authentication only at nighttime....


I know this type of testing is slanted more towards functionality rather than load/performance, but I was wondering if there was a way to do this with JMeter. A quick scan through doc and faq did not show anything

thanks and best regards,
Ivan

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



Reply via email to