summaryrefslogtreecommitdiffstats
path: root/coverage/scripts/06-auto-so.sh
blob: 36214ee0f455a872aa33b0548fa13dceec85da3d (plain)
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
#!/bin/sh

$R/bin/afb-client -s -e $WSURL <<EOC
salam ping true
x-HELLO PING false
salam pIngNull true
salam PingBug true
salam PiNgJsOn {"well":"formed","json":[1,2,3,4.5,true,false,null,"oups"]}
salam subcall {"api":"salam","verb":"pingjson","args":[{"key1":"value1"}]}
salam subcall {"api":"salam","verb":"subcall","args":{"api":"salam","verb":"pingjson","args":[{"key1":"value1"}]}}
salam subcallsync {"api":"salam","verb":"pingjson","args":[{"key1":"value1"}]}
salam subcallsync {"api":"salam","verb":"subcall","args":{"api":"salam","verb":"pingjson","args":[{"key1":"value1"}]}}
salam subcall {"api":"salam","verb":"subcallsync","args":{"api":"salam","verb":"pingjson","args":[{"key1":"value1"}]}}
salam subcallsync {"api":"salam","verb":"subcallsync","args":{"api":"salam","verb":"pingjson","args":[{"key1":"value1"}]}}
salam eventadd {"tag":"ev1","name":"event-A"}
salam eventadd {"tag":"ev2","name":"event-B"}
salam eventpush {"tag":"ev1","data":[1,2,"salam"]}
salam eventpush {"tag":"ev2","data":{"item":0}}
salam eventsub {"tag":"ev2"}
salam eventpush {"tag":"ev1","data":[1,2,"salam"]}
salam eventpush {"tag":"ev2","data":{"item":0}}
salam eventsub {"tag":"ev1"}
salam subcall {"api":"salam","verb":"eventpush","args":{"tag":"ev1","data":[1,2,"salam"]}}
salam subcall {"api":"salam","verb":"eventpush","args":{"tag":"ev2","data":{"item":0}}}
salam subcallsync {"api":"salam","verb":"eventpush","args":{"tag":"ev1","data":[1,2,"salam"]}}
salam subcallsync {"api":"salam","verb":"eventpush","args":{"tag":"ev2","data":{"item":0}}}
salam eventunsub {"tag":"ev2"}
salam eventpush {"tag":"ev1","data":[1,2,"salam"]}
salam eventpush {"tag":"ev2","data":{"item":0}}
salam eventdel {"tag":"ev1"}
salam eventpush {"tag":"ev1","data":[1,2,"salam"]}
salam eventpush {"tag":"ev2","data":{"item":0}}
salam eventdel {"tag":"ev2"}
EOC