From: Eduardo Ramos Testillano Date: Sun, 15 Mar 2015 18:36:17 +0000 (+0100) Subject: New AAR badly constructed for protocol error testing. Disable kindness "ignoreErrors... X-Git-Tag: REFACTORING_TESTING_LIBRARY~227 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=a95d9b269edf65f21529c10ed0caa71cefec110c;p=anna.git New AAR badly constructed for protocol error testing. Disable kindness "ignoreErrors" parameter from basic server configuration, in order to allow stack to automatically create Failed-AVP and answer. --- diff --git a/example/diameter/launcher/resources/basic/configure.sh b/example/diameter/launcher/resources/basic/configure.sh index 2d7470c..a5d1515 100755 --- a/example/diameter/launcher/resources/basic/configure.sh +++ b/example/diameter/launcher/resources/basic/configure.sh @@ -9,7 +9,9 @@ STD_DICTIONARY=stacks/avps_etsi.xml,stacks/avps_ietf.xml,stacks/avps_tgpp.xml,st APP_DICTIONARY=stacks/commands_qosControl.xml DICTIONARY=$STD_DICTIONARY,$APP_DICTIONARY # Perhaps the stack is not fully defined: -KINDNESS=-ignoreErrors +#KINDNESS=-ignoreErrors +# But we prefer stack to generate Failed-AVP automatically: +KINDNESS= # Communication endpoints: LOCAL_STANDARD_ENDPOINT=localhost:3868 diff --git a/example/diameter/launcher/resources/basic/hex_examples/aar-bad.hex b/example/diameter/launcher/resources/basic/hex_examples/aar-bad.hex new file mode 100644 index 0000000..7588fa1 --- /dev/null +++ b/example/diameter/launcher/resources/basic/hex_examples/aar-bad.hex @@ -0,0 +1 @@ +01000150c000010901000014000000000000000000000107400000246f6373333b313333323737343433303b313b31333332373734343330000001024000000c01000014000001084000000c4f435333000001284000000c4f4353330000011b4000000c4f435333000001254000000c4f435333000001f8c000000f000028af3132320000000205c000006c000028af00000206c0000010000028af00000000000001f8c000000f000028af3132320000000204c0000010000028af0000007f00000203c0000010000028af00000085000001ffc0000010000028af00000002000001ca80000010000032db000000000000020fc0000010000028af00000000000001bb40000021000001c24000000c00000000000001bc4000001136323630333730393900000000000008400000133139322e3136382e302e31000000001e400000145741502e4d4f564953544152 diff --git a/example/diameter/launcher/resources/basic/hex_examples/aar.hex b/example/diameter/launcher/resources/basic/hex_examples/aar.hex new file mode 100644 index 0000000..9a2aeb9 --- /dev/null +++ b/example/diameter/launcher/resources/basic/hex_examples/aar.hex @@ -0,0 +1 @@ +01000150c000010901000014000000000000000000000107400000246f6373333b313333323737343433303b313b31333332373734343330000001024000000c01000014000001084000000c4f435333000001284000000c4f4353330000011b4000000c4f435333000001254000000c4f435333000001f8c000000f000028af3132320000000205c000006c000028af00000206c0000010000028af00000000000001f8c000000f000028af3132320000000204c0000010000028af0000007f00000203c0000010000028af00000085000001ffc0000010000028af00000002000001ca80000010000032db000000000000020fc0000010000028af00000000000001bb40000028000001c24000000c00000000000001bc4000001136323630333730393900000000000008400000133139322e3136382e302e31000000001e400000145741502e4d4f564953544152 diff --git a/example/diameter/launcher/resources/basic/xml_examples/aar.xml b/example/diameter/launcher/resources/basic/xml_examples/aar.xml new file mode 100644 index 0000000..326c2a2 --- /dev/null +++ b/example/diameter/launcher/resources/basic/xml_examples/aar.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +