Open minhdoan159 opened 5 years ago
The path is not empty, it is coming into the mock server as /
Unexpected Request:
method: GET
path: / <------
query: [:]
headers: [Accept:text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2, Connection:keep-alive, Host:localhost:8080, User-agent:Java/1.8.0_161]
matchers: MatchingRules(rules={})
generators: Generators(categories={})
I am writing a pact record for url: http://localhost:8080, so code is as below:
But when run @Test method to create the pact record, failure happens with log:
I am using au.com.dius:pact-jvm-consumer-junit_2.11:3.5.19 Could you please help to clarify why the path value could not be set to empty ("")? Many thanks!