runner-runtime 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/libs/utils.js +2 -2
  2. package/package.json +1 -1
package/libs/utils.js CHANGED
@@ -500,8 +500,8 @@ const formatAutotestReport = (startTimeAt, eventResultList) => {
500
500
  }
501
501
  })
502
502
 
503
- report.http.success.total = report.http.total - report.http.error;
504
- report.assert.success.total = report.assert.total - report.assert.error;
503
+ report.http.success = report.http.total - report.http.error;
504
+ report.assert.success = report.assert.total - report.assert.error;
505
505
  report.avg_response_time = _.round(totalResponseTime / report.http.total, 2);
506
506
  report.avg_response_size = _.round(totalResponseSize / report.http.total, 2);
507
507
  report.total_response_time = totalResponseTime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runner-runtime",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "runner-runtime.",
5
5
  "main": "index.js",
6
6
  "scripts": {