Import results - Results API
If enabled, the WMAS Test Suite can import results exported by any arbitrary other instance.
Import a session's results from a ZIP file.
POST /api/results/import
If successful, the server responds with the token of the imported session:
{
"token": "String"
}
However, if an error occured, the server responds the error message:
{
"error": "String"
}
To check whether or not the import features is enabled, the import enabled
method returns the state as JSON.
GET /api/results/import
{
"enabled": "Boolean"
}