Add rest-test-client module: RestTestClient across all four binding modes, TestRestTemplate relocation, gzip-hiding HTTP client surprise (post #44)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
$ mvn test -Dtest=PersonEndToEndTest
|
||||
[INFO] Running com.ankurm.resttestclient.PersonEndToEndTest
|
||||
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.971 s -- in com.ankurm.resttestclient.PersonEndToEndTest
|
||||
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
|
||||
|
||||
# theResponseIsCompressedOnTheWireButTheClientHidesIt asserts Content-Encoding is ABSENT from the
|
||||
# response RestTestClient.bindToServer() sees, against the same /api/persons endpoint
|
||||
# 05-curl-sees-real-gzip.txt just proved really does send Content-Encoding: gzip. It passes: the
|
||||
# default client hides it.
|
||||
Reference in New Issue
Block a user