我们最近将TFS 2012升级到TFS 2015 Update 1,我想使用新的TFS REST API来检索测试用例/计划。
所以我使用以下网址对浏览器进行了快速测试,一切顺利:http://.../DefaultCollection/_apis/projects?api-version=1.0
但是当我试图特别使用该网址获取测试计划时: http://.../DefaultCollection/ProjectXYZ/_apis/test/plans?api-version=1.0
我收到了以下错误:
{"$id":"1","innerException":null,"message":"TF400409: You do not have licensing rights to access this feature: Web-based Test Case Management","typeName":"Microsoft.TeamFoundation.Server.Core.MissingLicenseException, Microsoft.TeamFoundation.Server.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","typeKey":"MissingLicenseException","errorCode":0,"eventId":3000}
那么如何激活“许可证”?
答案 0 :(得分:0)
Ok problem solved by following the following instructions : http://www.alexandervanwynsberghe.be/tf400409-you-do-not-have-licensing-rights/
So basically I only had to set the "default access level" to advanced in the web control panel.