| CPC H04L 43/50 (2013.01) [G06F 11/3684 (2013.01); G06F 11/3688 (2013.01)] | 14 Claims |

|
1. An electronic device for performing functional testing of a network function (NF) device, wherein the electronic device comprises:
a memory;
a processor coupled to the memory;
a communicator coupled to the memory and the processor and wherein the processor is configured to:
receive a specification corresponding to a service to be tested on a device under test (DUT), wherein the specification comprises a plurality of methods of the service to be tested;
generate a proto file based on the specification, wherein the proto file comprises a plurality of messages and definitions associated with a plurality of Remote Procedure Calls (RPCs) for enabling communication with a test harness manager of the electronic device:
generate a plurality of test scripts based on the generated proto file;
invoking, by the electronic device, at least one RPC of the plurality of RPCs based on at least one test script to be executed on the DUT; and
perform the functional testing based on the invoked at least one RPC for testing the at least one method of the service on the DUT, wherein the DUT is the NF device.
|