Re: [Dev] [App Factory] How to retrieve SAML Response (SAML_TOKEN) for Integration tests

2015-05-05 Thread danushkaf
AFAIK there is no SAML protocol. We are always using SSL protocol. And the exception you mentioned is caused because client don’t trust the server. In SSL there is one way SSL and two way SSL or mutual SSL. This is about one way SSL where client needs to trust the server. Since in default packs

Re: [Dev] [App Factory] How to retrieve SAML Response (SAML_TOKEN) for Integration tests

2015-05-05 Thread Punnadi Gunarathna
Hi Danushka, I think the problem is occurred while executing the SAML protocol, not with SSL protocol. So the solution would be to create a new cert and key pairs with the custom domain and import them to keystore/trust store in both server side (AF setup) and client side (Integration tests). On

Re: [Dev] [App Factory] How to retrieve SAML Response (SAML_TOKEN) for Integration tests

2015-05-04 Thread danushkaf
For the ssl exception can’t you add system properties for truststore and truststore password in client side (automation test) ? Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 From: Punnadi Gunarathna Sent: ‎Monday‎, ‎May‎ ‎4‎, ‎2015

[Dev] [App Factory] How to retrieve SAML Response (SAML_TOKEN) for Integration tests

2015-05-04 Thread Punnadi Gunarathna
Hi All, In order to write integration tests related to API Manger calls, It requires to get the SAML_TOKEN as we have used SAML_TOKEN for login to API Manager in APIManagerIntegrationService. I had a offline chat with Dinusha and Lakmali and they provided me a code sample which does that with the