modify agent's api
This commit is contained in:
parent
38b805153c
commit
dfcc838a96
|
@ -92,7 +92,7 @@ public class TestController {
|
||||||
return dirPath;
|
return dirPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/run", method = RequestMethod.POST)
|
@RequestMapping(value = "/runWithoutParams", method = RequestMethod.POST)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public RunScenarioResultModel run(
|
public RunScenarioResultModel run(
|
||||||
@RequestBody RunScenarioModel runScenarioModel)
|
@RequestBody RunScenarioModel runScenarioModel)
|
||||||
|
|
|
@ -83,7 +83,7 @@ public class TestWithScriptFile {
|
||||||
runScenarioModel.setPoolSize(load);
|
runScenarioModel.setPoolSize(load);
|
||||||
|
|
||||||
HttpResponse httpResponse = this.getHttpRequester().sendPostXml(
|
HttpResponse httpResponse = this.getHttpRequester().sendPostXml(
|
||||||
this.url + "/run",
|
this.url + "/runWithoutParams",
|
||||||
marshalRunScenarioModel(runScenarioModel), null);
|
marshalRunScenarioModel(runScenarioModel), null);
|
||||||
RunScenarioResultModel resultModel = (RunScenarioResultModel) MarshalHelper
|
RunScenarioResultModel resultModel = (RunScenarioResultModel) MarshalHelper
|
||||||
.unmarshal(RunScenarioResultModel.class,
|
.unmarshal(RunScenarioResultModel.class,
|
||||||
|
|
Loading…
Reference in New Issue