1:<?xml version="1.0" encoding="ISO-8859-1" ?> 2:<scenario> 3:<scenario> 4:<counter> 5: <counterdef name="session-counter" init="0"></counterdef> 6: <counterdef name="identifier-counter" init="0"></counterdef> 7:</counter> 8: 9:<traffic> 10: <send channel="trans-ip-v4"> 11: <action> 12: <inc-counter name="session-counter"> </inc-counter> 13: <inc-counter name="identifier-counter"></inc-counter> 14: <set-value name="Acct-Session-Id" format="$(session-counter)"> </set-value> 15: <set-value name="Identifier" format="$(identifier-counter)"></set-value> 16: <restore-from-external field="0" entity="Authenticator"></restore-from-external> 17: </action> 18: 19: <Message name="Accounting-Request"> 20: <Attribute name="Acct-Session-Id" value="value_is_replaced"></Attribute> 21: <Attribute name="Acct-Status-Type" value="1" ></Attribute> 22: <Attribute name="NAS-Identifier" value="ims.hpintelco.org"></Attribute> 23: </Message> 24: 25: <action> 26: <store name="ACCT_SES_ID"entity="Acct-Session-Id"></store> 27: <start-timer></start-timer> 28: </action> 29: </send> 30: 31: <receive channel="trans-ip-v4"> 32: <action> 33: <stop-timer></stop-timer> 34: </action> 35: <Message name="Accounting-Response" 36: <Attribute name="Acct-Session-Id" value="na"></Attribute> 37: <Attribute name="Acct-Status-Type" value="1"></Attribute> 38: </Message> 39: </receive> 40: 41: <wait-ms value="500"></wait-ms> 42: 43: <send channel="trans-ip-v4"> 44: <action> 45: <inc-counter name="session-counter"> </inc-counter> 46: <set-value name="Acct-Session-Id" format="$(session-counter)"> </set-value> 47: <restore-from-external field="1" entity="Authenticator"></restore-from-external> 48: </action> 49: 50: <Message name="Accounting-Request"> 51: <Attribute name="Acct-Session-Id" value="value_is_replaced"></Attribute> 52: <Attribute name="Acct-Status-Type" value="2" ></Attribute> 53: <Attribute name="NAS-Identifier" value="ims.hpintelco.org"></Attribute> 54: </Message> 55: 56: <action> 57: <store name="ACCT_SES_ID"entity="Acct-Session-Id"></store> 58: <start-timer></start-timer> 59: </action> 60: </send> 61: 62: <receive channel="trans-ip-v4"> 63: <action> 64: <stop-timer></stop-timer> 65: </action> 66: <Message name="Accounting-Response" 67: <Attribute name="Acct-Session-Id" value="na"></Attribute> 68: <Attribute name="Acct-Status-Type" value="2"></Attribute> 69: </Message> 70: </receive> 71: 72:</traffic> 73: 74:</scenario>