Request payload struct
Appears in: requests
table
As: payload
JSON-encoded WebPageTest result data for a request.
The actual schema of the WebPageTest result data is liable to change, depending on a request.
Here’s an example of the decoded object:
Schema
Field | Type | Description |
---|---|---|
_all_end | int | End time of all operations. |
_all_ms | int | Total time taken for all operations. |
_all_start | int | Start time of all operations. |
_body_file | string | File containing the body of the request. |
_bytesIn | int | Number of bytes received. |
_bytesOut | int | Number of bytes sent. |
_cache_time | int | Cache time. |
_cacheControl | string | Cache control header value. |
_cached | int | Indicates if the request was cached (0 or 1). |
_cdn_provider | string | CDN provider used. |
_certificates | array | Certificates used. |
_chunks | array | Array of chunks received. |
_chunks[].bytes | int | Size of the chunk. |
_chunks[].inflated | int | Size of the inflated chunk. |
_chunks[].ts | int | Timestamp of the chunk. |
_connect_end | int | Connection end time. |
_connect_ms | int | Connection time in milliseconds. |
_connect_start | int | Connection start time. |
_contentEncoding | string | Content encoding of the response. |
_contentType | string | Content type of the response. |
_created | int | Creation time of the request. |
_dns_end | int | DNS end time. |
_dns_info | object | DNS information. |
_dns_info.results.aliases | array | Aliases for the domain. |
_dns_info.results.canonical_names | array | Canonical names for the domain. |
_dns_info.results.endpoint_metadatas | array | Endpoint metadata. |
_dns_info.results.expiration | string | Expiration date of the DNS query. |
_dns_info.results.host_ports | array | Host ports. |
_dns_info.results.hostname_results | array | Hostname results. |
_dns_info.results.ip_endpoints[].endpoint_address | string | IP address of the endpoint. |
_dns_info.results.ip_endpoints[].endpoint_port | int | Port of the endpoint. |
_dns_info.results.ip_endpoints | array | IP endpoints. |
_dns_info.results.text_records | array | Text records. |
_dns_info.results | object | Results of the DNS query. |
_dns_info.secure | int | Indicates if the DNS query is secure. |
_dns_info.transactions_needed[].dns_query_type | string | Type of DNS query. |
_dns_info.transactions_needed | array | Transactions needed for DNS query. |
_dns_ms | int | DNS lookup time in milliseconds. |
_dns_start | int | DNS start time. |
_documentURL | string | Document URL of the request. |
_download_end | int | Download end time. |
_download_ms | int | Download time in milliseconds. |
_download_start | int | Download start time. |
_expires | string | Expiry date of the request. |
_final_base_page | int | Indicates if the request is the final base page. |
_frame_id | string | Frame ID where the request was made. |
_full_url | string | Full URL of the request. |
_gzip_save | int | Size saved due to gzip compression. |
_gzip_total | int | Total size of the gzip-compressed content. |
_host | string | Host of the request. |
_http2_server_settings | object | HTTP/2 server settings. |
_http2_stream_dependency | int | HTTP/2 stream dependency. |
_http2_stream_exclusive | int | HTTP/2 stream exclusivity. |
_http2_stream_id | int | HTTP/2 stream ID. |
_http2_stream_weight | int | HTTP/2 stream weight. |
_id | string | Unique identifier for the request. |
_image_save | int | Size saved due to image optimization. |
_image_total | int | Total size of images. |
_index | int | Index of the request. |
_initial_priority | string | Initial priority of the request. |
_initiator_column | string | Column number of the initiator. |
_initiator_line | string | Line number of the initiator. |
_initiator_type | string | Type of initiator (e.g., script). |
_initiator | string | Initiator of the request. |
_ip_addr | string | IP address of the requested server. |
_is_base_page | int | Indicates if the request is the base page. |
_is_secure | int | Indicates if the request is secure (0 or 1). |
_load_end | int | Load end time. |
_load_ms | int | Load time in milliseconds. |
_load_start_float | float | Precise start time of load. |
_load_start | int | Start time of load in milliseconds. |
_method | string | HTTP method used for the request. |
_minify_save | int | Size saved due to minification. |
_minify_total | int | Total size of minified content. |
_netlog_id | int | Netlog ID. |
_number | int | Number of the request. |
_objectSize | int | Size of the object received. |
_objectSizeUncompressed | int | Uncompressed size of the object received. |
_priority | string | Priority of the request. |
_protocol | string | Protocol used for the request. |
_raw_id | string | Raw ID for the request. |
_request_id | string | Identifier for the original request. |
_request_type | string | Type of the request (e.g., Document). |
_responseCode | int | HTTP response code. |
_run | int | The run number of the test. |
_score_cache | int | Cache score. |
_score_cdn | int | CDN score. |
_score_combine | int | Combine score. |
_score_compress | int | Compression score. |
_score_cookies | int | Cookies score. |
_score_etags | int | ETags score. |
_score_gzip | int | Gzip compression score. |
_score_keep-alive | int | Keep-alive score. |
_score_minify | int | Minification score. |
_securityDetails | object | Security details of the request. |
_securityDetails.certificateId | int | Certificate ID. |
_securityDetails.certificateTransparencyCompliance | string | Certificate transparency compliance. |
_securityDetails.cipher | string | Cipher used. |
_securityDetails.encryptedClientHello | int | Indicates if the client hello is encrypted. |
_securityDetails.issuer | string | Issuer of the certificate. |
_securityDetails.keyExchange | string | Key exchange used. |
_securityDetails.keyExchangeGroup | string | Key exchange group used. |
_securityDetails.protocol | string | Security protocol used. |
_securityDetails.sanList | array | Subject alternative names. |
_securityDetails.serverSignatureAlgorithm | int | Server signature algorithm. |
_securityDetails.signedCertificateTimestampList | array | List of signed certificate timestamps. |
_securityDetails.subjectName | string | Subject name of the certificate. |
_securityDetails.validFrom | int | Valid from date of the certificate. |
_securityDetails.validTo | int | Valid to date of the certificate. |
_server_count | int | Number of servers used. |
_server_port | string | Server port. |
_server_rtt | int | Server round-trip time. |
_socket_group | string | Socket group. |
_socket | int | Socket used for the request. |
_ssl_end | int | SSL handshake end time. |
_ssl_ms | int | SSL handshake time in milliseconds. |
_ssl_start | int | SSL handshake start time. |
_tls_cipher_suite | int | Cipher suite used. |
_tls_next_proto | string | Next protocol used. |
_tls_resumed | string | Indicates if the TLS session was resumed. |
_tls_version | string | TLS version used. |
_ttfb_end | int | Time to first byte end time. |
_ttfb_ms | int | Time to first byte in milliseconds. |
_ttfb_start | int | Time to first byte start time. |
_type | int | Type identifier for the request. |
_url | string | URL path of the request. |
cache | object | Cache details (empty in this example). |
pageref | string | Reference to the page containing this request. |
request | object | Details of the request. |
request.bodySize | int | Size of the request body. |
request.cookies | array | Cookies sent with the request. |
request.headersSize | int | Size of the request headers. |
request.httpVersion | string | HTTP version used for the request. |
request.method | string | HTTP method used for the request. |
request.queryString | array | Query string parameters. |
request.url | string | URL of the requested resource. |
response | object | Details of the response. |
response.bodySize | int | Size of the response body. |
response.content.mimeType | string | MIME type of the content. |
response.content.size | int | Size of the content. |
response.content | object | Content details of the response. |
response.cookies | array | Cookies received with the response. |
response.headersSize | int | Size of the response headers. |
response.httpVersion | string | HTTP version used for the response. |
response.status | int | HTTP response status code. |
response.statusText | string | Status text of the response. |
startedDateTime | string | Start time of the request. |
time | int | Total time taken for the request in milliseconds. |
timings | object | Timing details of various stages of the request. |
timings.blocked | int | Time spent in blocking. |
timings.connect | int | Time spent in establishing a connection. |
timings.dns | int | Time spent in DNS lookup. |
timings.receive | int | Time spent in receiving the response. |
timings.send | int | Time spent in sending the request. |
timings.ssl | int | Time spent in SSL handshake. |
timings.wait | int | Time spent in waiting for the response. |
_all_end
End time of all operations.
_all_ms
Total time taken for all operations.
_all_start
Start time of all operations.
_body_file
File containing the body of the request.
_bytesIn
Number of bytes received.
_bytesOut
Number of bytes sent.
_cacheControl
Cache control header value.
_cache_time
Cache time.
_cached
Indicates if the request was cached (0 or 1).
_cdn_provider
CDN provider used.
_certificates
array | Certificates used.
_chunks
array | Array of chunks received.
-
_chunks[].bytes
Size of the chunk.
-
_chunks[].inflated
Size of the inflated chunk.
-
_chunks[].ts
Timestamp of the chunk.
_connect_end
Connection end time.
_connect_ms
Connection time in milliseconds.
_connect_start
Connection start time.
_contentEncoding
Content encoding of the response.
_contentType
Content type of the response.
_created
Creation time of the request.
_dns_end
DNS end time.
_dns_info
DNS information.
-
_dns_info.results
Results of the DNS query.
-
_dns_info.results.aliases
Aliases for the domain.
-
_dns_info.results.canonical_names
Canonical names for the domain.
-
_dns_info.results.endpoint_metadatas
Endpoint metadata.
-
_dns_info.results.expiration
Expiration date of the DNS query.
-
_dns_info.results.host_ports
Host ports.
-
_dns_info.results.hostname_results
Hostname results.
-
_dns_info.results.ip_endpoints
IP endpoints.
-
_dns_info.results.ip_endpoints[].endpoint_address
IP address of the endpoint.
-
_dns_info.results.ip_endpoints[].endpoint_port
Port of the endpoint.
-
_dns_info.results.text_records
Text records.
-
_dns_info.secure
Indicates if the DNS query is secure.
-
_dns_info.transactions_needed
Transactions needed for DNS query.
-
_dns_info.transactions_needed[].dns_query_type
Type of DNS query.
_dns_ms
DNS lookup time in milliseconds.
_dns_start
DNS start time.
_documentURL
Document URL of the request.
_download_end
Download end time.
_download_ms
Download time in milliseconds.
_download_start
Download start time.
_expires
Expiry date of the request.
_final_base_page
Indicates if the request is the final base page.
_frame_id
Frame ID where the request was made.
_full_url
Full URL of the request.
_gzip_save
Size saved due to gzip compression.
_gzip_total
Total size of the gzip-compressed content.
_host
Host of the request.
_http2_server_settings
HTTP/2 server settings.
_http2_stream_dependency
HTTP/2 stream dependency.
_http2_stream_exclusive
HTTP/2 stream exclusivity.
_http2_stream_id
HTTP/2 stream ID.
_http2_stream_weight
HTTP/2 stream weight.
_id
Unique identifier for the request.
_image_save
Size saved due to image optimization.
_image_total
Total size of images.
_index
Index of the request.
_initial_priority
Initial priority of the request.
_initiator
Initiator of the request.
_initiator_column
Column number of the initiator.
_initiator_line
Line number of the initiator.
_initiator_type
Type of initiator (e.g., script).
_ip_addr
IP address of the requested server.
_is_base_page
Indicates if the request is the base page.
_is_secure
Indicates if the request is secure (0 or 1).
_load_end
Load end time.
_load_ms
Load time in milliseconds.
_load_start
Start time of load in milliseconds.
_load_start_float
float | Precise start time of load.
_method
HTTP method used for the request.
_minify_save
Size saved due to minification.
_minify_total
Total size of minified content.
_netlog_id
Netlog ID.
_number
Number of the request.
_objectSize
Size of the object received.
_objectSizeUncompressed
Uncompressed size of the object received.
_priority
Priority of the request.
_protocol
Protocol used for the request.
_raw_id
Raw ID for the request.
_request_id
Identifier for the original request.
_request_type
Type of the request (e.g., Document).
_responseCode
HTTP response code.
_run
The run number of the test.
_score_cache
Cache score.
_score_cdn
CDN score.
_score_combine
Combine score.
_score_compress
Compression score.
_score_cookies
Cookies score.
_score_etags
ETags score.
_score_gzip
Gzip compression score.
_score_keep-alive
Keep-alive score.
_score_minify
Minification score.
_securityDetails
Security details of the request.
-
_securityDetails.certificateId
Certificate ID.
-
_securityDetails.certificateTransparencyCompliance
Certificate transparency compliance.
-
_securityDetails.cipher
Cipher used.
-
_securityDetails.encryptedClientHello
Indicates if the client hello is encrypted.
-
_securityDetails.issuer
Issuer of the certificate.
-
_securityDetails.keyExchange
Key exchange used.
-
_securityDetails.keyExchangeGroup
Key exchange group used.
-
_securityDetails.protocol
Security protocol used.
-
_securityDetails.sanList
Subject alternative names.
-
_securityDetails.serverSignatureAlgorithm
Server signature algorithm.
-
_securityDetails.signedCertificateTimestampList
List of signed certificate timestamps.
-
_securityDetails.subjectName
Subject name of the certificate.
-
_securityDetails.validFrom
Valid from date of the certificate.
-
_securityDetails.validTo
Valid to date of the certificate.
_server_count
Number of servers used.
_server_port
Server port.
_server_rtt
Server round-trip time.
_socket
Socket used for the request.
_socket_group
Socket group.
_ssl_end
SSL handshake end time.
_ssl_ms
SSL handshake time in milliseconds.
_ssl_start
SSL handshake start time.
_tls_cipher_suite
Cipher suite used.
_tls_next_proto
Next protocol used.
_tls_resumed
Indicates if the TLS session was resumed.
_tls_version
TLS version used.
_ttfb_end
Time to first byte end time.
_ttfb_ms
Time to first byte in milliseconds.
_ttfb_start
Time to first byte start time.
_type
Type identifier for the request.
_url
URL path of the request.
cache
Cache details (empty in this example).
pageref
Reference to the page containing this request.
request
Details of the request.
-
request.bodySize
Size of the request body.
-
request.cookies
Cookies sent with the request.
-
request.headersSize
Size of the request headers.
-
request.httpVersion
HTTP version used for the request.
-
request.method
HTTP method used for the request.
-
request.queryString
Query string parameters.
-
request.url
URL of the requested resource.
response
Details of the response.
-
response.bodySize
Size of the response body.
-
response.content
Content details of the response.
-
response.content.mimeType
MIME type of the content.
-
response.content.size
Size of the content.
-
response.cookies
Cookies received with the response.
-
response.headersSize
Size of the response headers.
-
response.httpVersion
HTTP version used for the response.
-
response.status
HTTP response status code.
-
response.statusText
Status text of the response.
startedDateTime
Start time of the request.
time
Total time taken for the request in milliseconds.
timings
Timing details of various stages of the request.
-
timings.blocked
Time spent in blocking.
-
timings.connect
Time spent in establishing a connection.
-
timings.dns
Time spent in DNS lookup.
-
timings.receive
Time spent in receiving the response.
-
timings.send
Time spent in sending the request.
-
timings.ssl
Time spent in SSL handshake.
-
timings.wait
Time spent in waiting for the response.