Mercurial > stress-tester
changeset 453:1fadccfcb2db
ST-52
author | Devel 1 |
---|---|
date | Tue, 01 Aug 2017 09:22:48 +0200 |
parents | 03d58388d5fb |
children | 8c8853c216fe |
files | stress-tester/src/main/java/com/passus/st/client/http/HttpClientMetric.java |
diffstat | 1 files changed, 4 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/HttpClientMetric.java Mon Jul 31 15:22:38 2017 +0200 +++ b/stress-tester/src/main/java/com/passus/st/client/http/HttpClientMetric.java Tue Aug 01 09:22:48 2017 +0200 @@ -24,23 +24,18 @@ private final String name; + private final Map<String, Serializable> attrs = new LinkedHashMap<>(); + private final MutableInt requestsNum = new MutableInt(0); - private final MutableInt responsesNum = new MutableInt(0); //private final HashMap<ByteString, MutableInt> reqUrls = new HashMap<>(); private final TreeMap<Integer, MutableInt> respStatuses = new TreeMap<>(); - private final Map<String, Serializable> attrs = new LinkedHashMap<>(); - private final LongHistogramMetric responseTimeHistogram = new LongHistogramMetricImpl(DEFAULT_HISTOGRAM_VALUES); - private final LongHistogramMetric requestSendingTimeHistogram = new LongHistogramMetricImpl(DEFAULT_HISTOGRAM_VALUES); - private final LongHistogramMetric responseReceivingTimeHistogram = new LongHistogramMetricImpl(DEFAULT_HISTOGRAM_VALUES); - private final LongHistogramMetric requestSizeHistogram = new LongHistogramMetricImpl(DEFAULT_HISTOGRAM_VALUES); - private final LongHistogramMetric responseSizeHistogram = new LongHistogramMetricImpl(DEFAULT_HISTOGRAM_VALUES); private boolean active; @@ -184,6 +179,8 @@ responseTimeHistogram.reset(); requestSendingTimeHistogram.reset(); responseReceivingTimeHistogram.reset(); + requestSizeHistogram.reset(); + responseSizeHistogram.reset(); } private void update(Map map1, Map map2) {