Detailed response time metrics with time: true
See original GitHub issueHello,
Is it possible to add time: true parameter to request? For example in beforeRequest custom script or any other way?
It’ll help to be more confident in response time statistics and get more details
according to Request library docs: timingPhases Contains the durations of each request phase. If there were redirects, the properties reflect the timings of the final request in the redirect chain:
- wait: Duration of socket initialization (timings.socket)
- dns: Duration of DNS lookup (timings.lookup - timings.socket)
- tcp: Duration of TCP connection (timings.connect - timings.socket)
- firstByte: Duration of HTTP server response (timings.response - timings.connect)
- download: Duration of HTTP download (timings.end - timings.response)
- total: Duration entire HTTP round-trip (timings.end)
request.get({
url : 'http://example.com',
time : true
},function(err, response){
console.log('Request time in ms', response.elapsedTime);
});
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
5 Types of Response Time Metrics and How To Measure It
In this article, we define response time testing, show you how to measure it and explore various types of response time testing.
Read more >Response Time Testing – How to Measure for API? - Guru99
1. Method of calculating metrics gathered by each API response time test tool. 2. Tools Simulate the load and capture speed which can...
Read more >Response Time Limits: Article by Jakob Nielsen
The 3 main response time limits are determined by human perceptual abilities. ... For reasonably fast operations, taking between 2 and 10 seconds,...
Read more >Page Load Time vs. Response Time - What Is the Difference?
Page load time and response time are key metrics to monitor, and they can give you an in-depth understanding of how your website...
Read more >Why response times are often measured incorrectly - Dynatrace
In virtualized and cloud environments they are the most accurate performance metric you can get. Very often, however, people measure and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes @dominikstohl, they should show up in the report too. If not, please file a bug. 😄
aaand documented: https://www.artillery.io/docs/guides/guides/http-reference#additional-performance-metrics-v2
closing 😃