From 5e869eccfa0202677d717e598564a985cf012629 Mon Sep 17 00:00:00 2001 From: hmm Date: Thu, 25 Sep 2014 09:23:19 +0800 Subject: [PATCH] add limit of test plan dealing function --- .../src/main/webapp/script/TestPlan/TestPlanServer.js | 8 +++++--- Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanUI.js | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js b/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js index 7ddaa044..f088b2d3 100644 --- a/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js +++ b/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanServer.js @@ -80,7 +80,9 @@ function getPointModelList(allocation,chartPoint){ } return pointModelList; } - +function getLimitValue(){ + +} function start() { var scriptList = new Array(); var ipList = new Array(); @@ -119,9 +121,9 @@ function start() { } //collect limit - + var limitModel = getLimitValue(); var name = $("#testConfigurationName").val(); - var testPlan = new TestPlanRequestModel(scriptList, ipList, name); + var testPlan = new TestPlanRequestModel(scriptList, ipList, name, limitModel); $.ajax({ type : "POST", url : "runTestPlan", diff --git a/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanUI.js b/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanUI.js index f05b58cb..fc2f1530 100644 --- a/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanUI.js +++ b/Bench4Q-Web/src/main/webapp/script/TestPlan/TestPlanUI.js @@ -184,6 +184,7 @@ function loadSchedulePlot2() { time += TimeInterval; options.series[0].data.push([time,i]); } + var chart = new Highcharts.Chart(options); currentChart = chart; } \ No newline at end of file