Patent ID: 7499405
Filing Date: 2009-03-03
Classification: H04L

Abstract:
1. A computer implemented method for testing branch execution and state transition logic in session initiation protocol application modular components, the method comprising: initializing the artificial session initiation protocol runtime environment, wherein the artificial session initiation protocol runtime environment is created by a session initiation protocol application developer, and wherein the artificial session initiation protocol runtime environment creates and initializes a selected session initiation protocol application destination state; sending an artificial session initiation protocol runtime environment constructed by a test harness to a session initiation protocol application to test the session initiation protocol application modular components, wherein the session initiation protocol application modular components load the artificial session initiation protocol runtime environment and send responses to the test harness, and wherein the session initiation protocol application modular components comprise application data, precondition handlers, transition handlers, and postcondition handlers; responsive to sending the artificial session initiation protocol runtime environment, loading the transition handlers; transferring control from the artificial session initiation protocol runtime environment to a first transition handler along a selected execution pathway; simulating a session initiation protocol message, wherein the artificial session initiation protocol runtime environment sends the session initiation protocol message; determining whether an appropriate session initiation protocol state occurs in response to the simulated session initiation protocol message, wherein the appropriate session initiation protocol state comprises at least one of a particular session initiation protocol application state and a particular session initiation protocol application transition handler; responsive to an absence of the appropriate session initiation protocol occurring in response to simulating the session initiation protocol message, sending a test failure result to the test harness; generating a report by the test harness with the test failure result; responsive to the appropriate session initiation protocol occurring in response to simulating the session initiation protocol message, determining whether another transition handler exists along the selected execution pathway; responsive to the another transition handler existing along the selected execution pathway, transferring control from the artificial session initiation protocol runtime environment to the another transition handler, wherein transferring control from the artificial session initiation protocol runtime environment to the another transition handler further comprises: responsive to an absence of the transition handler existing along the selected execution pathway, determining whether an appropriate final execution state is achieved, wherein determining whether an appropriate final execution state is achieved further comprises;