Details
-
Suggestion
-
Status: New
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Whenever importing test results using any of the available REST APIs, if the request takes longer than x seconds (e.g., 30seconds) then an answer should be returned in HTTP JSON request.
{ "jobId":"34a4106b1d0948d1aae1170cc8df3bb4", "status": "processing" }
A new endpoint should be provided to obtain the status of previously submitted import requests.
GET /api/v2/import/execution/jobs/{jobId}/status
{ "status": "successful", "message": "...", "json": ... }
{ "status": "error", "error": "..." }
- status: "accepted", "processing", "successful", "error", "not_found"
TO BE REFINED (e.g., exact API syntax, timeout period, additional information in JSON content).