integration: use client to do requests
Merge pull request #1654 from yichengq/208

integration: use client to do requests