-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Wiremock outputs the following messages to a build log:
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
/series/not-image-file | /series/import/request-logic/catalog-numbers-in-descripti<<<<< URL does not match
| on.html
|
|
-----------------------------------------------------------------------------------------------------------------------
.2020-01-26 15:45:32.634
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
/series/empty-jpeg-file | /series/import/request-logic/existing-seller.html <<<<< URL does not match
|
|
-----------------------------------------------------------------------------------------------------------------------
.2020-01-26 15:45:33.302
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
/series/not-image-file | /series/import/request-logic/new-seller.html <<<<< URL does not match
|
|
-----------------------------------------------------------------------------------------------------------------------
..2020-01-26 15:45:34.061
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request |
-----------------------------------------------------------------------------------------------------------------------
|
GET | GET
/series/empty-jpeg-file | /series/import/request-logic/simple.html <<<<< URL does not match
|
|
-----------------------------------------------------------------------------------------------------------------------
Example build log: https://travis-ci.org/php-coder/mystamps/jobs/642046563
After debugging it has turned out that these are false positives: these requests serve static resources but Wiremock first tries to find mocks for them and as none exists it logs such messages. I've created an issue to the upstream: wiremock/wiremock#1247
As a workaround we can:
- turn off the messages from corresponding logger
- use mocks instead of stubs