Files
spring-cloud-contract/samples/standalone/dsl/http-client
Dave Syer fa3c0035e0 Use apache HTTP client instead of JDK
Never got to the bottom of this, but the test failure with the
dropped connection (EOF on socket) seems to go away if we use
the Apache client instead of the JDK.
2016-11-15 09:53:42 +00:00
..
2016-08-22 11:33:17 +02:00
2016-11-15 09:53:42 +00:00
2016-09-23 21:04:10 +02:00
2016-07-26 14:28:43 +01:00
2016-11-15 09:53:42 +00:00
2016-08-22 11:33:17 +02:00

= Http Client

== Prerequisites

First you have to publish to Maven Local the stubs of the *http-server* module

== How to run it?

Run

[source=groovy]
--------
./gradlew clean build
--------

or

--------
./mvnw clean package
--------

To

- build the app
- use spring-cloud-contract-stub-runner-spring[Stub Runner Spring] to download the stub of `Http Server`
- run the tests against stubbed server