refactor int query parameter process in testAPI