[XS] Change in osmo-ttcn3-hacks[master]: eIM_Tests: display (JSON/ASN.1) in ESipa error messages
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43766?usp=email ) Change subject: eIM_Tests: display (JSON/ASN.1) in ESipa error messages ...................................................................... eIM_Tests: display (JSON/ASN.1) in ESipa error messages When there is an unexpected response from the eIM on the ESipa interface, let's add a hint whether it is a conflict with a JSON or ASN.1 encoded message. Related: SYS#8203 Change-Id: Iaf6e4b1f8e4fff5e4a1db7b36b6a62119f8f37b7 --- M eim/eIM_Tests.ttcn 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/66/43766/1 diff --git a/eim/eIM_Tests.ttcn b/eim/eIM_Tests.ttcn index 410fb25..7888885 100644 --- a/eim/eIM_Tests.ttcn +++ b/eim/eIM_Tests.ttcn @@ -445,7 +445,7 @@ esipa_res := dec_EsipaMessageFromEimToIpa(response_http.response_binary.body); if (not istemplatekind(expected_esipa_res, "omit")) { if (not match(valueof(esipa_res), expected_esipa_res)) { - setverdict(fail, "unexpected response from eIM on ESipa"); + setverdict(fail, "unexpected response (ASN.1) from eIM on ESipa"); } } return esipa_res; @@ -459,7 +459,7 @@ esipa_res := esipa_res_wrap.asn1_pdu; if (not istemplatekind(expected_esipa_res, "omit")) { if (not match(valueof(esipa_res), expected_esipa_res)) { - setverdict(fail, "unexpected response from eIM on ESipa"); + setverdict(fail, "unexpected response (JSON) from eIM on ESipa"); } } return esipa_res; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43766?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Iaf6e4b1f8e4fff5e4a1db7b36b6a62119f8f37b7 Gerrit-Change-Number: 43766 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier@sysmocom.de>
participants (1)
-
dexter