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. 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*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
