DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Create Testplan

api/autotest/workspaces/{WorkspaceId}/testplans

Creates a new testplan as specified by the supplied model.
A simple testplan can be created by specifying only Name parent WorkspaceId.
The new test plan is created in the workspace specified by the WorkspaceId URL.
Name and additional properties are specified in the request body.

Path Params
int32
required
≥ 1

The ID of the parent workspace.

Body Params

Specification for the testplan.

Testplan is logical grouping of test cases, logins and
other configuration. Test plans are intended to mainly contain references
to collateral in the shared repository.

int32

The testplan database ID. Omit or set this to 0 when creating
a new testplan.

int32

The ID of the testplans parent workspace.

string | null

The familiar name of the workspace. (Mandatory when creating a workspace).

boolean

Determines if result reporting is enabled or not.

boolean

Determines whether result reporting is run automatically after execution.

string | null

Gets or sets the ID of the result reporting extension.

ResultReportingParameters
array of objects | null

Gets or sets the result reporting parameters.

ResultReportingParameters
string | null

Gets or sets the user for authentication with the result reporting extension.

string | null

The password for authentication with the result reporting extension.
(When read, this is always null).

Headers
string
enum
Defaults to application/json;odata.metadata=minimal;odata.streaming=true

Generated from available request content types

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json