* @desc Check that the IUT rejects the request when the originator does not have retrieve privileges for <primitiveProfile> resource referenced by the PrimitiveProfileIdentifier parameter
*
*/
testcase TC_CSE_PP_005_CRE() runs on Tester system CseSystem {
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_PP_005_CRE());
v_ae1.done;
}
function f_CSE_PP_005_CRE() runs on AeSimu system CseSystem {
// Local variables
var template RequestPrimitive v_createPrimitveProfile;
setverdict(fail, __SCOPE__ & ": Mismatch in status response code from IUT!");
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": IUT accepted the create request with non existing primtive profile!");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer from IUT for the last Request!");
}
}
//Postamble
f_cse_postamble_deleteResources();
//Tear down
f_cf01Down();
} // f_CSE_PP_005_CRE
/**
* @desc Check that the IUT rejects the request when the originator does not have retrieve privileges for <primitiveProfile> resource referenced by the PrimitiveProfileIdentifier parameter
*
*/
testcase TC_CSE_PP_005_RET() runs on Tester system CseSystem {
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_PP_005_RET());
v_ae1.done;
}
function f_CSE_PP_005_RET() runs on AeSimu system CseSystem {
// Local variables
var template RequestPrimitive v_createPrimitveProfile;
var RequestPrimitive v_requestContainerCreate;
var integer v_aeIndex := -1;
var integer v_primitiveProfileIndex := -1;
var integer v_containerParentIndex := -1;
var MsgIn v_response;
var RequestPrimitive v_retrieveRequest;
var template PrimitiveContent v_retriveContentResponse;
setverdict(fail, __SCOPE__ & ": Mismatch in status response code from IUT!");
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": IUT accepted the create request with non existing primtive profile!");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer from IUT for the last Request!");
}
}
//Postamble
f_cse_postamble_deleteResources();
//Tear down
f_cf01Down();
} // f_CSE_PP_005_RET
/**
* @desc Check that the IUT rejects the request when the originator does not have retrieve privileges for <primitiveProfile> resource referenced by the PrimitiveProfileIdentifier parameter
*
*/
testcase TC_CSE_PP_005_DEL() runs on Tester system CseSystem {
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_PP_005_DEL());
v_ae1.done;
}
function f_CSE_PP_005_DEL() runs on AeSimu system CseSystem {
// Local variables
var template RequestPrimitive v_createPrimitveProfile;
setverdict(fail, __SCOPE__ & ": Mismatch in status response code from IUT!");
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": IUT accepted the create request with non existing primtive profile!");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer from IUT for the last Request!");
}
}
//Postamble
f_cse_postamble_deleteResources();
//Tear down
f_cf01Down();
} // f_CSE_PP_005_DEL
/**
* @desc Check that the IUT rejects the request when the originator does not have retrieve privileges for <primitiveProfile> resource referenced by the PrimitiveProfileIdentifier parameter
*
*/
testcase TC_CSE_PP_005_UPD() runs on Tester system CseSystem {
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_PP_005_UPD());
v_ae1.done;
}
function f_CSE_PP_005_UPD() runs on AeSimu system CseSystem {
// Local variables
var template RequestPrimitive v_createPrimitveProfile;
* @desc Check that the IUT rejects the creation of <primitiveProfile> resource request when the request parameters or resource attributes defined in the additions and deletions attributes of the referenced <primitiveProfile> resource are not valid
*
*/
testcase TC_CSE_PP_007() runs on Tester system CseSystem {
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_PP_007());
v_ae1.done;
}
function f_CSE_PP_007() runs on AeSimu system CseSystem {
setverdict(fail, __SCOPE__ & ": Mismatch in status response code from IUT!");
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": IUT accepted Primitve Profile with invalid parametres/attributes in additions/deletions!");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer from IUT for the last Request!");
}
}
//Postamble
f_cse_postamble_deleteResources();
//Tear down
f_cf01Down();
} // f_CSE_PP_007
/**
* @desc Check that the IUT rejects the update request of <primitiveProfile> resource when the request parameters or resource attributes defined in the additions and deletions attributes of the referenced <primitiveProfile> resource are not valid
*
*/
testcase TC_CSE_PP_008() runs on Tester system CseSystem {
var AeSimu v_ae1 := AeSimu.create("AE1") alive;
v_ae1.start(f_CSE_PP_008());
v_ae1.done;
}
function f_CSE_PP_008() runs on AeSimu system CseSystem {
// Local variables
var template RequestPrimitive v_createPrimitveProfile;
var integer v_aeIndex := -1;
var integer v_primitiveProfileIndex := -1;
var MsgIn v_response;
var RequestPrimitive v_updatePrimitiveProfileRequest;
setverdict(fail, __SCOPE__ & ": Mismatch in status response code from IUT!");
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": IUT accepted Primitve Profile with invalid parametres/attributes in additions/deletions!");
}
[] tc_ac.timeout {
setverdict(fail, __SCOPE__ & ": No answer from IUT for the last Request!");
}
}
//Postamble
f_cse_postamble_deleteResources();
//Tear down
f_cf01Down();
} // f_CSE_PP_008
/**
/**
* @desc Check that the IUT rejects the creation of a <primitiveProfile> resource when a mutual exclusivity check is failed, on the names of the attributes or parameters specified in the additions and deletions attributes.
* @desc Check that the IUT rejects the creation of a <primitiveProfile> resource when a mutual exclusivity check is failed, on the names of the attributes or parameters specified in the additions and deletions attributes.