Add test for agentMessenger

Add test for agentMessenger
This commit is contained in:
coderfengyun 2014-10-11 16:25:59 +08:00
parent 91a64883d0
commit 575a093a8e
1 changed files with 2 additions and 2 deletions

View File

@ -53,9 +53,9 @@ public class AgentMessengerImpl implements AgentMessenger {
try { try {
Map<String, String> parms = new HashMap<String, String>(1); Map<String, String> parms = new HashMap<String, String>(1);
parms.put("briefCycleInMillis", String.valueOf(3000)); parms.put("briefCycleInMillis", String.valueOf(3000));
httpResponse = this.getHttpRequester().sendGet( httpResponse = this.getHttpRequester().sendPost(
buildBaseUrl(agent) + "/test/bookTest/" + requireLoad, buildBaseUrl(agent) + "/test/bookTest/" + requireLoad,
null, null); parms, null);
System.out.println(buildBaseUrl(agent) + "/test/bookTest/" System.out.println(buildBaseUrl(agent) + "/test/bookTest/"
+ requireLoad); + requireLoad);
return MarshalHelper.unmarshal(RunScenarioResultModel.class, return MarshalHelper.unmarshal(RunScenarioResultModel.class,