Commit d16ca5e6 authored by Michael Proestler's avatar Michael Proestler
Browse files

Add TC_ESRP_QUEUE_STATE_BV_01

parent 9d34ecdb
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -76,6 +76,7 @@ AtsESRP_TestControl.control
#AtsESRP_TestCases.TC_ESRP_HTTP_DEQUEUE_REGISTRATION_TARGET_REGISTRATION_BV_01
#AtsESRP_TestCases.TC_ESRP_HTTP_DEQUEUE_REGISTRATION_TARGET_REGISTRATION_BV_01
#AtsESRP_TestCases.TC_ESRP_HTTP_DEQUEUE_REGISTRATION_TARGET_REGISTRATION_BV_02
#AtsESRP_TestCases.TC_ESRP_HTTP_DEQUEUE_REGISTRATION_TARGET_REGISTRATION_BV_02
#AtsESRP_TestCases.TC_ESRP_HTTP_DEQUEUE_REGISTRATION_TARGET_DEREGISTRATION_BV_01
#AtsESRP_TestCases.TC_ESRP_HTTP_DEQUEUE_REGISTRATION_TARGET_DEREGISTRATION_BV_01
#AtsESRP_TestCases.TC_ESRP_QUEUE_STATE_BV_01


[GROUPS]
[GROUPS]
# In this section you can specify groups of hosts. These groups can be used inside the
# In this section you can specify groups of hosts. These groups can be used inside the
+3 −1
Original line number Original line Diff line number Diff line
@@ -35,12 +35,14 @@
      CSeq: 1 SUBSCRIBE
      CSeq: 1 SUBSCRIBE
      Contact: sip:sipp@[local_ip]:[local_port]
      Contact: sip:sipp@[local_ip]:[local_port]
      Max-Forwards: 70
      Max-Forwards: 70
      Event: emergency-queueState
      Event: emergency-QueueState
      Expires: 60            
      Expires: 60            
      Content-Length: 0
      Content-Length: 0
    ]]>
    ]]>
  </send>
  </send>


  <recv response="200" />
  <recv response="200" />

  <pause milliseconds="5000"/>
</scenario>
</scenario>
+8 −12
Original line number Original line Diff line number Diff line
@@ -567,14 +567,14 @@ module AtsESRP_TestCases {
  } // End of group DequeueRegistrationTarget
  } // End of group DequeueRegistrationTarget


  group QueueState {
  group QueueState {
    testcase TC_ESRP_QUEUE_STATE_BV_01() runs on HttpSipComponent {
    testcase TC_ESRP_QUEUE_STATE_BV_01() runs on HttpSipComponent system TestAdapter {
      
      

      //
      f_cf_01_up()
      f_cf_01_up()


      // Initialize
      f_init_interfaceprofile(c_interfaceProfile_SUT_ESRP);

      // Preamble      
      // Preamble      
      /** Disable step, fix issue with decoding subscribe before
      f_sendDequeueRegistration(
      f_sendDequeueRegistration(
                                m_dequeue_registration_request(
                                m_dequeue_registration_request(
                                                                PX_ESRP_DEQUEUE_REGISTRATION_QUEUE,
                                                                PX_ESRP_DEQUEUE_REGISTRATION_QUEUE,
@@ -584,19 +584,15 @@ module AtsESRP_TestCases {
                                                              )
                                                              )
      );
      );
      f_awaitingDequeueRegistrationResponse(mw_dequeue_response_ok)            
      f_awaitingDequeueRegistrationResponse(mw_dequeue_response_ok)            
      **/
      f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);
      f_selfOrClientSyncAndVerdictPreamble(c_prDone, e_success);


      // Test Body
      // Test Body
      f_awaitingSubscribeQueueState();
      f_awaitingSubscribeQueueState();
      f_sendSubscribeQueueStateResponse();
      f_sendSubscribeQueueStateResponse();


      f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success);


      // Postamble
      f_selfOrClientSyncAndVerdictTestBody(c_tbDone, e_success);            
      f_cf_01_down()
      f_cf_01_down()

      f_clientSyncAndVerdictPostamble(c_poDone, e_success);
    }
    }
  }
  }