diff --git a/src/main/java/org/bench4q/agent/api/TestController.java b/src/main/java/org/bench4q/agent/api/TestController.java index 701c4df4..1ab36ec1 100644 --- a/src/main/java/org/bench4q/agent/api/TestController.java +++ b/src/main/java/org/bench4q/agent/api/TestController.java @@ -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) diff --git a/src/test/java/org/bench4q/agent/test/TestWithScriptFile.java b/src/test/java/org/bench4q/agent/test/TestWithScriptFile.java index 115e4f9e..0dd2ba0d 100644 --- a/src/test/java/org/bench4q/agent/test/TestWithScriptFile.java +++ b/src/test/java/org/bench4q/agent/test/TestWithScriptFile.java @@ -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,