Skip to main content

Create a new 'TestRun' entity

POST 

/testrun

Creates a new 'TestRun' entity. Returns full entity with new id and (optional) creation metadata.

Request

Body

required

    id integer

    The unique entity id - must be a positive integer

    title string

    A descriptive title for this entity or mapping (1 to 200 characters)

    Example: A Descriptive Title
    is_deleted boolean

    If the entity has been soft-deleted this value is true

    created_at date-time

    The creation time for this entity or mapping value

    Example: 1970-01-01T00:00:00.000Z
    created_by number

    The creator user id of this entity or mapping value - or zero if created by the system

    Example: 0
    modified_at date-time

    The last modification time for this entity or mapping value

    Example: 1970-01-01T00:00:00.000Z
    modified_by number

    The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system

    Example: 0
    deleted_at date-time

    The soft-deletion time for this entity or mapping value

    Example: 1970-01-01T00:00:00.000Z
    deleted_by number

    The id of the user who deleted this entity or mapping value - or zero if deleted by the system

    Example: 0
    _etag stringrequired

    A tag for detecting conflicting modifications - current value (may be empty) must be passed along in an update (or update must be forced)

    project_id integer

    The project id this entity or mapping belongs to

    testplan_id integer

    The optional id of the test plan this test run is associated with

    Example: 0
    closed_at date-time

    The time this run was closed - all referenced test case data uses this as a historic timestamp

    Example: 1970-01-01T00:00:00.000Z
    closed_by number

    The id of the user who closed this test run

    Example: 0
    is_closed boolean

    Whether the test run is closed or not - closed runs can not be modified until reopened

    description string

    An optional description for this test run (can be a rich text document)

    Example:

Responses

Returns a single TestRun

Schema

    id integer

    The unique entity id - must be a positive integer

    title string

    A descriptive title for this entity or mapping (1 to 200 characters)

    Example: A Descriptive Title
    is_deleted boolean

    If the entity has been soft-deleted this value is true

    created_at date-time

    The creation time for this entity or mapping value

    Example: 1970-01-01T00:00:00.000Z
    created_by number

    The creator user id of this entity or mapping value - or zero if created by the system

    Example: 0
    modified_at date-time

    The last modification time for this entity or mapping value

    Example: 1970-01-01T00:00:00.000Z
    modified_by number

    The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system

    Example: 0
    deleted_at date-time

    The soft-deletion time for this entity or mapping value

    Example: 1970-01-01T00:00:00.000Z
    deleted_by number

    The id of the user who deleted this entity or mapping value - or zero if deleted by the system

    Example: 0
    _etag stringrequired

    A tag for detecting conflicting modifications - current value (may be empty) must be passed along in an update (or update must be forced)

    project_id integer

    The project id this entity or mapping belongs to

    testplan_id integer

    The optional id of the test plan this test run is associated with

    Example: 0
    closed_at date-time

    The time this run was closed - all referenced test case data uses this as a historic timestamp

    Example: 1970-01-01T00:00:00.000Z
    closed_by number

    The id of the user who closed this test run

    Example: 0
    is_closed boolean

    Whether the test run is closed or not - closed runs can not be modified until reopened

    description string

    An optional description for this test run (can be a rich text document)

    Example:
Loading...