Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Review SignalWordPress Hosting Performance Benchmarks Load Impact Test Script
http.page_start("Page 1 Blitz")
responses = http.request_batch({
{"GET", "<url>", auto_decompress=true, response_body_bytes=1024}
})
if responses[1].status_code == 200 then else log.debug("Status: " .. responses[1].status_code) end
result.custom_metric("StatusCode", responses[1].status_code)
result.custom_metric("TTFB-FirstRequest", responses[1].time_to_first_byte)
http.page_end("Page 1 Blitz")
client.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.