TestRail
Last updated
Last updated
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.
Login to your TestRail account.
Create a new project. ex: loadmilldocs
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.
Go to Administration > Site Settings > API > Check the "Enable API" checkbox > Click on "Save Settings"
Go to your user name (top-right) > My Settings > API Keys.
Click on Add key.
Name your API key.
Click on "+ Generate Key".
Copy the generated API key.
Click on "+ Add Key".
Click on Save Settings afterwards.
Description (optional) - you can name it loadmill-integration.
Domain - domain of the account (ex: https://organization.testrail.io
).
Username - same as your email used to sign up to TestRail with.
Token - copied token from the "Generating API Key" steps.
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:
Go to your project > Test Runs & Results tab > + Add Test Plan (on your right)
Setup your TestRail Test Plan name and information if necessary.
Click on ✓ Add Test Plan.
Go to your Loadmill account > Select a Test Plan of your choice
Select the dropdown arrow from the Run Test Plan button.
Click on "Run with TestRail Plan".
Select a test plan from the dropdown.
Click on "Run Test Plan"
You can skip steps from 1 to 3 if you already have a Test Plan configured on TestRail
Navigate to your Loadmill account > Settings > Inetgrations > Click on .