摘要 |
Disclosed is a northbound interface test apparatus, comprising a script execution module and a command execution module, wherein the script execution module is configured to execute a script case in a pre-developed script, call a corresponding request message according to the script case and send an execution command comprising the request message to the command execution module; and the command execution module is configured to execute a corresponding test operation according to the content of the request message and return an execution result to the script execution module, wherein the request message is used to test a communication interface corresponding to a currently tested northbound interface. The solution solves the problem that when a testing tool in the related art is adopted to test a northbound interface, the automated testing capability of the northbound interface is seriously limited due to the fact that a service interface of the northbound interface needs to be hard-coded in order to realize the test of a fixed function of the service interface. |