Sync last changes

This commit is contained in:
2025-07-09 14:31:11 -04:00
parent cf3811c98f
commit 1378d8a38e
23 changed files with 4051 additions and 8 deletions

23
utils/stress_test2.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
CONC="10"
REQU="100000"
BASE_URL="10.10.42.210"
AAP_JOB_ID="10"
POST_PAYLOAD_PATH="empty.post"
POST_PAYLOAD_TYPE="application/json"
TOWER_USER="admin"
TOWER_PASS="redhat"
printf "\n%s\n" \
"# Running test ${ITER}"
ab -c "${CONC}" \
-n ${REQU} \
-A ${TOWER_USER}:${TOWER_PASS} \
-T "${POST_PAYLOAD_TYPE}" \
-v1 \
-p ${POST_PAYLOAD_PATH} "https://${BASE_URL}/api/v2/job_templates/${AAP_JOB_ID}/launch/" | \
grep "Failed requests\|Time taken for tests"