* @desc Check that the IUT accepts a create request of <AE> resource with attributes multiplicity equals to 1 and asking an CSE relative AE_ID by indicating AE_ID_Stem with character ‘C’.
*
*/
testcase TC_CSE_REG_CRE_011() runs on AeSimu system CseSystem {
setverdict(pass, __SCOPE__ & "AE ID set correctly.");
} else {
setverdict(fail, __SCOPE__ & "AE ID not set correctly.");
}
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveInverse(int2001))) -> value v_response{
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating AE with status code " & int2str(enum2int(v_response.primitive.responsePrimitive.responseStatusCode)));
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer while creating AE");
}
}
// Postamble
f_cse_postamble_deleteResources();
// Tear down
f_cf01Down();
}
/**
* @desc Check that the IUT accepts an AE registration with the optional attribute OPTIONAL_ATTRIBUTE provided
*
*/
group g_CSE_REG_CRE_012 {
testcase TC_CSE_REG_CRE_012_AE_LBL() runs on Tester system CseSystem {
[] mcaPort.receive(mw_response(mw_responsePrimitiveInverse(int2001))) -> value v_response{
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating AE with status code " & int2str(enum2int(v_response.primitive.responsePrimitive.responseStatusCode)));
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer while creating AE");