krian's avatar
krian
New Contributor
5 years ago
Status:
New Idea

Add nbr_files attribute to each item in the test_run_results array for better performance

For future updates, it might be helpful for users if you add nbr_files attribute to each item in the test_run_results array that results from calling "/api/v2/projects/{ProjectId}/testruns/{Id}/items/". Then it would be possible to call any version of "get list of files" (SOAP or REST) only on items that actually contain files, which would be a good performance enhancement.

 

See https://community.smartbear.com/t5/QAComplete-and-ALMComplete/Use-API-to-see-if-TestRunResult-has-file-s-attached/m-p/186349#M2333 for a discussion on this and why it would be a valuable addition for developers.

 

Nastya_Khovrina 

No CommentsBe the first to comment