wiremock
wiremock copied to clipboard
adding host in mock request
Summary
Following the doc it is mentioned that host is string type but when you actually add host as string wire mock fails with error
FileException: Error loading file /home/wiremock/./mappings/mock.json:
my_wiremock | "example.com" is not a valid match operation
When we use host as object type this error is not present
"host": {
"equalTo": "example.com"
}
Hence I think the doc needs to be updated to reflect the correct data type of host
References
No response