Package io.gatling.plugin.domain
Class InteractiveEnterprisePluginClient
java.lang.Object
io.gatling.plugin.domain.InteractiveEnterprisePluginClient
- All Implemented Interfaces:
EnterprisePlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EnterpriseClientprotected final PluginLoggerprotected final URL -
Constructor Summary
ConstructorsConstructorDescriptionInteractiveEnterprisePluginClient(EnterpriseClient enterpriseClient, PluginIO pluginIO, URL webAppUrl) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected RunSummarystartSimulation(DeployedSimulationInfo deployedSimulationInfo, RunComment runComment) startSimulation(String simulationName, DeploymentInfo deploymentInfo, RunComment runComment) protected longuploadPackageWithChecksum(UUID packageId, File file) protected voidvalidateJavaVersion(File file) waitForRunEnd(RunSummary startedRun)
-
Field Details
-
enterpriseClient
-
logger
-
webAppUrl
-
-
Constructor Details
-
InteractiveEnterprisePluginClient
public InteractiveEnterprisePluginClient(EnterpriseClient enterpriseClient, PluginIO pluginIO, URL webAppUrl)
-
-
Method Details
-
startSimulation
public RunSummary startSimulation(String simulationName, DeploymentInfo deploymentInfo, RunComment runComment) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
uploadPackageWithChecksum
protected long uploadPackageWithChecksum(UUID packageId, File file) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
validateJavaVersion
- Throws:
EnterprisePluginException
-
startSimulation
protected RunSummary startSimulation(DeployedSimulationInfo deployedSimulationInfo, RunComment runComment) throws EnterprisePluginException - Throws:
EnterprisePluginException
-
waitForRunEnd
- Specified by:
waitForRunEndin interfaceEnterprisePlugin- Parameters:
startedRun- Required- Throws:
EnterprisePluginException
-
abortRun
- Specified by:
abortRunin interfaceEnterprisePlugin- Parameters:
runId- Required- Returns:
- false if there was no run to abort (run does not exist or is already stopped)
- Throws:
EnterprisePluginException
-