Load Testing

LoadStorm

The process for LoadStorm will be a scaling user test based on the pricing tier. The simulated users will hit the homepage, hit the login page, login, hit a few pages and posts.

The scale of the load varies by price tier starting at 500 users and scaling to n,000 users.

LoadImpact

LoadImpact ran a simple Lua script that requested the frontpage of the test site. It scaled from 1 to n,000 users based on the price tier. It was designed to emulate the old Blitz.io test of simply hammering the cache.

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 Code: " .. 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)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *