Condividi tramite


LoadTestRunClient.GetTestRunsAsync Method

Definition

Get all test runs with given filters.

public virtual Azure.AsyncPageable<BinaryData> GetTestRunsAsync (string orderby = default, string search = default, string testId = default, DateTimeOffset? executionFrom = default, DateTimeOffset? executionTo = default, string status = default, Azure.RequestContext context = default);
abstract member GetTestRunsAsync : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetTestRunsAsync : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetTestRunsAsync (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 AsyncPageable(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 AsyncPageable<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