fill the client_request api
add test lua script