Get import status
GET
/projects/:project_id/junit-imports/:import_id/status
Base URL
https://test-management.testsigma.com/api/v1
Retrieves the status of a specific JUnit import job for a project.
Authenticate with your API key as a
Bearer token in the
Authorization header. Generate a key →PATH PARAMETERS
project_id | Unique identifier of the project the import belongs to. |
import_id | Unique identifier of the JUnit import whose status is retrieved. |
RESPONSE ATTRIBUTES
message | Status message for the request; may be empty. |
data.import.status | Current status of the import (e.g. pending, in_progress, completed, failed). |
data.import.details | Additional information about the import process, including error messages or logs. |
REQUEST
curl -X GET \
'https://test-management.testsigma.com/api/v1/projects/:project_id/junit-imports/:import_id/status' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json'const response = await fetch('https://test-management.testsigma.com/api/v1/projects/:project_id/junit-imports/:import_id/status', {
method: 'GET',
headers: {
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
});
const data = await response.json();import requests
response = requests.get(
'https://test-management.testsigma.com/api/v1/projects/:project_id/junit-imports/:import_id/status',
headers={
'Authorization': 'Bearer <API_KEY>',
'Content-Type': 'application/json'
}
)
data = response.json()RESPONSE200OK
{
"message": "",
"data": {
"import": {
"status": "completed",
"details": {
"imported_count": 42,
"failed_count": 0,
"errors": []
}
}
}
}