added the sleep time after the http server is started to init test case