changeset 461:ae444c6a1e70

HttpClientMetric - some getters
author Devel 1
date Tue, 01 Aug 2017 15:57:02 +0200
parents f6b94e93bc1d
children 105c244b840c
files stress-tester/src/main/java/com/passus/st/client/http/HttpClientMetric.java
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/HttpClientMetric.java	Tue Aug 01 13:25:54 2017 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/HttpClientMetric.java	Tue Aug 01 15:57:02 2017 +0200
@@ -101,6 +101,18 @@
         responsesNum.increment();
     }
 
+    public int getRequestsNum() {
+        return requestsNum.intValue();
+    }
+
+    public int getResponsesNum() {
+        return responsesNum.intValue();
+    }
+
+    public Map<Integer, MutableInt> getStatusCodes() {
+        return respStatuses;
+    }
+
     /*public void addRequestUrl(URL url) {
         MutableInt count = reqUrls.get(url);
         if (count == null) {