changeset 1277:ad2aad6439da

HttpTrafficDumperFilter - "reqFrameNum" field
author Devel 2
date Thu, 09 Jul 2020 10:23:22 +0200
parents 494df42c1b84
children d07d00c530e8
files stress-tester/src/main/java/com/passus/st/client/http/filter/HttpTrafficDumperFilter.java
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpTrafficDumperFilter.java	Wed Jul 08 14:02:08 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/http/filter/HttpTrafficDumperFilter.java	Thu Jul 09 10:23:22 2020 +0200
@@ -83,6 +83,7 @@
         writeString("reqTimeEnd");
         writeString("reqHeaderSize");
         writeString("reqContentSize");
+        writeString("reqFrameNum");
 
         writeString("respCode");
         writeString("respReason");
@@ -192,6 +193,12 @@
                     write(0);
                 }
 
+                if (req.getFirstFrameNum() != -1) {
+                    write(req.getFirstFrameNum() + 1);
+                } else {
+                    write("");
+                }
+
                 if (resp != null) {
                     HttpStatus status = resp.getStatus();
                     write(status.getCode());