api test client