An open API service indexing awesome lists of open source software.

https://github.com/lambdatest/lambdatest-calliope-integration

LambdaTest and Calliope Integration
https://github.com/lambdatest/lambdatest-calliope-integration

Last synced: 5 months ago
JSON representation

LambdaTest and Calliope Integration

Awesome Lists containing this project

README

        

# LambdaTest and Calliope Integration

Using this repository you can now send test execution results of selenium tests run on [LambdaTest](https://www.lambdatest.com/) Selenium Automation Grid platform to Calliope analytics. In this repository we are using TestNG framework to run Selenium tests, which are being executed at [LambdaTest Selenium Grid](https://www.lambdatest.com/selenium-automation), and the results of the executed tests would be be pushed to Calliope analytics platform.

The first step is setting up environment.

## Setting up TestNG Environment

### Adding LambdaTest Credentials

In BaseTest.java file, add LambdaTest credentials to the defined variables:

- username = < your lambdatest username >
- accesskey = < your lambdatest access_key >

you can find these credentials in your [LambdaTest automation dashboard](https://automation.lambdatest.com/) or You can get this credentials from [LambdaTest Capability Generator](https://www.lambdatest.com/capabilities-generator/)
### Configuring Calliope Credentials

In CalliopeAPI.java file, add your test result file path and Calliope details to the defined variables:
• report_filename = < your result file directory path>
• endpoint_url = < your calliope profile number>
• API_KEY = < your calliope API key>
You can get this details from Calliope API webpage. You can learn more about it in Calliope docs [here](https://docs.calliope.pro/import/api-import/).

## Running Tests
In this repository, we have a BaseTest.java file in which you can add your your test cases/methods along with the desired configuration on which you want to run your test on.

## Output
After running BaseTest.java file you would get your test session data to your Calliope profile. You would also get the same data on your local console itself along with the Calliope profile link where your data has been pushed.

### Important Note

`Calliope accepts different format result files for different frameworks. For ex: XML for TestNG,JUnit,NUnit and JSON for Cucumber. Check the test report result file supported by Calliope from link:
https://docs.calliope.pro/supported-formats/other-formats/`

## About LambdaTest

[LambdaTest](https://www.lambdatest.com/) is a cloud based selenium grid infrastructure that can help you run automated cross browser compatibility tests on 2000+ different browser and operating system environments. LambdaTest supports all programming languages and frameworks that are supported with Selenium, and have easy integrations with all popular CI/CD platforms. It's a perfect solution to bring your [selenium automation testing](https://www.lambdatest.com/selenium-automation) to cloud based infrastructure that not only helps you increase your test coverage over multiple desktop and mobile browsers, but also allows you to cut down your test execution time by running tests on parallel.