jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62045] New: timing difference for large (?) requests
Date Thu, 25 Jan 2018 15:49:28 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62045

            Bug ID: 62045
           Summary: timing difference for large (?) requests
           Product: JMeter
           Version: 3.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: apodelko@yahoo.com
  Target Milestone: ---

Moving one my script to JMeter (3.3) I noticed a significant timing difference
for some requests (between JMeter and measurements / other tools). 

For example, here is what I see in Fiddler for one request:

POST
http://xxx:9000/epm/ui-rest/v1/requests/52ea978d-e94d-4d37-8d2d-5b9049bd2916/import
HTTP/1.1
Host: xxx:9000
Connection: keep-alive
Content-Length: 157
Accept: */*
Origin: http://xxx:9000
Timezone: America/DenverX-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64;x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/63.0.3239.132 Safari/537.36
Content-Type: application/json
Referer:
http://xxx:9000/epm/?root=workarea&workarea=view&id=ui-rest%2Fv1%2Fviews%2F4c819c71-4cb4-4498-ad2d-7c93a3ec6b7d
Accept-Encoding:gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie:
EPM_Remote_User=b8e6T+U6DAXmDCZyx8WntMnvce/g39f2Di5KKPTe9yS2jvCmac6KM11weVtqKwEY;
JSESSIONID=TZviFRa7mudww7e1LIFyialL8CIo6MZS2Nu9yjyw6AYUCObhMgCt!-236747468

{"fileUri":
"http://xxx:9000/epm/ui-rest/v1/requests/52ea978d-e94d-4d37-8d2d-5b9049bd2916/attachments/importFile/b94d2b50-d529-4a01-afb9-2bfdd0d78a4f"
}

Request Count:   1
Bytes Sent:      950 (headers:793; body:157)
Bytes Received:  7,065,667
(headers:550; body:7,065,117)
ACTUAL PERFORMANCE--------------
ClientConnected: 15:06:58.147
ClientBeginRequest: 15:07:11.094
GotRequestHeaders: 15:07:11.094
ClientDoneRequest: 15:07:11.094
Determine Gateway: 16ms
DNS Lookup:  0ms
TCP/IP Connect: 0ms
HTTPS Handshake: 0ms
ServerConnected: 15:07:10.964
FiddlerBeginRequest: 15:07:11.095
ServerGotRequest: 15:07:11.095
ServerBeginResponse: 15:08:26.158
GotResponseHeaders: 15:08:26.158
ServerDoneResponse: 15:08:26.210
ClientBeginResponse: 15:08:26.222
ClientDoneResponse: 15:08:26.227
Overall Elapsed: 0:01:15.132
RESPONSE BYTES (by Content-Type)--------------application/json: 7,065,117      
~headers~:
550

and here is what I see in JMeter (from the same machine):

POST
http://xxx:9000/epm/ui-rest/v1/requests/b079bd62-4964-4adf-8564-d35ec33d0993/import

POST data:{"fileUri":
"http://xxx:9000/epm/ui-rest/v1/requests/b079bd62-4964-4adf-
8564-d35ec33d0993/attachments/importFile/5eb5f197-ebfb-4de1-8238-35ad0060d857"
}

 Cookie Data:
EPM_Remote_User=UngMo7mbHE9R5SdofArYMZO44fBaRL3QcmxFT6e5kmnPp0a5QV5IbXoJFJmVCCzf;
JSESSIONID=7GHhvdbivYNGxwfwd2MPPbsoFpj3hzd5nGD4_nE1RjeaAx_TT1tG!-236747468
Request Headers:Connection: keep-alive
Referer:
http://xxx:9000/epm/?root=workarea&workarea=view&id=ui-rest%2Fv1%2Fviews%2F4c819c71-4cb4-4498-ad2d-7c93a3ec6b7d
Accept-Language: en-US,en;q=0.5
Timezone: America/DenverX-Requested-With: XMLHttp
RequestContent-Type: application/json
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:52.0) Gecko/20100101
Firefox/52.0
Accept: */*
Content-Length: 157
Host: xxx:9000


Thread Name: Thread Group 1-1Sample Start: 2018-01-10 13:28:41 MST
Load time: 37327
Connect Time: 0
Latency: 37272
Size in bytes: 7065667
Sent bytes:863
Headers size in bytes: 550
Body size in bytes: 7065117
Sample Count: 1
Error Count: 0
Data type ("text"|"bin"|""): text
Response code: 200
Response message: OK
Response headers:HTTP/1.1 200 OKCache-Control: no-cache, no-store, max-age=0,
must-revalidateDate:
Wed, 10 Jan 2018 20:28:41 GMTPragma: no-cacheTransfer-Encoding:
chunkedContent-Type: application/jsonExpires:
0Access-Control-Allow-Methods: GET, POST, DELETE, PUT, PATCHP3P:
X-CONTENT-TYPE-OPTIONS:nosniffX-XSS-Protection:
1; mode=blockAccess-Control-Allow-Headers: X-Requested-With,
Content-TypeX-Content-Type-Options:
nosniffAccess-Control-Allow-Origin: *Content-Language: en-USX-Powered-By:
Servlet/2.5 JSP/2.1X-Frame-Options:
DENY

HTTPSampleResult fields:ContentType: application/jsonDataEncoding: null

So in JMeter it takes 37 sec while in the real product (and another load
testing tool) it takes ab. 75 sec. I see some difference in other requests too,
but this one looks as a better example (my guess is that the difference becomes
bigger for larger requests - and this one returns 7M). Everything inside a
single data center, latency (ping) < 1 ms. 

Was posted to the user mail list
http://mail-archives.apache.org/mod_mbox/jmeter-user/201801.mbox/%3C998028789.728908.1515623551353%40mail.yahoo.com%3E
, but no real answer there - so it may be a bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message