copy code from my personal git repo
This commit is contained in:
parent
24d6c84170
commit
f9f509c619
28 changed files with 787 additions and 1 deletions
12
tests/send_test_requests.sh
Executable file
12
tests/send_test_requests.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
source "test-env.sh"
|
||||
TARGET=${test_base_url}/bibleds
|
||||
for f in leds*.json; do
|
||||
echo "##########################################"
|
||||
echo "# sending post request to ${TARGET} with :"
|
||||
echo "# ${f}"
|
||||
echo "##########################################"
|
||||
time curl -u "${leds_user}:${leds_password}" --request POST --data "@${f}" --header "Content-Type: application/json" ${TARGET}
|
||||
echo
|
||||
echo
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue