|
1234567891011 |
- #!/bin/bash
-
- # Prompt the user for the value of the prefix
- read -p "Enter the prefix for the hostname: " prefix
-
- # Construct URLs with the user-provided prefix
- url="https://${prefix}.appsec-akaed.com/api/Quantitys/"
-
- # Generating GET requests for api/Quantitys/
- echo "Generating GET requests for api/Quantitys/"
- siege -c25 -t30s $url
|