* feat: add metrics support to mock server * add unit tests * fix the unit testing --------- Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>