Skip to content

Instantly share code, notes, and snippets.

@jcopps
Created June 7, 2021 09:49
Show Gist options
  • Save jcopps/a61a1b83c46d6c9f7ed7d08d2e99e450 to your computer and use it in GitHub Desktop.
Save jcopps/a61a1b83c46d6c9f7ed7d08d2e99e450 to your computer and use it in GitHub Desktop.
Parallelize a http request for quick load test - CURL
"""Curl Quick Load Test
P10 - 10 indicates 10 parallel instances at once.
200 - Total number of requests
"""
seq 1 200 | xargs -n1 -P10 curl "http://github.com/jcopps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment