|
|
|
|
|
|
|
|
# Construct URLs with the user-provided prefix |
|
|
# Construct URLs with the user-provided prefix |
|
|
url="https://${prefix}.gslab-juiceshop.com/rest/admin/application-configuration" |
|
|
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 |
|
|
|
|
|
|
|
|
# Generating GET requests for /rest/admin/application-configuration |
|
|
|
|
|
echo "Generating GET requests for /rest/admin/application-configuration" |
|
|
|
|
|
siege -c150 -t30s $url |