|Anonymous | Login | Signup for a new account||2019-07-17 07:42 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008709||TestLink||API - XMLRPC||public||2019-06-25 09:39||2019-06-26 15:59|
|Product Version||1.9.19 (2019 Q1)|
|Fixed in Version|
|Summary||0008709: Requirements API|
I would like to assign some requirements to testcase thanks to the API, but it is not currently possible.
I use the Python API, and I spoke with the developper to know if he was able to add the feature that I was needing, and he said that he couldn't, because the API doesn't have the material to do it. (see : https://github.com/lczub/TestLink-API-Python-client/issues/120 [^])
That's why I make this issue, I would know if it's possible to :
- get the srs_id requested via the api
- have a function that would be the inverse of getReqCoverage, returning all requirements (or id and srs_id) assigned to a test case.
|Tags||No tags attached.|
|QA Team - Task Workflow Status|
All available methods are those present in the code in TestLink Php code, nothing more nothing else.
If something is missing you have several options:
ask for custom development and make a donation
Some additional remarks
- the current xmlrpc api implementation for requirements is inconsistent
- assignRequirements requires as mandatory attributes beside the requirement id also the srs_id (id of the specification document)
- but no TL xmlrpc api method returns it. getRequirements just returns the id of the requirement
- so your customers must, if they want to assign requirements to other test cases, interact directly with your TestLink Server Database to get this srs_id
- that is not the intension of an api
Our strength is on the python site, so unfortenatly, it is very hard for us to implement php changes or to understand what the existing code is doing.
This CR documents the current API state for requirements and hopefully there exist other users with more php knowledge which can support you in php.
If you need help on psql or python, you can contact me.
|2019-06-25 09:39||tahrky||New Issue|
|2019-06-26 07:02||fman||Note Added: 0028967|
|2019-06-26 15:59||lczub||Note Added: 0028969|
|Copyright © 2000 - 2019 MantisBT Team|