AtsMec_RnisAPI_TestCases.ttcn 54.7 KB
Newer Older
        tc_ac.start;
        alt {
          [] httpPort.receive(
                              mw_http_response(
                                               mw_http_response_404_not_found(
                                                                              mw_http_message_body_json(
                                                                                                        mw_body_json_rni_problem_details(
                                                                                                                                         mw_problem_details(
                                                                                                                                                            -, -, 404
                                                                                                                                                            )))))) {
            tc_ac.stop;
            
            log("*** " & testcasename() & ": PASS: IUT successfully responds with HTTP error 400 Bad Request ***");
            f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
          }
          [] tc_ac.timeout {
            log("*** " & testcasename() & ": INCONC: Expected message not received ***");
            f_selfOrClientSyncAndVerdict(c_tbDone, e_timeout);
          }
        } // End of 'alt' statement
        
        // Postamble
        f_cf_01_http_down();
    } // End of testcase TC_MEC_SRV_RNIS_019_NF
    
  } // End of group rnis_query_bi_bo
  
Yann Garcia's avatar
Yann Garcia committed
} // End of module AtsMec_RnisAPI_TestCases