auto script for server test