GET One Object
Objects refer to each of the network requests that are made when testing a URL in Eggplant Web Performance Analyzer. For example, each row you see on a waterfall chart corresponds to an object (i.e., a .css file or .png image)
Request
The sref of the object contains the full path of how to request each object individually. The sref is effectively the API endpoint path and the id of the object being requested.
Method | GET |
Path | /objects/id |
Header |
Realm: account_realm Authorization: Bearer access_token |
Response
The response for this request is a single object:
Body |
"results": { "url": "http://my.url.com/home.html", "mimeType": "text/html", "result": 301, "requestHeaderSize": 663, "responseHeaderSize": 659, "transmittedSize": 20, "uncompressedSize": 20, "offsetDuration": 0, "blockDuration": null, "dnsDuration": 0, "connectDuration": 0, "sslDuration": 0, "sendDuration": null, "dataStartDuration": 0.052, "receiveDuration": 0, "cacheDuration": null, "networkDuration": 0.052, "ttfbDuration": 0.052, "downloadDuration": 0.052, "responseBodyChecksum": "d91492d55d6e977a0bfe790238b24a76677b85", "sref": "objects/345678", "testRunUri": "testRuns/123456789", "headersUri": "headers?object=objects%2F345678" } |
Object Parameters
Parameter | Description |
---|---|
url | The URL of the requested object |
mimeType | The mime (content ) type of the object |
result | The status code for the object |
requestHeaderSize |
The size of the request header in bytes |
responseHeaderSize |
The size of the response header in bytes |
transmittedSize |
The size in bytes of the response body (on the wire), showing the compressed size if relevant |
uncompressedSize |
The size in bytes of the response body, in its uncompressed state |
offsetDuration |
The number of seconds from when the test starts to when the browser starts the request for the object |
blockDuration |
Deprecated. Generally returns null. |
dnsDuration |
The number of seconds spent resolving a host name into an IP address |
connectDuration |
The number of seconds required to create a TCP connection to the web server. This does not include SSL/TLS handshake time for HTTPS requests. |
sslDuration |
The number of seconds spent performing SSL/TLS handshake for HTTPS requests |
sendDuration |
Deprecated. Generally returns null. |
dataStartDuration |
The number of seconds spent waiting for a response from the web server |
receiveDuration |
The number of seconds taken to read the response from the web server |
cacheDuration |
Deprecated. Generally returns null. |
networkDuration |
The number of seconds spent on all network related operations for the request (this will typically be the same as downloadDuration) |
ttfbDuration |
Time To First Byte is the number of seconds from the initial network request to the first byte of data being received |
downloadDuration |
The total amount of time in seconds (including all network activity) that the request took to complete (typically be the same as networkDuration) |
responseBodyChecksum |
The total amount of time in seconds (including all network activity) that the request took to complete (typically be the same as networkDuration) |
sref |
The self-reference path that describes how you can request the object |
testRunUri |
The URI of the test run that this test object is from |
headersUri | The URI for querying the HTTP request and response headers for this object |