POST Test Creation Method

This method returns a newly created test.

Syntax:

POST /api/test/create

Curl

$> curl 'http://localhost:8080/api/test/create' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 'Content-Type: application/json' --data-binary $'{"name": "New Test"}'

Raw Request

POST /api/test/create HTTP/1.1

Host: localhost:8080

Content-Length: 20

Authorization: Basic YWRtaW46YWRtaW4=

Content-Type: application/json

 

{"name": "New Test"}

Write Keys

Parameter Type
name String
description String
version String
is_active Boolean
test_level_epf_arguments String
notification_email String
abort_timeout Integer
stop_on_failure Boolean
sut_id Id
managed_application_id Id

Response Body

{

"_id": "5907bc514445534540360000",

"created_at": "2017-05-01T22:53:05.991Z",

"updated_at": "2017-05-01T22:53:05.991Z",

"name": "New Test",

"description": null,

"version": null,

"is_active": true,

"test_level_epf_arguments": null,

"notification_email": null,

"abort_timeout": 60,

"stop_on_failure": false,

"sut_id": null,

"managed_application_id": null,

"test_executions": []

}

 

This topic was last updated on July 13, 2019, at 11:22:05 AM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant