diff --git a/js/common/modules/reportgenerator.js b/js/common/modules/reportgenerator.js index bb8ff8bdc9..53abf5af93 100644 --- a/js/common/modules/reportgenerator.js +++ b/js/common/modules/reportgenerator.js @@ -42,7 +42,7 @@ var generatePerfReportXML = function (reportName, testdata) { var generatePerfReportGrinderCSV = function (reportName, testdata) { "use strict"; - var x = "Thread, Run, Test, Start time (ms since Epoch), Test time, Errors, HTTP response code, HTTP response length, HTTP response errors, Time to resolve host, Time to establish connection, Time to first byte, New connections\n"; + var x = "Thread, Run, Test, Start time (ms since Epoch), Test time, Errors, HTTP response code, HTTP response length, HTTP response errors, Time to resolve host, Time to establish connection, Time to first byte, New connections"; for (var testname in testdata) { @@ -53,7 +53,7 @@ var generatePerfReportGrinderCSV = function (reportName, testdata) { { var s = testdata[testname][testCalculation].duration; if (!isNaN(s)) { - x = x + '0, 0, ' + testname + '/' + testCalculation + ',' + require("internal").time() + ', ' + s + ', 0, 0, 0, 0, 0, 0, 0, 0\n'; + x = x + '\n0, 0, ' + testname + '/' + testCalculation + ',' + require("internal").time() + ', ' + s + ', 0, 0, 0, 0, 0, 0, 0, 0'; } } } diff --git a/scripts/unittest.js b/scripts/unittest.js index b73c5992b7..c60623c548 100644 --- a/scripts/unittest.js +++ b/scripts/unittest.js @@ -1,4 +1,4 @@ -var internalMembers = ["code", "error", "status", "duration", "failed", "total"]; +var internalMembers = ["code", "error", "status", "duration", "failed", "total", "message"]; var fs = require("fs"); var print = require("internal").print;