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