Hi,
I am currently evaluating TestLink to see if this is the test case management tool we want to use at my company. I am trying out the ruby example from the API but I keep getting the error:
result was: code2000messageCan not authenticate client: invalid developer key
So, I am trying to figure out where this developer key is. I looked in the mysql testlink.users table and found a similar looking string in the password column, but that didn't work either. Any hints on where this devkey is or how to generate it? Sorry if this was mentioned elsewhere, but I searched the forum and didn't find the answer. Thanks.
Kind regards,
Cynthia
API: invalid developer key
Moderators: Amaradana, TurboPT, TL Developers
Hi,
Maybe I am not looking in the right place? Where would I see this developer key? In the user management page? I have created a few different users, one with admin role, the other with test designer role. I didn't see any indication in the UI of a developer key. Please advise.
Kind regards,
Cynthia
Maybe I am not looking in the right place? Where would I see this developer key? In the user management page? I have created a few different users, one with admin role, the other with test designer role. I didn't see any indication in the UI of a developer key. Please advise.
Kind regards,
Cynthia
Hi,
I think I am getting further now. I was able to get the button to generate the developer key. But when I click it, I get this error:
Fatal error: Call to undefined function xgenerateapikey() in C:\xampp\htdocs\testlink\lib\usermanagement\userInfo.php on line 53
I had to change line 53 from:
$op = xgenerateApiKey($args);
to:
$op = generateApiKey($args);
in order for the key to be generated. But now I can learn how to script against the API. Thanks for your help.
Kind regards,
Cynthia
I think I am getting further now. I was able to get the button to generate the developer key. But when I click it, I get this error:
Fatal error: Call to undefined function xgenerateapikey() in C:\xampp\htdocs\testlink\lib\usermanagement\userInfo.php on line 53
I had to change line 53 from:
$op = xgenerateApiKey($args);
to:
$op = generateApiKey($args);
in order for the key to be generated. But now I can learn how to script against the API. Thanks for your help.
Kind regards,
Cynthia