-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdialoguss_basic.yaml
60 lines (58 loc) · 2.47 KB
/
dialoguss_basic.yaml
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
51
52
53
54
55
56
57
58
59
60
url: http://localhost:3000
dial: "*1234*1234#"
# 'global' phone number, overriden per session
phoneNumber: 265888123456
sessions:
- id: 12345678910
phoneNumber: 265888123456
description: "Basic UDCP Echo application interaction"
steps:
# The first step is the response after dialing the ussd code
- expect: "R;__NODATA___"
- userInput: "A;application=echo"
expect: "R;__NODATA__"
- userInput: "D;Hello World"
expect: "D;Hello World"
- userInput: "X;"
expect: "X;"
- id: 12345678911
phoneNumber: 265888123456
description: "Basic UDCP Data submission"
steps:
# The first step is the response after dialing the ussd code
- expect: "R;__NODATA___"
- userInput: "A;application=influx"
expect: "R;__NODATA__"
- userInput: "d;volume=0.9282|tags=meter10,site.bt.mw,water-level"
expect: "R;__NODATA__"
- userInput: "d;volume=0.9282|tags=meter10,site.bt.mw,water-level"
expect: "R;__NODATA__"
- userInput: "D;volume=0.9282|tags=meter10,site.bt.mw,water-level"
expect: "X;"
- id: 12345678911
phoneNumber: 265888123456
description: "Android User Event Capturing Applicaiton"
steps:
- expect: "R;__NODATA___"
- userInput: "A;application=android-ussd-data-capture"
expect: "R;__NODATA__"
- userInput: "d;app:SomApp|e:open|t:1652138267996|v:9.0|data:off|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:off|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:on|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:on|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:off|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:off|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:off|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:1652138267996|v:9.0|data:on|cpu:80%|mem:1.2G"
expect: "R;__NODATA__"
- userInput: "d;app:SomeApp|e:open|t:169......|v:9.0|data:off|cpu:80%|mem:1.2G"
expect: "X;sessionID=UNIQUE_SESSION_ID_FOR_NEXT_USSD_CALL"
- userInput: "X;"
expect: "X;"