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

Selenium/Testrail integreation with new auth token instead of user/pass?

Hello,

Our test automation has been setup with test rail using the APIClient with set user and set password. With the 5.7 updates I understand that those values will no longer work.

After generating an API auth token in test rail, how can I tell my automation to use that token to continue posting results like it was before.

Currently the automation authorization looks something like this:

            APIClient client = new APIClient(testRailBaseUrl);
	client.setUser(testRailUserEmail);
	client.setPassword(testRailUserPass);

I don’t see an option to use something like client.setToken()