Super Simple Load Testing

Sometimes you need a quick, simple way to throw a lot of traffic at a URL. Doesn’t have to be anything fancy. You just need to hammer a URL with requests so you can gather some stats about performance under load.

Artillery is a handy command line utility that fulfills this need.

假设您已经npm installed ‘npm install -g artillery’ installs artillery globally.

artillery quick –count 10 -n 20 http://localhost/myurltotest

This creates 10 “users” who each send 20 requests to the URL specified.

Read more about Artillery