The network architecture has been inadequate to meet the increasing internet demands driving the transformation of traditional network infrastructure. Software-defined networking (SDN), network functions virtualization (NFV) are complementary technologies that provide new solutions to design, build and operate networks. The purpose of this paper is to design and implement an SDN testbed that can provide experiment environment for researchers. NFV is the infrastructure upon which the SDN software can be run in addition to enhancing the operation efficiency and reducing the virtual network delays. The Shortest Path Algorithm based Sliced network Weighted Graph (SPA-SNWG) scheme is adopted to select the best use of virtual network resource for improving network utilization in the tsetbed. The experimental results show that the use of this mechanism can reduce the transmission delay from 3.21ms 0.46ms improving network performance and balancing bandwidth consumption among virtual network services.