Sha256: 2881b8fc5a3d3c1826329656523fb8fa4efb5098d4df66953bf60d96e716b8a9
Contents?: true
Size: 250 Bytes
Versions: 6
Compression:
Stored size: 250 Bytes
Contents
namespace :load_test do desc "Load test with apache benchmark" task :run, [:url, :count] do |_, args| url = args[:url] || "http://localhost:3000/hello_world" count = args[:count] || 500 system("ab -c 10 -n #{count} #{url}") end end
Version data entries
6 entries across 6 versions & 1 rubygems