Reputation: 81
'Microsft Visual Studio Web Performance and Load Test' and 'JMeter' response times are different. 'JMeter' is always showing higher response times.
I could not find specific reason regarding this problem, Is it fault of 'Microsft Visual Studio Web Performance and Load Test' or 'JMeter'?
'Microsft Visual Studio Web Performance and Load Test' response time is similar browser response time.
For instance, 'Jmeter' response time takes 0,7 sec while load to "google.com". On the other hand Browser Response time takes 0,3 sec and 'Microsft Visual Studio Web Performance and Load Test' Response Time takes 0,4 sec.
When I used JMeter in Non-GUI mode, the result didn't change, it even increased.
Upvotes: 1
Views: 517
Reputation: 58772
Firstly Remove Summary Report and View Result Tree
View Results Tree MUST NOT BE USED during load test as it consumes a lot of resources (memory and CPU)
Google takes the same or less create Test Plan as follows:
Ctrl+0, Ctrl+1 (Create Thread Group and HTTP Request)
In HTTP Request Set Server Name or IP to www.google.com
and uncheck Use KeepAlive
Ctrl +Shift + S - Save file as google.jmx
Execute non GUI in JMETER\bin folder
jmeter -n -t google.jmx -f -l google.jtl
Check in google.jtl file: second column elapsed
show be less than 300ms
See also JMeter's Best Practices
Use non-GUI mode: jmeter -n -t test.jmx -l test.jtl
Use as few Listeners as possible; if using the -l flag as above they can all be deleted or disabled. Don't use "View Results Tree" or "View Results in Table" listeners during the load test, use them only during scripting phase to debug your scripts.
Upvotes: 1