public interface ScenarioSimulationServicesClient
Modifier and Type | Method and Description |
---|---|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> |
executeScenario(String containerId,
String content)
Execute given test scenario against specified containerId
|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> |
executeScenarioByPath(String containerId,
String localPath)
Execute given test scenario against specified containerId
|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> executeScenarioByPath(String containerId, String localPath) throws IOException
containerId
- id of container to be used to execute the scenariolocalPath
- to Test Scenario file (scesim) to be executed. It must be a valid Paths.get(String, String...)
parameterIOException
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> executeScenario(String containerId, String content)
containerId
- id of container to be used to execute the scenariocontent
- of Test Scenario file (scesim) to be executed. This string should contain the XML of the scesim fileCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.