Whats the syntax for a linux command that hits a URL repeatedly, x number of times. I don't need to do anything with the data, I just need to replicate hitting refresh 20 times in a browser.
相关问题
- Is shmid returned by shmget() unique across proces
- Google Apps Script: testing doPost() with cURL
- how to get running process information in java?
- Can I skip certificate verification oracle utl_htt
- UrlEncodeUnicode and browser navigation errors
You could use URL sequence substitution with a dummy query string (if you want to use CURL and save a few keystrokes):
If you have other query strings in your URL, assign the sequence to a throwaway variable:
Check out the URL section on the man page: https://curl.haxx.se/docs/manpage.html
You might be interested in Apache Bench tool which is basically used to do simple load testing.
example :
Or if you want to get timing information back, use
ab
: