Subscribe Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

Testrail automation - base URL

As I was exploring test api classes and functions, I couldn’t find any base URL for testrail api .

Is there a base URL for testrail similar to the one in JIRA tool or is there a different method to access API

Hi @Frank,

Thanks for the post. When using TestRail’s API, the base URL will be as follows:

https://<your-server>/index.php?/api/v2/

Simply replace with the actual location of your TestRail instance, whether you have TestRail installed locally or use TestRail Cloud. You can find example curl requests in our documentation here.

If you use any of the API bindings linked in our documentation, you do not need to include index.php?/api/v2, as the bindings will take care of this for you.

Hope this helps,
Jon

1 Like