Package io.gatling.plugin.client
Class EnterpriseClient
java.lang.Object
io.gatling.plugin.client.EnterpriseClient
- Direct Known Subclasses:
HttpEnterpriseClient
The following exception sub-classes of
EnterprisePluginException can be thrown by all
methods of this public API:
UnauthorizedApiCallException: invalid authentication tokenForbiddenApiCallException: authentication token with insufficient privilegesApiCallIOException: unexpected IO errorInvalidApiCallException: invalid input data
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract PkgcreatePackage(String packageName, UUID teamId) abstract DeployedPkgInfodeployPkg(com.fasterxml.jackson.databind.JsonNode descriptor, String artifactId, Boolean usePrivateRepository) abstract List<DeployedSimulationInfo> deploySimulations(UUID pkgId, com.fasterxml.jackson.databind.JsonNode descriptor) getConcurrentUserMetric(UUID runId, String scenario) abstract PkggetPackage(UUID pkgId) abstract RequestsSummarygetRequestsSummary(UUID runId) abstract RunInformationgetRunInformation(UUID runId) abstract ServerInformationabstract SimulationgetSimulation(UUID simulationId) abstract RunSummarystartSimulation(UUID simulationId, RunComment runComment) abstract longuploadPackage(UUID packageId, File file) abstract longuploadPackageWithChecksum(UUID packageId, File file)
-
Field Details
-
buildPlugin
-
-
Constructor Details
-
EnterpriseClient
-
-
Method Details
-
getServerInformation
- Throws:
EnterprisePluginException
-
getSimulation
- Throws:
EnterprisePluginException
-
getPackages
- Throws:
EnterprisePluginException
-
getPackage
- Throws:
EnterprisePluginException
-
uploadPackage
- Parameters:
packageId- Requiredfile- Required path to the packaged JAR file to upload; required- Throws:
PackageNotFoundException- if the packageId does not existEnterprisePluginException
-
uploadPackageWithChecksum
public abstract long uploadPackageWithChecksum(UUID packageId, File file) throws EnterprisePluginException - Parameters:
packageId- Requiredfile- Required- Returns:
- file size if uploaded, -1 when checksum are equals
- Throws:
EnterprisePluginException
-
createPackage
- Throws:
EnterprisePluginException
-
getRunInformation
- Parameters:
runId- Required- Returns:
- Information on the requested run
- Throws:
RunNotFoundException- if the runId does not existEnterprisePluginException
-
getConcurrentUserMetric
public abstract List<Series> getConcurrentUserMetric(UUID runId, String scenario) throws EnterprisePluginException - Parameters:
runId- Requiredscenario- Required- Throws:
EnterprisePluginException
-
getRequestsSummary
- Parameters:
runId- Required- Throws:
EnterprisePluginException
-
abortRun
- Parameters:
runId- Required- Returns:
- false if there was no run to abort (run does not exist or is already stopped)
- Throws:
EnterprisePluginException
-
deployPkg
public abstract DeployedPkgInfo deployPkg(com.fasterxml.jackson.databind.JsonNode descriptor, String artifactId, Boolean usePrivateRepository) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
deploySimulations
public abstract List<DeployedSimulationInfo> deploySimulations(UUID pkgId, com.fasterxml.jackson.databind.JsonNode descriptor) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
startSimulation
public abstract RunSummary startSimulation(UUID simulationId, RunComment runComment) throws EnterprisePluginException - Throws:
EnterprisePluginException
-