From 575a093a8ec363b0acde2864ae419a98a511740a Mon Sep 17 00:00:00 2001 From: coderfengyun Date: Sat, 11 Oct 2014 16:25:59 +0800 Subject: [PATCH] Add test for agentMessenger Add test for agentMessenger --- .../infrastructure/communication/impl/AgentMessengerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bench4Q-Master/src/main/java/org/bench4q/master/infrastructure/communication/impl/AgentMessengerImpl.java b/Bench4Q-Master/src/main/java/org/bench4q/master/infrastructure/communication/impl/AgentMessengerImpl.java index d26cf9d0..e6f7ed49 100644 --- a/Bench4Q-Master/src/main/java/org/bench4q/master/infrastructure/communication/impl/AgentMessengerImpl.java +++ b/Bench4Q-Master/src/main/java/org/bench4q/master/infrastructure/communication/impl/AgentMessengerImpl.java @@ -53,9 +53,9 @@ public class AgentMessengerImpl implements AgentMessenger { try { Map parms = new HashMap(1); parms.put("briefCycleInMillis", String.valueOf(3000)); - httpResponse = this.getHttpRequester().sendGet( + httpResponse = this.getHttpRequester().sendPost( buildBaseUrl(agent) + "/test/bookTest/" + requireLoad, - null, null); + parms, null); System.out.println(buildBaseUrl(agent) + "/test/bookTest/" + requireLoad); return MarshalHelper.unmarshal(RunScenarioResultModel.class,