Skip to content

Commit

Permalink
now gatling for 8 users
Browse files Browse the repository at this point in the history
  • Loading branch information
othub committed Apr 26, 2019
1 parent 4a2be75 commit 76cb7b2
Show file tree
Hide file tree
Showing 99 changed files with 66,762 additions and 1 deletion.
1,013 changes: 1,013 additions & 0 deletions performance/gatling/results/dechattestsimulation-20190426121415557/index.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"simulation": "dechates6a2.DechatTestSimulation",
"simulationId": "dechattestsimulation",
"start": 1556280855557,
"description": "",
"scenarios": ["DeChat-ES-6A-II-Performance-Test"],
"assertions": [

]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<testsuite name="dechates6a2.DechatTestSimulation" tests="0" errors="0" failures="0" time="0">

</testsuite>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
/*
* Copyright 2011-2014 eBusiness Information, Groupe Excilys (www.ebusinessinformation.fr)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
(function ($) {
$.fn.expandable = function () {
var scope = this;

this.find('.expand-button:not([class*=hidden])').addClass('collapse').click(function () {
var $this = $(this);

if ($this.hasClass('expand'))
$this.expand(scope);
else
$this.collapse(scope);
});

this.find('.expand-all-button').click(function () {
$(this).expandAll(scope);
});

this.find('.collapse-all-button').click(function () {
$(this).collapseAll(scope);
});

this.collapseAll(this);

return this;
};

$.fn.expand = function (scope, recursive) {
return this.each(function () {
var $this = $(this);

if (recursive) {
scope.find('.child-of-' + $this.attr('id') + ' .expand-button.expand').expand(scope, true);
scope.find('.child-of-' + $this.attr('id') + ' .expand-button.collapse').expand(scope, true);
}

if ($this.hasClass('expand')) {
scope.find('.child-of-' + $this.attr('id')).toggle(true);
$this.toggleClass('expand').toggleClass('collapse');
}
});
};

$.fn.expandAll = function (scope) {
$('.child-of-ROOT .expand-button.expand').expand(scope, true);
$('.child-of-ROOT .expand-button.collapse').expand(scope, true);
};

$.fn.collapse = function (scope) {
return this.each(function () {
var $this = $(this);

scope.find('.child-of-' + $this.attr('id') + ' .expand-button.collapse').collapse(scope);
scope.find('.child-of-' + $this.attr('id')).toggle(false);
$this.toggleClass('expand').toggleClass('collapse');
});
};

$.fn.collapseAll = function (scope) {
$('.child-of-ROOT .expand-button.collapse').collapse(scope);
};

$.fn.sortable = function (target) {
var table = this;

this.find('thead .sortable').click( function () {
var $this = $(this);

if ($this.hasClass('sorted-down')) {
var desc = false;
var style = 'sorted-up';
}
else {
var desc = true;
var style = 'sorted-down';
}

$(target).sortTable($this.attr('id'), desc);

table.find('thead .sortable').removeClass('sorted-up sorted-down');
$this.addClass(style);

return false;
});

return this;
};

$.fn.sortTable = function (col, desc) {
function getValue(line) {
var cell = $(line).find('.' + col);

if (cell.hasClass('value'))
var value = cell.text();
else
var value = cell.find('.value').text();

return parseInt(value);
}

function sortLines (lines, group) {
var notErrorTable = col.search("error") == -1;
var linesToSort = notErrorTable ? lines.filter('.child-of-' + group) : lines;

var sortedLines = linesToSort.sort(function (a, b) {
return desc ? getValue(b) - getValue(a): getValue(a) - getValue(b);
}).toArray();

var result = [];
$.each(sortedLines, function (i, line) {
result.push(line);
if (notErrorTable)
result = result.concat(sortLines(lines, $(line).attr('id')));
});

return result;
}

this.find('tbody').append(sortLines(this.find('tbody tr').detach(), 'ROOT'));

return this;
};
})(jQuery);


Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"name": "Global Information",
"numberOfRequests": {
"total": 488,
"ok": 488,
"ko": 0
},
"minResponseTime": {
"total": 23,
"ok": 23,
"ko": 0
},
"maxResponseTime": {
"total": 7089,
"ok": 7089,
"ko": 0
},
"meanResponseTime": {
"total": 861,
"ok": 861,
"ko": 0
},
"standardDeviation": {
"total": 1062,
"ok": 1062,
"ko": 0
},
"percentiles1": {
"total": 357,
"ok": 357,
"ko": 0
},
"percentiles2": {
"total": 1321,
"ok": 1321,
"ko": 0
},
"percentiles3": {
"total": 3232,
"ok": 3232,
"ko": 0
},
"percentiles4": {
"total": 4495,
"ok": 4495,
"ko": 0
},
"group1": {
"name": "t < 800 ms",
"count": 317,
"percentage": 65
},
"group2": {
"name": "800 ms < t < 1200 ms",
"count": 33,
"percentage": 7
},
"group3": {
"name": "t > 1200 ms",
"count": 138,
"percentage": 28
},
"group4": {
"name": "failed",
"count": 0,
"percentage": 0
},
"meanNumberOfRequestsPerSecond": {
"total": 8.0,
"ok": 8.0,
"ko": 0
}
}
Loading

0 comments on commit 76cb7b2

Please sign in to comment.