- #!/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/rest/admin/application-configuration"
-
- # Generating POST requests for rest/admin/application-configuration
- echo "Generating GET requests for rest/admin/application-configuration"
- siege -c150 -t10s "$url
|