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
DevKey Issue with Testlink 1.8.5
Moderators: Amaradana, TurboPT, TL Developers
Re: DevKey Issue with Testlink 1.8.5
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.
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
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
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
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..
$args->user->userApiKey.
Can you suggest me where can i get the devkey..