mardi 28 juillet 2015

Jmeter recorded requests have server response time different from those for real requests

I've recorded a Scenario with Jmeter Recorder (also used HTTP Authorization and Cookie managers in the Thread). It was and iPad app that sent synchronization requests to the server and get back the data.

Server logs says that my "real" requests from the iPad took from server at about 2 seconds to be processed.

1.741 seconds - [29/Jul/2015:05:46:11 +0000] "GET /***/sync/790833 HTTP/1.0" 200 659338 1.704 seconds - [29/Jul/2015:05:46:34 +0000] "GET /***/sync/790834 HTTP/1.0" 200 31

However, when I run that requests recording, server took much less time to process them:

0.044 seconds - [29/Jul/2015:05:47:13 +0000] "GET /***/790833 HTTP/1.0" 200 470409 0.041 seconds - [29/Jul/2015:05:47:14 +0000] "GET /***/790834 HTTP/1.0" 200 470409

Moreover, the response size is different.

What can be the reason, why the server treats the requests (that seem to be equal) differently?

Aucun commentaire:

Enregistrer un commentaire