Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-17 Thread Hemika Kodikara
Hi All, I was able to find the issue. I have mistakenly forgotten to put Login permission for that user. Later had trouble connecting to the stub. But apparently it was an issue from my side. Sorry for the late reply and trouble. Thanks for the responses. Thanks, Hemika Hemika Kodikara

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Waruna Perera
Hi Hemika, Can you try the same thing in following manner as suggested below and see whether user can login. create UserManagementClient. login to tenant using UserManagementClient create user with required permission via UserManagementClient login with created user Then we can pin point the

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Hemika Kodikara
Hi Nuwan, Yes that is there as well. Attaching the automation.xml. Following gets printed on the console. Jan 16, 2015 1:25:18 AM org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator addTenantUsers INFO: User - permissionUser created in tenant domain of carbon.super Regards,

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Saneth Dharmakeerthi
Hi Hemika, Can you please check whether you can manually login to the server with permissionUser by putting a long sleep or debug point before the String loginSession = loginLogoutClient.login();, so we can verify that the users is correctly created in the system with correct credential. Also

Re: [Dev] Unable to login to LoginLogoutClient by a user for a test case due to an error

2015-01-15 Thread Nuwan Wimalasekara
Hi Can you please check whether the user is created on the server. In order to create the user at the test execution time, you need to have the UserPopulateExtension in automation.xml platformExecutionManager extentionClasses class