Hi, In this class[1] we populate users for tenant. you can go through addTenantUsers method and see how you can add users.
[1] https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-extensions/src/main/java/org/wso2/carbon/integration/common/extensions/usermgt/UserPopulator.java Thanks, Iqbal On Tue, Jan 27, 2015 at 5:55 PM, Pasadi Munasinghe <[email protected]> wrote: > Hi Irham, > > Thank you for the reply. > What I actually need to do is to create one tenant and make him execute a > certain process and the other one should log in and some other process. Can > you please elaborate how can I get each user to perform their respective > activities..?? > Thanx..!! > > On Tue, Jan 27, 2015 at 5:40 PM, Irham Iqbal <[email protected]> wrote: > >> Hi Pasadi, >> >> You can use automation.xml[1] to create multiple tenants. >> You can define your tenants inside <userManagement> tag and inside < >> listenerExtensions> tag add the extension class[2]. This >> automation.xml[1] already has those configuration. >> >> [1] >> https://github.com/wso2/product-as/blob/master/modules/integration/tests-integration/tests/src/test/resources/automation.xml >> >> >> [2]org.wso2.carbon.integration.common.extensions.usermgt.UserPopulateExtension >> >> >> Thanks, >> Iqbal >> >> On Tue, Jan 27, 2015 at 5:20 PM, Pasadi Munasinghe <[email protected]> >> wrote: >> >>> Hi, >>> I am in the process of implementing a test case where initially 2 tenant >>> users should be able to log in. How should I do this..?? >>> Thanx..!!! >>> -- >>> Pasadi Munasinghe >>> Software Engineer Intern >>> WSO2, Inc >>> Mobile: +9471 377 5515 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Irham Iqbal >> Software Engineer - Test Automation >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> phone: +94 777888452 >> > > > > -- > Pasadi Munasinghe > Software Engineer Intern > WSO2, Inc > Mobile: +9471 377 5515 > -- Irham Iqbal Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 777888452
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
