make a integrated test about batchBehavior

This commit is contained in:
coderfengyun 2013-12-12 16:29:46 +08:00
parent 4af37bae37
commit eb3e90fcf6
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ public class RunningAgentService {
return null;
}
httpResponse = this.httpRequester.sendGet(buildBaseUrl(agent)
+ "/test/stop/" + runId, null, null);
+ "/test/stop/" + runId.toString(), null, null);
if (HttpRequester.isInvalidResponse(httpResponse)) {
return null;
}

View File

@ -28,7 +28,7 @@ public class TestPlanTester extends TestBase {
private TestPlanBusinessModel testPlanBusinessModel = new TestPlanBusinessModel();
private String _url = TestBase.BASE_URL + "/testPlan";
private int scriptSumNum;
private static int SCRIPTID1 = 8;
private static int SCRIPTID1 = 31;
private static int SCRIPTID2 = 2;
// private static int EACH_SCRIPT_LOAD_LargeSCALE = 12000;
private static int EACH_SCRIPT_LOAD_SMALLSCALE = 40;