Class RunsApi
java.lang.Object
io.gatling.plugin.client.http.api.RunsApi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HttpResponseget(ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) getConcurrentUserMetric(UUID runId, String scenario) protected <T> Tprotected <T> TgetJson(ApiPath path, com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) protected <T> Tprotected <T> TgetJson(ApiPath path, Class<T> valueType, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) getRequestsSummary(UUID runId) getRunInformation(UUID runId) protected HttpResponsepost(ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpURLConnection, EnterprisePluginException> beforeRequest, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) protected HttpResponseprotected HttpResponsepostJson(ApiPath path, Object body, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) protected <T> Tprotected HttpResponseput(ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpURLConnection, EnterprisePluginException> beforeRequest, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) protected HttpResponseprotected HttpResponseputJson(ApiPath path, Object body, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) protected <T> Tprotected <T> TputJson(ApiPath path, Object body, Class<T> valueType, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse)
-
Field Details
-
CONTENT_TYPE_HEADER
- See Also:
-
OCTET_STREAM_MEDIA_TYPE
- See Also:
-
JSON_MEDIA_TYPE
- See Also:
-
CLOSE
- See Also:
-
apiUrl
-
token
-
-
Constructor Details
-
RunsApi
-
-
Method Details
-
getRunInformation
- Throws:
EnterprisePluginException
-
getConcurrentUserMetric
public List<SeriesResponse> getConcurrentUserMetric(UUID runId, String scenario) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
getRequestsSummary
- Throws:
EnterprisePluginException
-
get
protected HttpResponse get(ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) throws EnterprisePluginException- Throws:
EnterprisePluginException
-
getJson
protected <T> T getJson(ApiPath path, Class<T> valueType, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) throws EnterprisePluginException- Throws:
EnterprisePluginException
-
getJson
- Throws:
EnterprisePluginException
-
getJson
protected <T> T getJson(ApiPath path, com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) throws EnterprisePluginException- Throws:
EnterprisePluginException
-
getJson
protected <T> T getJson(ApiPath path, com.fasterxml.jackson.core.type.TypeReference<T> valueTypeRef) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
post
protected HttpResponse post(ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpURLConnection, EnterprisePluginException> beforeRequest, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, throws EnterprisePluginExceptionEnterprisePluginException> validateResponse) - Throws:
EnterprisePluginException
-
postJson
protected HttpResponse postJson(ApiPath path, Object body, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) throws EnterprisePluginException- Throws:
EnterprisePluginException
-
postJson
- Throws:
EnterprisePluginException
-
postJson
protected <T> T postJson(ApiPath path, Object body, Class<T> valueType) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
put
protected HttpResponse put(ApiPath path, LambdaExceptionUtil.ConsumerWithExceptions<HttpURLConnection, EnterprisePluginException> beforeRequest, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, throws EnterprisePluginExceptionEnterprisePluginException> validateResponse) - Throws:
EnterprisePluginException
-
putJson
protected HttpResponse putJson(ApiPath path, Object body, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) throws EnterprisePluginException- Throws:
EnterprisePluginException
-
putJson
- Throws:
EnterprisePluginException
-
putJson
protected <T> T putJson(ApiPath path, Object body, Class<T> valueType, LambdaExceptionUtil.ConsumerWithExceptions<HttpResponse, EnterprisePluginException> validateResponse) throws EnterprisePluginException- Throws:
EnterprisePluginException
-
putJson
protected <T> T putJson(ApiPath path, Object body, Class<T> valueType) throws EnterprisePluginException - Throws:
EnterprisePluginException
-