curl send 100 requests parallel code example
Example 1: curl send 100 requests parallel
// Send 200 requests in parallel
1 200 | xargs -n1 -P10 curl "http://localhost:5000/example"
Example 2: curl parallel requests
Just include your regex pattern inside a [regex_pattern] as follows:
curl 'www.exampledomain/examplepath?siteid=[0-9]'
#Calls url with every digit from 0 to 9