Page 1 of 1

DevKey Issue with Testlink 1.8.5

Posted: Fri Feb 19, 2010 1:59 am
by abadve
Hello

I have two users with admin rights created on Testlink version 1.8.5 When I create the API key for user A and use it from my API calls all the results are logged and it works. User B has also created API key. The API key only for userA works and the results are logged to the DB and I see that the test was tested by userA in the GUI interface. However the API key for userB does not work and the API calls return with invalid DevKey argument. Only one DevKey works for the DB API calls and I want it to show in the GUI whether userA or userB was testing the test case.

What is set wrong here?

Please help.

Thanks

Re: DevKey Issue with Testlink 1.8.5

Posted: Thu Apr 22, 2010 9:20 am
by Julien
Hi,

You can get the API Key in the file execSetResult with:
$args->user->userApiKey

After you can pass the key to your reportResult function.

Re: DevKey Issue with Testlink 1.8.5

Posted: Wed May 11, 2011 5:09 pm
by deb1bhu
you can search where the devkey is matching with whatever you are giving as devkey

go to your mysql --> testlink databse and check the exact devkey in the "users" table, and then see what the devkey u are passing

Hope it will help

Re: DevKey Issue with Testlink 1.8.5

Posted: Fri Oct 12, 2012 11:49 am
by sn82w
Am also facing the same problem. AM not able to find the Devkey in execSetResult with:
$args->user->userApiKey.

Can you suggest me where can i get the devkey..