expected_response:"CON Weka nambari ya simu\n0. Nyuma"
- name:Enter phone number [first account]
request:
url:"{server_url}"
data:
serviceCode:"*483*46#"
sessionId:"{first_transaction_session_id}"
phoneNumber:"{first_account_phone_number}"
text:"1*{second_account_phone_number}"
headers:
content-type:"application/x-www-form-urlencoded"
method:POST
response:
status_code:
- 200
headers:
Content-Length:'24'
Content-Type:"text/plain"
verify_response_with:
function:ext.validator:validate_response
extra_kwargs:
expected_response:"CON Enter amount\n0. Back"
- name:Enter phone number [second account]
request:
url:"{server_url}"
data:
serviceCode:"*483*46#"
sessionId:"{second_transaction_session_id}"
phoneNumber:"{second_account_phone_number}"
text:"1*{first_account_phone_number}"
headers:
content-type:"application/x-www-form-urlencoded"
method:POST
response:
status_code:
- 200
headers:
Content-Length:'25'
Content-Type:"text/plain"
verify_response_with:
function:ext.validator:validate_response
extra_kwargs:
expected_response:"CON Weka kiwango\n0. Nyuma"
- name:Enter transcation amount [first account]
request:
url:"{server_url}"
data:
serviceCode:"*483*46#"
sessionId:"{first_transaction_session_id}"
phoneNumber:"{first_account_phone_number}"
text:"1*{second_account_phone_number}*17"
headers:
content-type:"application/x-www-form-urlencoded"
method:POST
response:
status_code:
- 200
headers:
Content-Type:"text/plain"
verify_response_with:
function:ext.validator:validate_response
extra_kwargs:
expected_response:"CON {second_account_given_name} {second_account_family_name} {second_account_phone_number} will receive 17.00 {token_symbol} from {first_account_given_name} {first_account_family_name} {first_account_phone_number}.\nPlease enter your PIN to confirm.\n0. Back"
- name:Enter transcation amount [second account]
request:
url:"{server_url}"
data:
serviceCode:"*483*46#"
sessionId:"{second_transaction_session_id}"
phoneNumber:"{second_account_phone_number}"
text:"1*{first_account_phone_number}*25"
headers:
content-type:"application/x-www-form-urlencoded"
method:POST
response:
status_code:
- 200
headers:
Content-Type:"text/plain"
verify_response_with:
function:ext.validator:validate_response
extra_kwargs:
expected_response:"CON {first_account_given_name} {first_account_family_name} {first_account_phone_number} atapokea 25.00 {token_symbol} kutoka kwa {second_account_given_name} {second_account_family_name} {second_account_phone_number}.\nTafadhali weka nambari yako ya siri kudhibitisha.\n0. Nyuma"
- name:Pin to authorize transaction [first account]
expected_response:"CON Your request has been sent. {second_account_given_name} {second_account_family_name} {second_account_phone_number} will receive 17.00 {token_symbol} from {first_account_given_name} {first_account_family_name} {first_account_phone_number}.\n00. Back\n99. Exit"
- name:Pin to authorize transaction [second account]