diff --git a/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js b/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js index 834c2faf..cf47e6ab 100644 --- a/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js +++ b/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js @@ -74,6 +74,8 @@ function getScriptId(scriptName) { function getPointModelList(allocation,requireLoadArrayObj,executeRangeArrayObj){ var pointModelList = new Array(); var preExeRange = 0; + var zeroPointModel = new WebPointModel(0,0); + pointModelList.push(zeroPointModel); for(var i=1;i< requireLoadArrayObj.length;i++){ var realLoad = parseInt(parseInt(requireLoadArrayObj[i].value)*allocation/100); var pointModel = new WebPointModel(preExeRange+=parseInt(executeRangeArrayObj[i].value),realLoad);