Hi All, We are working on modifying the existing test cases based on old jaggery APIs which is deprecated to use the new REST APIs based on CXF. Since the new REST APIs are designed using swagger based, we can generate client libraries for each publisher/store and admin REST APIs using swagger and use them in test cases.
*Objectives of this task:* 1. Jaggery APIs are deprecated so we need to gradually move the code we are using them to use the new REST API. 2. Find the limitations of the REST APIs and fix them while we are writing the tests which will help REST APIs to stabilize. On a separate note, we can also consider improving the existing data driven tests module for the REST APIs. 1. Remove hardcoded payloads and use a proper way since its difficult to maintain them when API changes happens (need to change many duplicated places where payloads hardcoded). [1] 2. Proper assertion handling. @Praminda, please add anything if I have missed. Appreciate your thoughts on this. Thanks, Malintha [1] https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/resources/rest-api-test-data/APITestCase.txt -- Malintha Amarasinghe Software Engineer *WSO2, Inc. - lean | enterprise | middleware* http://wso2.com/ Mobile : +94 712383306
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
