@@ -0,0 +1,11 @@ | |||
#!/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/rest/user/whoami" | |||
# Generating GET requests for /rest/user/whoami | |||
echo "Generating GET requests for /rest/user/whoami" | |||
siege -c150 -t10s $url |
@@ -0,0 +1,12 @@ | |||
#!/bin/bash | |||
# Prompt user for the prefix value | |||
read -p "Enter the prefix for the hostname: " prefix | |||
# Run slowhttptest with the specified prefix | |||
echo "Generating Slow POST requests for homepage" | |||
slowhttptest -B \ | |||
-u "http://${prefix}.appsec-akaed.com/" \ | |||
-d "appsec-akaed.com.edgekey-staging.net:80" \ | |||
-r 4 -c 2 |
@@ -0,0 +1,14 @@ | |||
#!/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/" | |||
# Set the User-Agent string to the latest version of Ruby | |||
user_agent="Ruby/3.2.2" | |||
# Generating GET requests for api/Quantitys/ with Ruby User-Agent | |||
echo "Generating GET requests for api/Quantitys/ with Ruby User-Agent" | |||
siege -c25 -t30s --header="User-Agent: $user_agent" $url |
@@ -0,0 +1,11 @@ | |||
#!/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 |