Package org.kie.server.client
Interface ScenarioSimulationServicesClient
-
- All Known Implementing Classes:
ScenarioSimulationServicesClientImpl
public interface ScenarioSimulationServicesClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 containerIdorg.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult>
executeScenarioByPath(String containerId, String localPath)
Execute given test scenario against specified containerId
-
-
-
Method Detail
-
executeScenarioByPath
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> executeScenarioByPath(String containerId, String localPath) throws IOException
Execute given test scenario against specified containerId- Parameters:
containerId
- id of container to be used to execute the scenariolocalPath
- to Test Scenario file (scesim) to be executed. It must be a validPaths.get(String, String...)
parameter- Returns:
- result of Test Scenario execution (jUnit like)
- Throws:
IOException
-
executeScenario
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- Parameters:
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 file- Returns:
- result of Test Scenario execution (jUnit like)
-
-