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

How to logout TestRail session using API


I want to logout session of testrail using API.

I have integrated the testrail into macro and it is working fine. I just need to know how can i logout the session using API. For Jira Logout API, I am using below method which is working fine.

Dim JiraLogoutSer As New MSXML2.XMLHTTP60
 With JiraLogoutSer
.Open "DELETE", "", False
 End With



Thanks for reaching out! We don’t currently have an API method for session logouts. However, you can configure this within TestRail under Administration > Site Settings > Sessions. You can choose between a few options or create a custom timeout period.

I hope this helps!

Best Regards,