Re: [Dev] Integration tests for App-Manager
Hi Thilini/Chamila/Roshan/Jenananthan, We have defined another test cases. Can you pick four out of them and work on once the initial tests are completed. 1. LifeCycle states - ( Application should be invokable only at the publish state. Test case need to cover the other states as well. Like publish and the change state into un-publish state and validate.) 2. Single Sing On between apps 3. Single logout between apps 4. JWT token generation - (Define set of claims and validate those getting pass with JWT properly) 5. Passing SAML token to backend 6. Throttling Regards, Dinusha. On Mon, Jul 7, 2014 at 10:39 AM, Rushmin Fernando rush...@wso2.com wrote: Created a JIRA issue [1] for the tags issue. [1] - https://wso2.org/jira/browse/APPM-33 On Sun, Jul 6, 2014 at 5:15 PM, Rushmin Fernando rush...@wso2.com wrote: Not allowing to add tags in creation time is a bug. Sorry about not reporting :-) Ratings were supposed to be fixed in ES. They did the fix from their side and were waiting on a BAM tool box fix [1] . I will follow up. [1] - https://wso2.org/jira/browse/BAM-1629 Thanks /rushmin On Sun, Jul 6, 2014 at 2:46 PM, Roshan Wijesena ros...@wso2.com wrote: Hi all, Few more updates on this task, 1 . We have successfully created basic test setup for APPM (App manager). For that we have used AM (Api Manager) integration test suite format as it is. 2. So far we have successfully created two test cases, one for login to store and one for login to publisher and it was a tricky one we had to use selenium automation in order to perform test on login as it has some SSO integration on it. we will update this thread as we are going forward. Thanks. On Sun, Jul 6, 2014 at 8:49 AM, Sumedha Rubasinghe sume...@wso2.com wrote: On Jul 5, 2014 8:15 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi, This is regarding the ratings for an application. Can you help me with these things. 1. You have mentioned about publishing app with tags (in 2). I could not find any place in publisher side to rate an application (I might have missed it. please can you tell how it is done). Rating is done at the store. 2. Can I rate an application by log in to the store (I tried by login to the store and rate an application but it does not work). Is there any setting that needs to be set while creating the app to enable the ratings? 3 There seems to be a problem when creating a tag. I can only add tags by editing the application (not during the creating time. the tags added at that time are ignored). Is this the way appmanager handles this featuer or is it a bug? This seems to be a bug. Please talk to Rushmin on both tags and ratings behaviour. Thanks, Chamila On Thu, Jul 3, 2014 at 9:42 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Integration tests for App-Manager
On Jul 5, 2014 8:15 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi, This is regarding the ratings for an application. Can you help me with these things. 1. You have mentioned about publishing app with tags (in 2). I could not find any place in publisher side to rate an application (I might have missed it. please can you tell how it is done). Rating is done at the store. 2. Can I rate an application by log in to the store (I tried by login to the store and rate an application but it does not work). Is there any setting that needs to be set while creating the app to enable the ratings? 3 There seems to be a problem when creating a tag. I can only add tags by editing the application (not during the creating time. the tags added at that time are ignored). Is this the way appmanager handles this featuer or is it a bug? This seems to be a bug. Please talk to Rushmin on both tags and ratings behaviour. Thanks, Chamila On Thu, Jul 3, 2014 at 9:42 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Integration tests for App-Manager
Hi all, Few more updates on this task, 1 . We have successfully created basic test setup for APPM (App manager). For that we have used AM (Api Manager) integration test suite format as it is. 2. So far we have successfully created two test cases, one for login to store and one for login to publisher and it was a tricky one we had to use selenium automation in order to perform test on login as it has some SSO integration on it. we will update this thread as we are going forward. Thanks. On Sun, Jul 6, 2014 at 8:49 AM, Sumedha Rubasinghe sume...@wso2.com wrote: On Jul 5, 2014 8:15 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi, This is regarding the ratings for an application. Can you help me with these things. 1. You have mentioned about publishing app with tags (in 2). I could not find any place in publisher side to rate an application (I might have missed it. please can you tell how it is done). Rating is done at the store. 2. Can I rate an application by log in to the store (I tried by login to the store and rate an application but it does not work). Is there any setting that needs to be set while creating the app to enable the ratings? 3 There seems to be a problem when creating a tag. I can only add tags by editing the application (not during the creating time. the tags added at that time are ignored). Is this the way appmanager handles this featuer or is it a bug? This seems to be a bug. Please talk to Rushmin on both tags and ratings behaviour. Thanks, Chamila On Thu, Jul 3, 2014 at 9:42 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Integration tests for App-Manager
Not allowing to add tags in creation time is a bug. Sorry about not reporting :-) Ratings were supposed to be fixed in ES. They did the fix from their side and were waiting on a BAM tool box fix [1] . I will follow up. [1] - https://wso2.org/jira/browse/BAM-1629 Thanks /rushmin On Sun, Jul 6, 2014 at 2:46 PM, Roshan Wijesena ros...@wso2.com wrote: Hi all, Few more updates on this task, 1 . We have successfully created basic test setup for APPM (App manager). For that we have used AM (Api Manager) integration test suite format as it is. 2. So far we have successfully created two test cases, one for login to store and one for login to publisher and it was a tricky one we had to use selenium automation in order to perform test on login as it has some SSO integration on it. we will update this thread as we are going forward. Thanks. On Sun, Jul 6, 2014 at 8:49 AM, Sumedha Rubasinghe sume...@wso2.com wrote: On Jul 5, 2014 8:15 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi, This is regarding the ratings for an application. Can you help me with these things. 1. You have mentioned about publishing app with tags (in 2). I could not find any place in publisher side to rate an application (I might have missed it. please can you tell how it is done). Rating is done at the store. 2. Can I rate an application by log in to the store (I tried by login to the store and rate an application but it does not work). Is there any setting that needs to be set while creating the app to enable the ratings? 3 There seems to be a problem when creating a tag. I can only add tags by editing the application (not during the creating time. the tags added at that time are ignored). Is this the way appmanager handles this featuer or is it a bug? This seems to be a bug. Please talk to Rushmin on both tags and ratings behaviour. Thanks, Chamila On Thu, Jul 3, 2014 at 9:42 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Integration tests for App-Manager
Created a JIRA issue [1] for the tags issue. [1] - https://wso2.org/jira/browse/APPM-33 On Sun, Jul 6, 2014 at 5:15 PM, Rushmin Fernando rush...@wso2.com wrote: Not allowing to add tags in creation time is a bug. Sorry about not reporting :-) Ratings were supposed to be fixed in ES. They did the fix from their side and were waiting on a BAM tool box fix [1] . I will follow up. [1] - https://wso2.org/jira/browse/BAM-1629 Thanks /rushmin On Sun, Jul 6, 2014 at 2:46 PM, Roshan Wijesena ros...@wso2.com wrote: Hi all, Few more updates on this task, 1 . We have successfully created basic test setup for APPM (App manager). For that we have used AM (Api Manager) integration test suite format as it is. 2. So far we have successfully created two test cases, one for login to store and one for login to publisher and it was a tricky one we had to use selenium automation in order to perform test on login as it has some SSO integration on it. we will update this thread as we are going forward. Thanks. On Sun, Jul 6, 2014 at 8:49 AM, Sumedha Rubasinghe sume...@wso2.com wrote: On Jul 5, 2014 8:15 PM, Chamila Adhikarinayake chami...@wso2.com wrote: Hi, This is regarding the ratings for an application. Can you help me with these things. 1. You have mentioned about publishing app with tags (in 2). I could not find any place in publisher side to rate an application (I might have missed it. please can you tell how it is done). Rating is done at the store. 2. Can I rate an application by log in to the store (I tried by login to the store and rate an application but it does not work). Is there any setting that needs to be set while creating the app to enable the ratings? 3 There seems to be a problem when creating a tag. I can only add tags by editing the application (not during the creating time. the tags added at that time are ignored). Is this the way appmanager handles this featuer or is it a bug? This seems to be a bug. Please talk to Rushmin on both tags and ratings behaviour. Thanks, Chamila On Thu, Jul 3, 2014 at 9:42 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: ros...@wso2.com *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware email : rush...@wso2.com mobile : +94772310855 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Integration tests for App-Manager
Hi, This is regarding the ratings for an application. Can you help me with these things. 1. You have mentioned about publishing app with tags (in 2). I could not find any place in publisher side to rate an application (I might have missed it. please can you tell how it is done). 2. Can I rate an application by log in to the store (I tried by login to the store and rate an application but it does not work). Is there any setting that needs to be set while creating the app to enable the ratings? 3 There seems to be a problem when creating a tag. I can only add tags by editing the application (not during the creating time. the tags added at that time are ignored). Is this the way appmanager handles this featuer or is it a bug? Thanks, Chamila On Thu, Jul 3, 2014 at 9:42 AM, Dinusha Senanayaka dinu...@wso2.com wrote: Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ -- Regards, Chamila Adhikarinayake Software Engineer WSO2, Inc. Mobile - +94712346437 Email - chami...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Integration tests for App-Manager
Hi Thilini/Chamila/Roshan/Jenananthan, 0. One of you need to create the integration module for AppM. (Take a copy from the API Manager and delete the all unnecessary classes and resources. Keep only the server startup test). Following are the 4 use cases that we could start writing integration tests. Each of you can pick one of them. (Reply to this, who is going to do which one). 1. Create/Publish an application 2. Tags/ratings (Publish application with tags and ratings and validate those comes to the store correctly) 3. Subscribe /unsubscribe 4. Private APIs (Publish application with private visibility and validate the both scenarios. i.e. try to subscribe to non visible app. And try to subscribe from authorized user) Those test cases will be co-related. Publish application test case will be need for all other tests. Subscribe test case can be used for 4th. We ll try to get those done and familiar with the test framework. There should be test cases written in API Manager to test the same functionalities. You could refer them. Regards, Dinusha. -- Dinusha Dilrukshi Senior Software Engineer WSO2 Inc.: http://wso2.com/ Mobile: +94725255071 Blog: http://dinushasblog.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev