16 lines
826 B
YAML
16 lines
826 B
YAML
- config:
|
|
- testset: "Test account creation sequence"
|
|
|
|
- test:
|
|
- group: "Accounts"
|
|
- name: "First dial in"
|
|
- url: "/"
|
|
- method: "POST"
|
|
- body: '{"serviceCode": "*483*46#", "phoneNumber": "+2547876545", "sessionId": "AT_Idjhfuvelw64ffbweiy73nd5vnek000", "text": ""}'
|
|
- headers: {'Content-Type': 'application/json'}
|
|
- expected_status: [200]
|
|
- validators:
|
|
- compare: {"header": "content-type", "comparator": "str_eq", "expected":"text/plain"}
|
|
- compare: {"header": "content-length", "comparator": "str_eq", "expected":"175"}
|
|
- compare: {"raw_body":"", "comparator":"contains", expected: "END Your account is being created. You will receive an SMS when your account is ready.\nAkaunti yako ya Sarafu inatayarishwa. Utapokea ujumbe wa SMS akaunti yako ikiwa tayari.\n" }
|