GoogleAnalyticsClientTest
Tests
| Test |
Duration |
Result |
| shouldCallGoogleAnalyticsWithUrlEncodedQueryStringPayload() |
0.006s |
passed |
| shouldThrowExceptionWhenGoogleAnalyticsReturnsANonOkResponseCode() |
0.007s |
passed |
| shouldThrowExceptionWhenGoogleAnalyticsReturnsAnErrorResponse() |
0.007s |
passed |
Standard output
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.0.RELEASE)
12:25:51.273 [Test worker] ERROR u.g.d.h.c.r.GoogleAnalyticsClient - Expecting response status from google analytics to be OK, instead received 204 NO_CONTENT
12:25:51.281 [Test worker] ERROR u.g.d.h.c.r.GoogleAnalyticsClient - Exception caught trying to post to http://localhost:8150/collect