add limit of test plan dealing function

This commit is contained in:
hmm 2014-09-25 09:23:19 +08:00
parent e585c7052e
commit 5e869eccfa
2 changed files with 6 additions and 3 deletions

View File

@ -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",

View File

@ -184,6 +184,7 @@ function loadSchedulePlot2() {
time += TimeInterval;
options.series[0].data.push([time,i]);
}
var chart = new Highcharts.Chart(options);
currentChart = chart;
}