property
primaryEndpoint EndpointReference getGets the primary endpoint for the Grafana k6 instance. This endpoint is used for all API calls over HTTP.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface K6Resource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport { readonly primaryEndpoint: EndpointReference; withK6OtlpEnvironment(): K6Resource; withScript( scriptPath: string, virtualUsers?: number, duration?: string, summaryMode?: K6SummaryMode): K6Resource;}primaryEndpoint EndpointReference getwithK6OtlpEnvironment(): K6ResourceReturns
K6Resource withScript( scriptPath: string, virtualUsers?: number, duration?: string, summaryMode?: K6SummaryMode): K6ResourceParameters
scriptPath stringThe path to the JS script to run.virtualUsers numberoptionalThe number of virtual users for the test..durationstringoptionalThe duration of the test, e.g. `30s`.summaryMode K6SummaryMode optionalThe summary mode of the test execution.Returns
K6Resource