-
Notifications
You must be signed in to change notification settings - Fork 0
/
tester.sh
50 lines (45 loc) · 1.51 KB
/
tester.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
sleep 10
echo "Running automated tests..."
while true; do
curl -s -o /dev/null http://localhost:8081/clm/auto-only
sleep 1
curl -s -o /dev/null http://localhost:8081/clm/annotation
sleep 1
curl -s -o /dev/null http://localhost:8081/clm/api
sleep 1
curl -s -o /dev/null http://localhost:8081/clm/xml
sleep 1
curl -s -o /dev/null http://localhost:8081/clm/static
sleep 1
curl -s -o /dev/null http://localhost:8081/clm/http
sleep 1
# curl -s -o /dev/null http://localhost:8081/clm/facts/blue
# sleep 1
# curl -s -o /dev/null http://localhost:8081/clm/facts/green
# sleep 1
curl -s -o /dev/null http://localhost:8081/clm/db
sleep 1
curl -s -o /dev/null http://localhost:8081/owners?lastName=
sleep 1
curl -s -o /dev/null http://localhost:8081/owners/4
sleep 1
curl -s -o /dev/null http://localhost:8081/owners/1000/pets/10/edit
sleep 1
curl -s -o /dev/null http://localhost:8081/owners/10/pets/10/edit
sleep 1
curl -s -o /dev/null http://localhost:8081/owners?page=0
sleep 1
curl -s -o /dev/null http://localhost:8081/vets.html
sleep 1
curl -s -o /dev/null http://localhost:8081/vets.html?page=0
sleep 1
curl -s -o /dev/null http://localhost:8081/vets
sleep 1
curl -s -o /dev/null http://localhost:8081/vets/Carter
sleep 1
timestamp=$(date +"%Y-%m-%dT%H:%M:%S%z")
echo "$timestamp Completed a full set of operations."
# go too fast and the agent starts sampling
sleep 8
done