Hi Danushka, HTTP client you used is quite out dated We have two new rest clients designed to work generically using wink and JAX-RS2.
We are moving the generic client to the automation utility space so you can useit. For now please refer G-Reg Store- publisher test cases for reference. We will push it to generic location and post you the location. Thank you, Dharshana. On Thu, Mar 10, 2016 at 9:55 AM, Danushka Fernando <danush...@wso2.com> wrote: > Hi All > > I am currently working on developing test cases for appcloud. Here I have > reused the code we developed for app factory. We are executing the tests > via the rest api of the jaggery app. Here also as same as App Factory we > are first calling the login rest api get the session and then calling the > create application endpoint with the session header. > > But when I tried with the test case for app cloud, login call succeed and > for create application call I am getting the carbon login page as the > result. I tried the same urls I used in test cases in curl commands and > they works as expected. Here I am using the HTTPRequestUtil provided by > automation framework. > Any Ideas what's going wrong here. Any Ideas would be appreciated. > > Thanks & Regards > Danushka Fernando > Senior Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > -- Dharshana Warusavitharana Senior Software Engineer , Test Automation WSO2 Inc. http://wso2.com email : dharsha...@wso2.com <dharsha...@wso2.com> Tel : +94 11 214 5345 Fax :+94 11 2145300 cell : +94770342233 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev