CAPABILITY GENERATOR

LambdaTest DocumentationAutomation Testing ● Bamboo Integration With LambdaTest

Bamboo Integration With LambdaTest


Launched on 20 February 2007, Bamboo by Atlassian has become a worldwide adopted CI CD tool. With Bamboo Server, you can generate multi-level build plans with the ease of defining triggers to specific builds post commits. You could also assign crucial builds or deployments to a colleague. Bamboo is free for open-source projects.

LambdaTest provides an integration with Bamboo, using which you can perform cross browser testing on a cloud-based Selenium Grid consisting 2000+ real browsers, for both desktop & mobile. You can perform tests directly from your respective Bamboo server, so you could perform browser compatibility testing as soon as you commmit changes to your build. If you are running short on release window, then you can scale your tests as per you need. LambdaTest offers parallel testing to help you run multiple test cases, simultaneously. Now, you can chop down your release cycles and ship faster by integrating your LambdaTest account with your Bamboo CI CD server.

Prerequisites


  • You would need a Bamboo Server installed.
  • A GIT repository.
  • wget & unzip utiltity.
    $ sudo apt-get install unzip
    $ sudo apt-get install wget
  • LambdaTest Authentication Credentials
  • Be aware of your LambdaTest authentication credentials i.e. your LambdaTest username, access key and HubURL. You need to set them up as your environment variables. You can retrieve them from your LambdaTest automation dashboard by clicking on the key icon near the help button.

    • For Linux/Mac:
      $ export LT_USERNAME= {your lambdatest username}
      $ export LT_ACCESS_KEY= {your lambdatest access_key}
    • For Windows:
      $ set LT_USERNAME= {your lambdatest username}
      $ set LT_ACCESS_KEY= {your lambdatest access_key}

Integrating LambdaTest With Bamboo Server


Step 1: Deploy your Bamboo server & login as an administrator.

Step 2: Create a new plan with Default stage & job.

Step 3: After creating a new job, we would need to add 3 tasks.

Add 3 Tasks

Step 4: To create your first task “Source Code Checkout”, you need to fetch the relevant Git repository.

Step 5: Task number two would require to you install the required package for npm.

Install npm package

Step 6: To create your third task, you would need to configure the below script for running a Protractor test.

Step 7: Now, you need to save the plan & run it. As you run the test you will find the below logs in Bamboo highlighting that the test was successfully executed on LambdaTest Selenium Grid.

Running Multiple Tests In Parallel


Parallel Testing is one of the most demanding features of LambdaTest Selenium Grid. By parallel testing, you can run more than one test case, simultaneously. So you can execute a single test scenario across different browsers or could run different test scenarios across the same browser but with different browser versions. Wondering how many parallel test cases can you run? That depends entirely on the number of concurrent session under your opted plan.

In order to run parallel tests using Bamboo integration with LambdaTest. You need to change the script in Step 6 as below.

Monitor and analyze your test result on the LambdaTest Automation Dashboard.

Deploy your code in a reliable manner at scale using Bamboo integration with LambdaTest, and ensure it looks robust across every browser to provide a seamless user experience to all your visitors. Happy Testing! 🙂