Bitbucket
Last updated
Last updated
Bitbucket integration is a great way to speed up your development process. By integrating Bitbucket with Loadmill, you can automatically test your code as you make changes. This makes it easy to find and fix bugs quickly and ensures that your code is always up to date.
Make sure to have an Atlassian account to connect to Bitbucket.
Go to Settings > Integrations.
Click on the button.
Grant Loadmill access to your Bitbucket account.
Select your repository.
You might be redirected to the Atlassian login page when connecting Loadmill to Bitbucket. Login using your Atlassian credentials and set up a Bitbucket username to complete the registration.
Now that your Bitbucket integration is all set up head over and sync your Test Suite to your repository.
Select the Test Suite you wish to connect your repository to.
Select the "Bitbucket Sync" tab.
Select or create a new branch from the Sync Actions section.
Enter a commit message (example: my first commit).
You can configure your Test Plan to run with the latest syncs of your test suites repositories. That means your Test Plan will run with the latest Test Suite synced commits.
To configure this option:
Head over to any Test Plan you wish to connect your repository to.
Select the "Run Settings" tab of the Test Plan.
Select the branch containing the synced Test Suite.
Your Test Plan will now run on the latest committed version of the Test Suites.
Changing your Test Suites locally will not affect the Test Plan run until you commit your changes to Bitbucket.
Loadmill can similarly track syncs made directly through Bitbucket. Simply commit a new change from your repository and you'll be able to see the commit change under the Bitbucket Sync tab of your Test Suite.
To do that:
Edit your Test Suite file from your Bitbucket repository.
Commit the changes made.
Enter your commit message and create a pull request from this change.
Click on "Merge" from your pull request.
Go back to your Test Suite > Bitbucket Sync on the Loadmill app.
Notice the latest commit under the "Branch History" section.
Click on "Checkout".
See the changes on your Test Suite.
To create a new branch (or update an existing one) from the Loadmill app:
Head over to your Test Suite.
Select the "Bitbucket Sync" Tab.
Under Sync Actions > Commits.
Type in the new branch name (or select an existing one).
Commit the changes done on your test suite.
Click on "Create Pull Request"
Clicking "Create Pull Request" enables you to view the changes in the Test Suite and create a pull request for your synced Bitbucket branch. There, you'll be able to manage and merge when ready.
Click on .