Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

API Documentation updated needed for unsupported status


#1

The API POST index.php?/api/v2/add_result/:test_id
does not allow a status_id of 3 to be accepted as a valid status.

The documentation indicates it should, but the result is:
“error”: “Field :status_id uses an invalid status (Untested).”

Documenation should be updated to reflect this or API should be corrected to allow status change of “Untested”.


#2

Hello Herb,

Thanks for your posting and please see my answer in your other posting:

http://forum.gurock.com/topic/1979/api-to-reset-test-runs-test-cases-to-untested/

Regards,
Tobias


#3

So my request here is for Documentation update.

Your documentation is misleading in indicating that “Untested” is a valid status to use for POST.

It says.
The following POST fields are supported.
One of those fields is status_id of type int and it lists 3,Untested.

I think you should remove, 3 Untested, as a valid status to use for POST.

Herb


#4

Hello Herb,

Thanks for your feedback. We’ve updated the documentation and I agree that this wasn’t very clear before.

Regards,
Tobias