Closed comeCU closed 10 months ago
com.github.dreamhead.moco.action.ActionMonitor#asHeaders
this lambda not use mergeFunction
private Map<String, String> asHeaders(final Header[] allHeaders) {
return Arrays.stream(allHeaders)
.collect(Collectors.toMap(NameValuePair::getName, NameValuePair::getValue, (v1, v2) -> v1));
}
The problem has been solved, many thanks for the hard work you guys put into this project.
@comeCU Thank you for your locating what's wrong.
version:
moco-runner-1.5.0-standalone.jar
configuration file:
console log:
java -jar moco-runner-1.5.0-standalone.jar http -p 12306 -c bar.json
expect:
response of https://mysite-xxxxxx.com