make a integrated test about batchBehavior
This commit is contained in:
parent
4af37bae37
commit
eb3e90fcf6
|
@ -74,7 +74,7 @@ public class RunningAgentService {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
httpResponse = this.httpRequester.sendGet(buildBaseUrl(agent)
|
httpResponse = this.httpRequester.sendGet(buildBaseUrl(agent)
|
||||||
+ "/test/stop/" + runId, null, null);
|
+ "/test/stop/" + runId.toString(), null, null);
|
||||||
if (HttpRequester.isInvalidResponse(httpResponse)) {
|
if (HttpRequester.isInvalidResponse(httpResponse)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class TestPlanTester extends TestBase {
|
||||||
private TestPlanBusinessModel testPlanBusinessModel = new TestPlanBusinessModel();
|
private TestPlanBusinessModel testPlanBusinessModel = new TestPlanBusinessModel();
|
||||||
private String _url = TestBase.BASE_URL + "/testPlan";
|
private String _url = TestBase.BASE_URL + "/testPlan";
|
||||||
private int scriptSumNum;
|
private int scriptSumNum;
|
||||||
private static int SCRIPTID1 = 8;
|
private static int SCRIPTID1 = 31;
|
||||||
private static int SCRIPTID2 = 2;
|
private static int SCRIPTID2 = 2;
|
||||||
// private static int EACH_SCRIPT_LOAD_LargeSCALE = 12000;
|
// private static int EACH_SCRIPT_LOAD_LargeSCALE = 12000;
|
||||||
private static int EACH_SCRIPT_LOAD_SMALLSCALE = 40;
|
private static int EACH_SCRIPT_LOAD_SMALLSCALE = 40;
|
||||||
|
|
Loading…
Reference in New Issue