Loadmill now integrates with TestRail, a comprehensive, test management product that enables you to create and sync test suites, plans and their related data in one place.
- 1.Login to your TestRail account.
- 2.Create a new project.
- 3.Make sure you select "Use multiple test suites to manage cases" when creating your project.
You can also change your current project settings by going to Administration > Project > Select your project > Edit
Selecting "Use multiple test suites to manage cases" when creating your project is essential for your integration as Loadmill applies the same structure to create and update test suites.
- 1.Go to Administration > Site Settings > API > Check the "Enable API" checkbox > Click on "Save Settings"
- 2.Go to your user name (top-right) > My Settings > API Keys.
- 1.Click on Add key.
- 2.Name your API key.
- 3.Click on "+ Generate Key".
- 4.Copy the generated API key.
- 5.Click on "+ Add Key".
- 6.Click on Save Settings afterwards.
- 1.Navigate to your Loadmill account > Settings > Inetgrations > Click on.
- 2.Description (optional) - you can name it loadmill-integration.
- 3.Domain - domain of the account (
- 4.Username - same as your email used to sign up to TestRail with.
- 5.Token - copied token from the "Generating API Key" steps.
- 6.Project - name of the project you created.
You can pair your Loadmill suite to an existing TestRail suite or have Loadmill create a new TestRail Test Suite every time you pair your Loadmill suite. Every test runs will automatically report to the TestRail suite the Loadmill suite is assigned to.
To enable Test Suite Pairing you need to enable CI for the desired flow. This is an essential step as it automates Xray reports on run.
Running your test case will trigger a TestRail Test Run report on the selected TestRail suite. You can view your TestRail report to keep track of the data and test runs. This is an exciting way to ensure that your tests are being run as planned and that you're getting the most accurate results possible.
You can access your TestRail results from the Loadmill Test Run results and vice versa. Simply open the "Configuration" of your Loadmill Test Run and click on the TestRail Suite ID to access your TestRail results. From TestRail, select the Test Runs & Results tab > Open a Test Run and click on the link from the run description.
You can also connect a Loadmill Test Plan with a TestRail Test Plan:
- 1.Go to your project > Test Runs & Results tab > + Add Test Plan (on your right)
- 2.Setup your TestRail Test Plan name and information if necessary.
- 3.Click on ✓ Add Test Plan.
- 4.Go to your Loadmill account > Select a Test Plan of your choice
- 5.Select the dropdown arrow from the Run Test Plan button.
- 6.Click on "Run with TestRail Plan".
- 7.Select a test plan from the dropdown.
- 8.Click on "Run Test Plan"
You can skip steps from 1 to 3 if you already have a Test Plan configured on TestRail