Commit 99149a9c authored by nikolajev's avatar nikolajev
Browse files

Added new DIAMETER test cases

parent b6fa4a31
Loading
Loading
Loading
Loading
+160 −81
Original line number Original line Diff line number Diff line
@@ -31,6 +31,25 @@ module DiameterTortureTestCases
		}
		}
	}
	}
	
	
	altstep receive_specific_DIAMETER_MSG(template DIAMETER_MSG tmpl) runs on DiameterComponent
	{
		[]p.receive(tmpl)
		{
			setverdict(pass);
		}
		[]p.receive(DIAMETER_MSG:?)
		{
			setverdict(fail);
		}
		[]p.receive
		{
			setverdict(fail);
		}
		[]tmrTimeout.timeout
		{
			setverdict(inconc);
		}
	}
	/**
	/**
		3GPP-Authentication-Information request
		3GPP-Authentication-Information request
	 */
	 */
@@ -71,12 +90,72 @@ module DiameterTortureTestCases
		receiveDIAMETER_MSG();
		receiveDIAMETER_MSG();
	} // End of testcase TC_3GPP_Update_Location_Answer
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	
	testcase TC_Capabilities_Exchange_Answer() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receive_specific_DIAMETER_MSG(DIAMETER_MSG:{cEA_MSG := ?});
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	testcase TC_Capabilities_Exchange_Request() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receive_specific_DIAMETER_MSG(DIAMETER_MSG:{cER_MSG := ?});
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	
	testcase TC_268_A() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receiveDIAMETER_MSG();
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	testcase TC_268_R() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receiveDIAMETER_MSG();
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	testcase TC_271_A() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receive_specific_DIAMETER_MSG(DIAMETER_MSG:{aCA_MSG := ?});
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	testcase TC_Accounting_Request() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receive_specific_DIAMETER_MSG(DIAMETER_MSG:{aCR_MSG := ?});
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	testcase TC_Device_Watchdog_Answer() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receive_specific_DIAMETER_MSG(DIAMETER_MSG:{dWA_MSG := ?});
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	testcase TC_Device_Watchdog_Request() runs on DiameterComponent
	{//3GPP-Update-Location answer
		tmrTimeout.start;
		receive_specific_DIAMETER_MSG(DIAMETER_MSG:{dWR_MSG := ?});
	} // End of testcase TC_3GPP_Update_Location_Answer
	
	
	control
	control
	{
	{
		//DIAMETER
		//DIAMETER
		execute(TC_3GPP_Authentication_Information_Request());
		/*execute(TC_3GPP_Authentication_Information_Request());
		execute(TC_3GPP_Authentication_Information_Answer());
		execute(TC_3GPP_Authentication_Information_Answer());
		execute(TC_3GPP_Update_Location_Request());
		execute(TC_3GPP_Update_Location_Request());
		execute(TC_3GPP_Update_Location_Answer());
		execute(TC_3GPP_Update_Location_Answer());*/
		
		
		execute(TC_Capabilities_Exchange_Answer());
		execute(TC_Capabilities_Exchange_Request());
		execute(TC_268_A());
		execute(TC_268_R());
		execute(TC_Accounting_Answer());
		execute(TC_Accounting_Request());
		execute(TC_Device_Watchdog_Answer());
		execute(TC_Device_Watchdog_Request());
	}
	}
}
}
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
010002d00000010c0000000500204a2063d000130000010740000046737570617574682e6561702e746573746265642e6161613b313237333832383932353b323b636c69656e743b67772e6561702e746573746265642e6161610000000001024000000c00000005000001124000000c000000030000010c4000000c000003e900000108400000206f70656e6469616d2e6561702e746573746265642e61616100000128400000176561702e746573746265642e61616100000000014000000e636c69656e740000000001ce400001fc01fe01f40d40ad58c5fc1a3fa742c0f5cdec93696582cc34a1f1aca46a8e5f226bada1ccb0ea03727d8a5ab732ae71935a2f45df6edd2a31f0979a165d7572b0da920b91163c54759a2f0c1789ec45e18f2f01e9951c576378f503e2fdcb43db03246c9213f4c110a0a4465c8c1aec6e56f3538e7bab6f19fd72293a1f16246c35b00f9f3a2eec79e00f2026a5e81ae43f7fa28ad0e9a347983050e31d27224d5f1207d14a6cbe80d0ce5f6c1cab7c6165b7dd18cfef01c248b46bfe07a883f044d61ae615e7dc6f0be30904c6251ef192a2a2d4789ab6d58e47e4faeea3a54f6ab9faa1f1095be09318ae740413972ec319b0cc31dd54bd0917000348308203443082022ca003020102020900eb9b68a079bdf61c300d06092a864886f70d0101050500301a3118301606035504030c0f6d67722e746573746265642e616161301e170d3130303432323037303832325a170d3230303431393037303832325a301a3118301606035504030c0f6d67722e746573746265642e61616130820122300d06092a864886f70d01010105000382010f003082010a0282010100e40c8527b79c5575a96e8d2dd0bef93529b2f9a0596437a0e6cb1235ae3debf61b1ee67d06a7f256366fb329eccbd53e650732195550ae63401b2de5af8174e409d0bebcb9cb40ac3e767cc54bad2ebed6e35784193e95000001154000000c00000001
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
010001c4c000010c0000000500204a2163d000140000010740000046737570617574682e6561702e746573746265642e6161613b313237333832383932353b323b636c69656e743b67772e6561702e746573746265642e61616100000000011b400000176561702e746573746265642e6161610000000125400000206f70656e6469616d2e6561702e746573746265642e616161000001084000001f737570617574682e6561702e746573746265642e6161610000000128400000176561702e746573746265642e61616100000001024000000c00000005000001124000000c00000003000001984000000c00000001000001ce4000000e02fe00060d000000000000014000000e636c69656e740000000000044000000cc0a8690a000000204000001f737570617574682e6561702e746573746265642e61616100000000054000000c000000010000001e4000002730322d30302d30302d30302d30302d30303a6d616338303231312074657374000000001f4000001930322d30302d30302d30302d30312d30300000000000000c4000000c000005780000003d4000000c000000130000004d4000001e434f4e4e4543542035344d627073203830322e3131670000
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
010000b80000010f0000000305542a2e63d000100000010740000046737570617574682e6561702e746573746265642e6161613b313237333832383932353b313b636c69656e743b67772e6561702e746573746265642e6161610000000001084000001f6261636b656e642e6561702e746573746265642e6161610000000128400000176561702e746573746265642e616161000000010c4000000c000007d1000001e04000000c00000004000001e54000000c63d00010
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
01000220c000010f0000000305542a2e63d000100000010740000046737570617574682e6561702e746573746265642e6161613b313237333832383932353b313b636c69656e743b67772e6561702e746573746265642e61616100000000011b400000176561702e746573746265642e61616100000001084000001f737570617574682e6561702e746573746265642e6161610000000128400000176561702e746573746265642e61616100000001034000000c000000030000002c4000001934424544313638422d3030303030303030000000000001e04000000c00000004000001e54000000c63d000100000002d4000000c00000001000000014000000e636c69656e740000000000044000000cc0a8690a000000204000001f737570617574682e6561702e746573746265642e61616100000000054000000c000000010000001e4000002730322d30302d30302d30302d30302d30303a6d616338303231312074657374000000001f4000001930322d30302d30302d30302d30312d30300000000000003d4000000c000000130000004d4000001e434f4e4e4543542035344d627073203830322e3131670000000000194000001566442f726777782f6161693a300000000000002e4000000c0000001b0000016d4000001000000000000000120000016e40000010000000000000000b0000016b400000100000000000000c710000016c40000010000000000000099a000000374000000ccf979530
 No newline at end of file
Loading