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