Class BatchEnterprisePluginClient
java.lang.Object
io.gatling.plugin.domain.BatchEnterprisePluginClient
- All Implemented Interfaces:
BatchEnterprisePlugin, EnterprisePlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EnterpriseClientprotected final PluginLoggerprotected final URL -
Constructor Summary
ConstructorsConstructorDescriptionBatchEnterprisePluginClient(EnterpriseClient enterpriseClient, PluginLogger logger, URL webAppUrl) -
Method Summary
Modifier and TypeMethodDescriptionbooleandeployFromDescriptor(File descriptor, File pkg, String artifactId, Boolean usePrivateRepository) Deploy a package from a descriptorprotected RunSummarystartSimulation(DeployedSimulationInfo deployedSimulationInfo, RunComment runComment) startSimulation(String simulationName, DeploymentInfo deploymentInfo, RunComment runComment) waitForRunEnd(RunSummary startedRun) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BatchEnterprisePlugin
deployFromDescriptorMethods inherited from interface EnterprisePlugin
abortRun, waitForRunEnd
-
Field Details
-
enterpriseClient
-
logger
-
webAppUrl
-
-
Constructor Details
-
BatchEnterprisePluginClient
public BatchEnterprisePluginClient(EnterpriseClient enterpriseClient, PluginLogger logger, URL webAppUrl)
-
-
Method Details
-
deployFromDescriptor
public DeploymentInfo deployFromDescriptor(File descriptor, File pkg, String artifactId, Boolean usePrivateRepository) throws EnterprisePluginException Description copied from interface:BatchEnterprisePluginDeploy a package from a descriptor- Specified by:
deployFromDescriptorin interfaceBatchEnterprisePlugin- Parameters:
descriptor- the descriptor file, nullablepkg- the package fileartifactId- artifactId defined in the build toolusePrivateRepository- If private repository is enabled for this package upload- Throws:
EnterprisePluginException
-
startSimulation
public RunSummary startSimulation(String simulationName, DeploymentInfo deploymentInfo, RunComment runComment) throws EnterprisePluginException - Specified by:
startSimulationin interfaceEnterprisePlugin- 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
-