(()=>{var e={481:e=>{e.exports=function e(t,n,i){function r(a,o){if(!n[a]){if(!t[a]){if(s)return s(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return r(t[a][1][e]||e)}),l,l.exports,e,t,n,i)}return n[a].exports}for(var s=void 0,a=0;a1;if(e.cache){if(!r)throw new Error("cache option requires a filename");if(i=n.cache.get(r))return i;s||(t=f(r).toString().replace(u,""))}else if(!s){if(!r)throw new Error("Internal EJS error: no file name or template provided");t=f(r).toString().replace(u,"")}return i=n.compile(t,e),e.cache&&n.cache.set(r,i),i}function p(e,t,i){var r;if(!i){if("function"==typeof n.promiseImpl)return new n.promiseImpl((function(n,i){try{n(r=m(e)(t))}catch(e){i(e)}}));throw new Error("Please provide a callback function")}try{r=m(e)(t)}catch(e){return i(e)}i(null,r)}function f(e){return n.fileLoader(e)}function v(e,t){var r=s.shallowCopy({},t);if(r.filename=function(e,t){var r,s,a=t.views,o=/^[A-Za-z]+:\\|^\//.exec(e);if(o&&o.length)e=e.replace(/^\/*/,""),r=Array.isArray(t.root)?h(e,t.root):n.resolveInclude(e,t.root||"/",!0);else if(t.filename&&(s=n.resolveInclude(e,t.filename),i.existsSync(s)&&(r=s)),!r&&Array.isArray(a)&&(r=h(e,a)),!r&&"function"!=typeof t.includer)throw new Error('Could not find the include file "'+t.escapeFunction(e)+'"');return r}(e,r),"function"==typeof t.includer){var a=t.includer(e,r.filename);if(a&&(a.filename&&(r.filename=a.filename),a.template))return m(r,a.template)}return m(r)}function g(e,t,n,i,r){var s=t.split("\n"),a=Math.max(i-3,0),o=Math.min(s.length,i+3),c=r(n),l=s.slice(a,o).map((function(e,t){var n=t+a+1;return(n==i?" >> ":" ")+n+"| "+e})).join("\n");throw e.path=c,e.message=(c||"ejs")+":"+i+"\n"+l+"\n\n"+e.message,e}function b(e){return e.replace(/;(\s*$)/,"$1")}function x(e,t){t=t||{};var i={};this.templateText=e,this.mode=null,this.truncate=!1,this.currentLine=1,this.source="",i.client=t.client||!1,i.escapeFunction=t.escape||t.escapeFunction||s.escapeXML,i.compileDebug=!1!==t.compileDebug,i.debug=!!t.debug,i.filename=t.filename,i.openDelimiter=t.openDelimiter||n.openDelimiter||"<",i.closeDelimiter=t.closeDelimiter||n.closeDelimiter||">",i.delimiter=t.delimiter||n.delimiter||"%",i.strict=t.strict||!1,i.context=t.context,i.cache=t.cache||!1,i.rmWhitespace=t.rmWhitespace,i.root=t.root,i.includer=t.includer,i.outputFunctionName=t.outputFunctionName,i.localsName=t.localsName||n.localsName||c,i.views=t.views,i.async=t.async,i.destructuredLocals=t.destructuredLocals,i.legacyInclude=void 0===t.legacyInclude||!!t.legacyInclude,i.strict?i._with=!1:i._with=void 0===t._with||t._with,this.opts=i,this.regex=this.createRegex()}n.cache=s.cache,n.fileLoader=i.readFileSync,n.localsName=c,n.promiseImpl=new Function("return this;")().Promise,n.resolveInclude=function(e,t,n){var i=r.dirname,s=r.extname,a=(0,r.resolve)(n?t:i(t),e);return s(e)||(a+=".ejs"),a},n.compile=function(e,t){return t&&t.scope&&(a||(console.warn("`scope` option is deprecated and will be removed in EJS 3"),a=!0),t.context||(t.context=t.scope),delete t.scope),new x(e,t).compile()},n.render=function(e,t,n){var i=t||{},r=n||{};return 2==arguments.length&&s.shallowCopyFromList(r,i,l),m(r,e)(i)},n.renderFile=function(){var e,t,n,i=Array.prototype.slice.call(arguments),r=i.shift(),a={filename:r};return"function"==typeof arguments[arguments.length-1]&&(e=i.pop()),i.length?(t=i.shift(),i.length?s.shallowCopy(a,i.pop()):(t.settings&&(t.settings.views&&(a.views=t.settings.views),t.settings["view cache"]&&(a.cache=!0),(n=t.settings["view options"])&&s.shallowCopy(a,n)),s.shallowCopyFromList(a,t,d)),a.filename=r):t={},p(a,t,e)},n.Template=x,n.clearCache=function(){n.cache.reset()},x.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"},x.prototype={createRegex:function(){var e="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)",t=s.escapeRegExpChars(this.opts.delimiter),n=s.escapeRegExpChars(this.opts.openDelimiter),i=s.escapeRegExpChars(this.opts.closeDelimiter);return e=e.replace(/%/g,t).replace(//g,i),new RegExp(e)},compile:function(){var e,t,n,i=this.opts,a="",o="",c=i.escapeFunction,l=i.filename?JSON.stringify(i.filename):"undefined";if(!this.source){if(this.generateSource(),a+=' var __output = "";\n function __append(s) { if (s !== undefined && s !== null) __output += s }\n',i.outputFunctionName&&(a+=" var "+i.outputFunctionName+" = __append;\n"),i.destructuredLocals&&i.destructuredLocals.length){for(var d=" var __locals = ("+i.localsName+" || {}),\n",u=0;u0&&(d+=",\n "),d+=h+" = __locals."+h}a+=d+";\n"}!1!==i._with&&(a+=" with ("+i.localsName+" || {}) {\n",o+=" }\n"),o+=" return __output;\n",this.source=a+this.source+o}e=i.compileDebug?"var __line = 1\n , __lines = "+JSON.stringify(this.templateText)+"\n , __filename = "+l+";\ntry {\n"+this.source+"} catch (e) {\n rethrow(e, __lines, __filename, __line, escapeFn);\n}\n":this.source,i.client&&(e="escapeFn = escapeFn || "+c.toString()+";\n"+e,i.compileDebug&&(e="rethrow = rethrow || "+g.toString()+";\n"+e)),i.strict&&(e='"use strict";\n'+e),i.debug&&console.log(e),i.compileDebug&&i.filename&&(e=e+"\n//# sourceURL="+l+"\n");try{if(i.async)try{n=new Function("return (async function(){}).constructor;")()}catch(e){throw e instanceof SyntaxError?new Error("This environment does not support async/await"):e}else n=Function;t=new n(i.localsName+", escapeFn, include, rethrow",e)}catch(e){throw e instanceof SyntaxError&&(i.filename&&(e.message+=" in "+i.filename),e.message+=" while compiling ejs\n\n",e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n",e.message+="https://github.com/RyanZim/EJS-Lint",i.async||(e.message+="\n",e.message+="Or, if you meant to create an async function, pass `async: true` as an option.")),e}var m=i.client?t:function(e){return t.apply(i.context,[e||{},c,function(t,n){var r=s.shallowCopy({},e);return n&&(r=s.shallowCopy(r,n)),v(t,i)(r)},g])};if(i.filename&&"function"==typeof Object.defineProperty){var p=i.filename,f=r.basename(p,r.extname(p));try{Object.defineProperty(m,"name",{value:f,writable:!1,enumerable:!1,configurable:!0})}catch(e){}}return m},generateSource:function(){this.opts.rmWhitespace&&(this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")),this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var e=this,t=this.parseTemplateText(),n=this.opts.delimiter,i=this.opts.openDelimiter,r=this.opts.closeDelimiter;t&&t.length&&t.forEach((function(s,a){var o;if(0===s.indexOf(i+n)&&0!==s.indexOf(i+n+n)&&(o=t[a+2])!=n+r&&o!="-"+n+r&&o!="_"+n+r)throw new Error('Could not find matching close tag for "'+s+'".');e.scanLine(s)}))},parseTemplateText:function(){for(var e,t=this.templateText,n=this.regex,i=n.exec(t),r=[];i;)0!==(e=i.index)&&(r.push(t.substring(0,e)),t=t.slice(e)),r.push(i[0]),t=t.slice(i[0].length),i=n.exec(t);return t&&r.push(t),r},_addOutput:function(e){if(this.truncate&&(e=e.replace(/^(?:\r\n|\r|\n)/,""),this.truncate=!1),!e)return e;e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/"/g,'\\"'),this.source+=' ; __append("'+e+'")\n'},scanLine:function(e){var t,n=this.opts.delimiter,i=this.opts.openDelimiter,r=this.opts.closeDelimiter;switch(t=e.split("\n").length-1,e){case i+n:case i+n+"_":this.mode=x.modes.EVAL;break;case i+n+"=":this.mode=x.modes.ESCAPED;break;case i+n+"-":this.mode=x.modes.RAW;break;case i+n+"#":this.mode=x.modes.COMMENT;break;case i+n+n:this.mode=x.modes.LITERAL,this.source+=' ; __append("'+e.replace(i+n+n,i+n)+'")\n';break;case n+n+r:this.mode=x.modes.LITERAL,this.source+=' ; __append("'+e.replace(n+n+r,n+r)+'")\n';break;case n+r:case"-"+n+r:case"_"+n+r:this.mode==x.modes.LITERAL&&this._addOutput(e),this.mode=null,this.truncate=0===e.indexOf("-")||0===e.indexOf("_");break;default:if(this.mode){switch(this.mode){case x.modes.EVAL:case x.modes.ESCAPED:case x.modes.RAW:e.lastIndexOf("//")>e.lastIndexOf("\n")&&(e+="\n")}switch(this.mode){case x.modes.EVAL:this.source+=" ; "+e+"\n";break;case x.modes.ESCAPED:this.source+=" ; __append(escapeFn("+b(e)+"))\n";break;case x.modes.RAW:this.source+=" ; __append("+b(e)+")\n";break;case x.modes.COMMENT:break;case x.modes.LITERAL:this._addOutput(e)}}else this._addOutput(e)}this.opts.compileDebug&&t&&(this.currentLine+=t,this.source+=" ; __line = "+this.currentLine+"\n")}},n.escapeXML=s.escapeXML,n.__express=n.renderFile,n.VERSION=o,n.name="ejs","undefined"!=typeof window&&(window.ejs=n)},{"../package.json":6,"./utils":2,fs:3,path:4}],2:[function(e,t,n){"use strict";var i=/[|\\{}()[\]^$+*?.]/g;n.escapeRegExpChars=function(e){return e?String(e).replace(i,"\\$&"):""};var r={"&":"&","<":"<",">":">",'"':""","'":"'"},s=/[&<>'"]/g;function a(e){return r[e]||e}n.escapeXML=function(e){return null==e?"":String(e).replace(s,a)},n.escapeXML.toString=function(){return Function.prototype.toString.call(this)+';\nvar _ENCODE_HTML_RULES = {\n "&": "&"\n , "<": "<"\n , ">": ">"\n , \'"\': """\n , "\'": "'"\n }\n , _MATCH_HTML = /[&<>\'"]/g;\nfunction encode_char(c) {\n return _ENCODE_HTML_RULES[c] || c;\n};\n'},n.shallowCopy=function(e,t){for(var n in t=t||{})e[n]=t[n];return e},n.shallowCopyFromList=function(e,t,n){for(var i=0;i=0;i--){var r=e[i];"."===r?e.splice(i,1):".."===r?(e.splice(i,1),n++):n&&(e.splice(i,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],i=0;i=-1&&!r;s--){var a=s>=0?arguments[s]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,r="/"===a.charAt(0))}return(r?"/":"")+(n=t(i(n.split("/"),(function(e){return!!e})),!r).join("/"))||"."},n.normalize=function(e){var s=n.isAbsolute(e),a="/"===r(e,-1);return(e=t(i(e.split("/"),(function(e){return!!e})),!s).join("/"))||s||(e="."),e&&a&&(e+="/"),(s?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(i(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},n.relative=function(e,t){function i(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var r=i(e.split("/")),s=i(t.split("/")),a=Math.min(r.length,s.length),o=a,c=0;c=1;--s)if(47===(t=e.charCodeAt(s))){if(!r){i=s;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":e.slice(0,i)},n.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,i=-1,r=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){n=t+1;break}}else-1===i&&(r=!1,i=t+1);return-1===i?"":e.slice(n,i)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,i=-1,r=!0,s=0,a=e.length-1;a>=0;--a){var o=e.charCodeAt(a);if(47!==o)-1===i&&(r=!1,i=a+1),46===o?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!r){n=a+1;break}}return-1===t||-1===i||0===s||1===s&&t===i-1&&t===n+1?"":e.slice(t,i)};var r=function(e,t,n){return e.substr(t,n)}}).call(this,e("_process"))},{_process:5}],5:[function(e,t,n){var i,r,s=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(i===setTimeout)return setTimeout(e,0);if((i===a||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:a}catch(e){i=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,d=[],u=!1,h=-1;function m(){u&&l&&(u=!1,l.length?d=l.concat(d):h=-1,d.length&&p())}function p(){if(!u){var e=c(m);u=!0;for(var t=d.length;t;){for(l=d,d=[];++h1)for(var n=1;n (http://fleegix.org)",license:"Apache-2.0",bin:{ejs:"./bin/cli.js"},main:"./lib/ejs.js",jsdelivr:"ejs.min.js",unpkg:"ejs.min.js",repository:{type:"git",url:"git://github.com/mde/ejs.git"},bugs:"https://github.com/mde/ejs/issues",homepage:"https://github.com/mde/ejs",dependencies:{jake:"^10.6.1"},devDependencies:{browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^3.6.4","lru-cache":"^4.0.1",mocha:"^7.1.1","uglify-js":"^3.3.16"},engines:{node:">=0.10.0"},scripts:{test:"mocha"}}},{}]},{},[1])(1)},748:e=>{"use strict";e.exports='\n\n \n \n \n\n \n\n \n\n \n K6 Load Test: <%= title %>\n \n \n\n \n

\n \n   K6 Load Test: <%= title %>\n

\n\n
\n
\n \n

Total Requests

\n
<% if(data.metrics.http_reqs) { %><%= data.metrics.http_reqs.values.count %><% } %>
\n
<% if(data.metrics.grpc_reqs) { %><%= data.metrics.grpc_reqs.values.count %><% } %>
\n
\n <% if(data.metrics.http_req_failed && data.metrics.http_req_failed.values) { %>\n
\n \n

Failed Requests

\n
<%= data.metrics.http_req_failed.values.passes %>
\n
\n <% } %> \n
\n \n

Breached Thresholds

\n
<%= thresholdFailures %>
\n
\n
\n \n

Failed Checks

\n
<%= checkFailures %>
\n
\n
\n\n
\n \n
\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n <% function checkFailed(metric, valName) {\n if(!metric.thresholds) return \'\'\n for(thres in metric.thresholds) {\n if(thres.includes(valName)) {\n if(!metric.thresholds[thres].ok) return \'failed\'\n return \'good\'\n }\n }\n }\n\n for(metricName of standardMetrics) { \n if(!data.metrics[metricName]) { continue }\n var metric = data.metrics[metricName] \n %>\n \n \n\n <% if(metric.values.count) { %>\n \n <% } else { %>\n \n <% } %>\n\n <% if(metric.values.rate) { %>\n \n <% } else { %>\n \n <% } %>\n \n <% if(metric.values.avg) { %>\n \n <% } else { %>\n \n <% } %>\n\n <% if(metric.values.max) { %>\n \n <% } else { %>\n \n <% } %> \n\n <% if(metric.values.med) { %>\n \n <% } else { %>\n \n <% } %> \n \n <% if(metric.values.min) { %>\n \n <% } else { %>\n \n <% } %> \n \n <% if(metric.values[\'p(90)\']) { %>\n \n <% } else { %>\n \n <% } %>\n\n <% if(metric.values[\'p(95)\']) { %>\n \n <% } else { %>\n \n <% } %>\n \n <% } %>\n \n
CountRateAverageMaximumMedianMinimum90th Percentile95th Percentile
<%= metricName %><%= metric.values.count.toFixed(2) %>-<%= metric.values.rate.toFixed(2) %>-<%= metric.values.avg.toFixed(2) %>-<%= metric.values.max.toFixed(2) %>-<%= metric.values.med.toFixed(2) %>-<%= metric.values.min.toFixed(2) %>-<%= metric.values[\'p(90)\'].toFixed(2) %>-<%= metric.values[\'p(95)\'].toFixed(2) %>-
\n
\n\n <% \n first = true \n var sortedMetrics = {}\n Object.keys(data.metrics).sort().forEach(function(k) {\n sortedMetrics[k] = data.metrics[k]\n });\n for(metricName in sortedMetrics) {\n if(standardMetrics.includes(metricName) || otherMetrics.includes(metricName)) { continue }\n var metric = sortedMetrics[metricName] \n %>\n <% if(first) { first = false %>

Custom Metrics

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n <% } %>\n \n \n\n <% if(metric.values.count) { %>\n \n <% } else { %>\n \n <% } %>\n\n <% if(metric.values.rate) { %>\n \n <% } else { %>\n \n <% } %>\n \n <% if(metric.values.avg) { %>\n \n <% } else { %>\n \n <% } %>\n\n <% if(metric.values.max) { %>\n \n <% } else { %>\n \n <% } %> \n\n <% if(metric.values.med) { %>\n \n <% } else { %>\n \n <% } %> \n \n <% if(metric.values.min) { %>\n \n <% } else { %>\n \n <% } %> \n \n <% if(metric.values[\'p(90)\']) { %>\n \n <% } else { %>\n \n <% } %>\n\n <% if(metric.values[\'p(95)\']) { %>\n \n <% } else { %>\n \n <% } %>\n \n <% } %>\n \n
CountRateAverageMaximumMedianMinimum90th Percentile95th Percentile
<%= metricName %><%= metric.values.count.toFixed(2) %>-<%= metric.values.rate.toFixed(2) %>-<%= metric.values.avg.toFixed(2) %>-<%= metric.values.max.toFixed(2) %>-<%= metric.values.med.toFixed(2) %>-<%= metric.values.min.toFixed(2) %>-<%= metric.values[\'p(90)\'].toFixed(2) %>-<%= metric.values[\'p(95)\'].toFixed(2) %>-
\n
\n\n\n    Note. All times are in milli-seconds\n
\n \x3c!-- ---- end tab ---- --\x3e\n\n \n \n
\n
\n <% if (data.metrics.checks) { %>\n
\n

Checks

\n \n
Passed
<%= data.metrics.checks.values.passes %>
\n
Failed
<%= data.metrics.checks.values.fails %>
\n
\n <% } %>\n\n <% if (data.metrics.iterations) { %>\n
\n

Iterations

\n \n
Total
<%= data.metrics.iterations.values.count %>
\n
Rate
<%= data.metrics.iterations.values.rate.toFixed(2) %>/s
\n
\n <% } %>\n\n
\n

Virtual Users

\n \n
Min
<%= data.metrics.vus ? data.metrics.vus.values.min : 1 %>
\n
Max
<%= data.metrics.vus ? data.metrics.vus.values.max : 1 %>
\n
\n
\n\n
\n
\n

Requests

\n \n
Total
<% if(data.metrics.http_reqs) { %><%= data.metrics.http_reqs.values.count %><% } %>
\n
Rate
<% if(data.metrics.http_reqs) { %><%= data.metrics.http_reqs.values.rate.toFixed(2) %>/s<% } %>
\n
\n\n
\n

Data Received

\n \n
Total
<%= (data.metrics.data_received.values.count/1000000).toFixed(2) %> MB
\n
Rate
<%= (data.metrics.data_received.values.rate/1000000).toFixed(2) %> mB/s
\n
\n\n
\n

Data Sent

\n \n
Total
<%= (data.metrics.data_sent.values.count/1000000).toFixed(2) %> MB
\n
Rate
<%= (data.metrics.data_sent.values.rate/1000000).toFixed(2) %> mB/s
\n
\n
\n
\n \x3c!-- ---- end tab ---- --\x3e \n\n \n \n
\n\n <% for(group of data.root_group.groups) { %>\n

• Group - <%= group.name %>

\n \n \n \n \n \n \n \n \n <% for(check of group.checks) { %>\n \n \n \n <% } %>\n
Check NamePassesFailures
<%= check.name %><%= check.passes %><%= check.fails %>
\n
\n <% } %>\n\n

• Other Checks

\n \n \n \n \n \n \n \n \n <% for(check of data.root_group.checks) { %>\n \n \n \n <% } %>\n
Check NamePassesFailures
<%= check.name %><%= check.passes %><%= check.fails %>
\n
\n \x3c!-- ---- end tab ---- --\x3e\n
\n \n \n\n'}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{htmlReport:()=>s});var e=n(481),t=n.n(e),r=n(748);function s(e,n={}){n.title||(n.title=(new Date).toISOString().slice(0,16).replace("T"," ")),n.hasOwnProperty("debug")||(n.debug=!1),console.log("[k6-reporter v2.3.0] Generating HTML summary report");let i=[];n.debug&&console.log(JSON.stringify(e,null,2));let s=0,o=0;for(let t in e.metrics)if(i.push(t),e.metrics[t].thresholds){o++;let n=e.metrics[t].thresholds;for(let e in n)n[e].ok||s++}let c=0,l=0;if(e.root_group.checks){let{passes:t,fails:n}=a(e.root_group.checks);c+=n,l+=t}for(let t of e.root_group.groups)if(t.checks){let{passes:e,fails:n}=a(t.checks);c+=n,l+=e}return t().render(r,{data:e,title:n.title,standardMetrics:["grpc_req_duration","http_req_duration","http_req_waiting","http_req_connecting","http_req_tls_handshaking","http_req_sending","http_req_receiving","http_req_blocked","iteration_duration","group_duration","ws_connecting","ws_msgs_received","ws_msgs_sent","ws_sessions"],otherMetrics:["iterations","data_sent","checks","http_reqs","data_received","vus_max","vus","http_req_failed","http_req_duration{expected_response:true}"],thresholdFailures:s,thresholdCount:o,checkFailures:c,checkPasses:l,version:"2.3.0"})}function a(e){let t=0,n=0;for(let i of e)t+=parseInt(i.passes),n+=parseInt(i.fails);return{passes:t,fails:n}}})();var r=exports;for(var s in i)r[s]=i[s];i.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();