Hi Erandi,

You can refer APIM product integration test module for doing this[1]. We
have defined required dependencies for backend tests in test-back end pom
file [2] and  you can find relevant dependency versions in parent poms.

[1].
https://github.com/wso2/product-apim/tree/master/modules/integration/tests-integration

[2].
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/pom.xml

Regards,
Malintha

On Wed, Feb 17, 2016 at 4:29 PM, Erandi Ganepola <[email protected]> wrote:

> Hi All,
>
> I'm trying to run APIM Integration test cases(wriiten in testng framework)
> through "Cloud Heartbeat system" and I'm using APIM testng.xml and
> automation.xml files. Through my code I'm reading those files and going to
> run integration test cases.
>
> I have added below dependencies to relevant pom in my project. But still
> it has some issues with resolving the class paths.
>
> Can someone explain what are the exact dependencies I should use or is
> there a matter with feasibility of this scenario?
>
> <dependency>
>             <groupId>org.wso2.am</groupId>
>
> <artifactId>org.wso2.carbon.am.integration.backend.test</artifactId>
>             <version>1.10.1-SNAPSHOT</version>
>         </dependency>
> <dependency>
>             <groupId>org.wso2.am</groupId>
>             <artifactId>org.wso2.am.integration.admin.clients</artifactId>
>             <version>1.10.1-SNAPSHOT</version>
>         </dependency>
>         <dependency>
>             <groupId>org.wso2.am</groupId>
>
> <artifactId>org.wso2.am.integration.test.extensions</artifactId>
>             <version>1.10.1-SNAPSHOT</version>
>         </dependency>
>         <dependency>
>             <groupId>org.wso2.am</groupId>
>
> <artifactId>org.wso2.am.integration.common.test.utils</artifactId>
>             <version>1.10.1-SNAPSHOT</version>
>         </dependency>
>         <dependency>
>             <groupId>org.wso2.am</groupId>
>             <artifactId>org.wso2.am.integration.ui.pages</artifactId>
>             <version>1.10.1-SNAPSHOT</version>
>         </dependency>
>
> Thanks and Regards,
> Erandi.
>
> Erandi Ganepola
> Software Engineering Intern
> +94710695692
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Malintha Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:    http://malinthas.blogspot.com
Page:   http://about.me/malintha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to