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

Unable to Generate API Key


#1

I tried to generate an API Key by accessing add_test_change.php from a browser, but there is no API Key displayed.

This is what I see:

"Please visit the project website for the TestRail Mini API to learn more about this script:

TestRail Mini API

You haven’t entered an API key for this script. You can use the following key:"


#2

Hello Gary,

There was a problem with generating the sample API key on systems with a specific PHP configuration disabled. It didn’t affect other functionality of the script. We’ve just updated the script and uploaded a new version:

http://code.gurock.com/p/testrail-miniapi/downloads/10/

The API key generation was just added for convenience and you could just use a random password as well. So if you’ve already configured a key by now, there’s no need to download the new version.

Thanks,
Dennis