Udostępnij za pośrednictwem


LoadTestRunClient.GetTestRuns Method

Definition

Get all test runs with given filters.

public virtual Azure.Pageable<BinaryData> GetTestRuns (string orderby = default, string search = default, string testId = default, DateTimeOffset? executionFrom = default, DateTimeOffset? executionTo = default, string status = default, Azure.RequestContext context = default);
abstract member GetTestRuns : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetTestRuns : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetTestRuns (Optional orderby As String = Nothing, Optional search As String = Nothing, Optional testId As String = Nothing, Optional executionFrom As Nullable(Of DateTimeOffset) = Nothing, Optional executionTo As Nullable(Of DateTimeOffset) = Nothing, Optional status As String = Nothing, Optional context As RequestContext = Nothing) As Pageable(Of BinaryData)

Parameters

orderby
String

Sort on the supported fields in (field asc/desc) format. eg: executedDateTime asc. Supported fields - executedDateTime.

search
String

Prefix based, case sensitive search on searchable fields - description, executedUser. For example, to search for a test run, with description 500 VUs, the search parameter can be 500.

testId
String

Unique name of an existing load test.

executionFrom
Nullable<DateTimeOffset>

Start DateTime(ISO 8601 literal format) of test-run execution time filter range.

executionTo
Nullable<DateTimeOffset>

End DateTime(ISO 8601 literal format) of test-run execution time filter range.

status
String

Comma separated list of test run status.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The Pageable<T> from the service containing a list of BinaryData objects. Details of the body schema for each item in the collection are in the Remarks section below.

Exceptions

Service returned a non-success status code.

Applies to