Hi all,
I'm trying to write some tests for app manager and I want to login to store
with a non admin user. I updated automation.xml as below.
<userManagement>
<superTenant>
<tenant domain="carbon.super" key="superTenant">
<admin>
<user key="superAdmin">
<userName>admin</userName>
<password>admin</password>
</user>
</admin>
<users>
<user key="testuser1">
<userName>testuser1</userName>
<password>testuser1pass</password>
</user>
</users>
</tenant>
</superTenant>
<tenants>
</tenants>
</userManagement>
But when tests are running, it looks like "testuser1" is not available. It
gives following exceptions.
java.lang.Exception: Operation not successful: Invalid username or password.
at
org.wso2.appmanager.integration.utils.VerificationUtil.checkErrors(VerificationUtil.java:35)
at
org.wso2.appmanager.integration.utils.APPMStoreRestClient.login(APPMStoreRestClient.java:68)
at
org.wso2.appmanager.integration.test.cases.RatingTestCase.testWebAppRating(RatingTestCase.java:78)
Am I missing anything?
Thanks,
Lakshani
--
Lakshani Gamage
*Software Engineer*
Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev