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
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
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,
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
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