API Test Case (name=xx/id=) is not associated with Test Plan

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
rajeevanand
Advanced user
Posts: 20
Joined: Tue Oct 21, 2008 6:41 am
Location: Bangalore, INDIA
Contact:

API Test Case (name=xx/id=) is not associated with Test Plan

Post by rajeevanand »

On one of the projects, we are getting this error message:

[{'message': 'Test Case (name=xx/id=) is not associated with Test Plan (name=tt/id=5314).', 'code': 3030}]

However, I'm sure that the test case has been associated to the test plan being executed and the tests appear in Test execution.

Testplan ID: 5430
Build ID: 750
Testcase ID: 5147
Debug: [{'message': 'Test Case (name=Overview/id=) is not associated with TestPlan (name=raTest/id=5430).', 'code': 3030}]

As you can see, I have fetched the testplanid, buildid, testcaseid using an API call before submitting an updateTC call.

This is weird because a lot of other project seem to work fine and we use the same API calls to update results on Testlink via xmlrpc.

Any thoughts on this?

PS: This problem happens for only a few tests on the plan. I have even tried to create a new plan and the same tests and run. But result is same. I manually updated results from Testlink UI and there were no errors. Results got update. This seems to be a problem when tried through the API in this case.

Any help would be appreciated.

Thank you.

Rajeev
Participate and help people become better testers
http://www.softwaretestingconcepts.com
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Test Case (name=xx/id=) is not associated with Test Plan

Post by fman »

a very important info is missing.
When you get the message :
[{'message': 'Test Case (name=xx/id=) is not associated with Test Plan (name=tt/id=5314).', 'code': 3030}]

using what feature ?
What TestLink Version are you using ?
This seems like a debug message that was not removed .
rajeevanand
Advanced user
Posts: 20
Joined: Tue Oct 21, 2008 6:41 am
Location: Bangalore, INDIA
Contact:

Re: Test Case (name=xx/id=) is not associated with Test Plan

Post by rajeevanand »

Testlink version is 1.9.3.

Feature: update test case using API reportTCResult. As mentioned earlier, I have all the arguments needed for this call to succeed.

Not sure under what circumstances, this problem occurs. Please take a look.
Participate and help people become better testers
http://www.softwaretestingconcepts.com
rajeevanand
Advanced user
Posts: 20
Joined: Tue Oct 21, 2008 6:41 am
Location: Bangalore, INDIA
Contact:

Re: API Test Case (name=xx/id=) is not associated with Test

Post by rajeevanand »

Hi

Any updates on this ?

Thanks
Rajeev
Participate and help people become better testers
http://www.softwaretestingconcepts.com
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: API Test Case (name=xx/id=) is not associated with Test

Post by fman »

update to 1.9.4 and retest
Post Reply