Created
May 30, 2020 15:28
-
-
Save kevinohashi/14b2565b69749faaf3991c8baf6f9889 to your computer and use it in GitHub Desktop.
Review SignalWordPress Hosting Performance Benchmarks Load Impact Test Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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