Links

GitLab

You can easily set up Loadmill to automatically run your tests as part of your continuous integration (CI) workflow.

Gitlab Integration Setup

  1. 1.
    Go to Settings > Integrations.
  2. 2.
    Click on the
    connect to gitlab
    button.
  3. 3.
    Authorize Loadmill to use your account.
  4. 4.
    Select the project to enable data sync to and click on
    connect to project
    .

Syncing your Test Suite

Now that your GitLab integration is all set up head over and sync your Test Suite to your repository.

To sync your Test Suite to your GitLab repository:

  1. 1.
    Select the Test Suite you wish to connect your repository to.
  2. 2.
    Select the "GitLab Sync" tab.
  3. 3.
    Select or create a new branch from the Sync Actions section.
  4. 4.
    Enter a commit message (example: my first commit).
  5. 5.
    Click on
    commit
    .

Merging Branches

Loadmill makes it easy to merge your commits directly through its interface. Simply select the commits you want to merge, and Loadmill will handle the rest.

Running Test Plans with GitLab

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:
  1. 1.
    Head over to any Test Plan you wish to connect your repository to.
  2. 2.
    Select the "Run Settings" tab of the Test Plan.
  3. 3.
    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 GitLab.

Syncing from your GitLab Repository

  1. 1.
    Edit your Test Suite file from your GitLab repository.
  2. 2.
    Commit the changes made.
  3. 3.
    Go back to your Test Suite > GitLab Sync on the Loadmill app.
  4. 4.
    Notice the latest commit under the "Branch History" section.
  5. 5.
    Click on "Checkout".
  6. 6.
    See the changes on your Test Suite.