Imports github.com/stretchr/testify/require gopkg.in/resty.v1 github.com/sirupsen/logrus github.com/stretchr/testify/assert Standard library imports bytes flag fmt io/ioutil net/http os strings sync/atomic testing time net/http/httptest