On Thu, Mar 22, 2012 at 8:23 PM, Afkham Azeez <[email protected]> wrote:
> Folks, > Some people are in the process of adding test cases for sample. In > addition to testing the happy day scenario, the test cases should also test > the negative scenarios. For example, in AppServer, there are sample which > test all security scenarios. But these test the case where a user > successfully logs in and invokes the secured service. We need to add test > cases which would test the scenario where the user tries to login with an > invalid password, and unauthorized user who does not have the required role > tries to access the service, a user trying to access the service by signing > the request with an invalid key etc. If these tests were there, we would > have easily detected issues such as > https://wso2.org/jira/browse/CARBON-12679 > > Kasun, please make sure that these tests get added to AS. Create a Jira to > keep track of it. > Added the following bug to keep track of it https://wso2.org/jira/browse/CARBON-12725 Regarding the issue you pointed out, I also noticed this behavior, but didn't think about it much because I was unaware of the previous behavior. Thanks, --KasunG > Thanks > Azeez > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com , *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813* *linked-in: *http://lk.linkedin.com/in/gajasinghe* * *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org> * twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg> * *
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
