Sync last changes
This commit is contained in:
23
utils/tower_test_workflow.sh
Executable file
23
utils/tower_test_workflow.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
CONC="1"
|
||||
REQU="1"
|
||||
|
||||
BASE_URL="tower2.thezengarden.net"
|
||||
AAP_JOB_ID="54"
|
||||
POST_PAYLOAD_PATH="empty.post"
|
||||
POST_PAYLOAD_TYPE="application/json"
|
||||
|
||||
TOWER_USER="jadmin"
|
||||
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/workflow_job_templates/${AAP_JOB_ID}/launch/" | \
|
||||
grep "Failed requests\|Time taken for tests"
|
Reference in New Issue
Block a user