{"action":"created","issue":{"url":"https://api.github.com/repos/tomakehurst/wiremock/issues/1026","repository_url":"https://api.github.com/repos/tomakehurst/wiremock","labels_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/1026/labels{/name}","comments_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/1026/comments","events_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/1026/events","html_url":"https://github.com/tomakehurst/wiremock/issues/1026","id":376190524,"node_id":"MDU6SXNzdWUzNzYxOTA1MjQ=","number":1026,"title":"Match request on bodyPattern with response fixed delay greater than 30000ms gives 404 ","user":{"login":"SamL1","id":13371950,"node_id":"MDQ6VXNlcjEzMzcxOTUw","avatar_url":"https://avatars2.githubusercontent.com/u/13371950?v=4","gravatar_id":"","url":"https://api.github.com/users/SamL1","html_url":"https://github.com/SamL1","followers_url":"https://api.github.com/users/SamL1/followers","following_url":"https://api.github.com/users/SamL1/following{/other_user}","gists_url":"https://api.github.com/users/SamL1/gists{/gist_id}","starred_url":"https://api.github.com/users/SamL1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamL1/subscriptions","organizations_url":"https://api.github.com/users/SamL1/orgs","repos_url":"https://api.github.com/users/SamL1/repos","events_url":"https://api.github.com/users/SamL1/events{/privacy}","received_events_url":"https://api.github.com/users/SamL1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-31T22:53:30Z","updated_at":"2018-11-05T11:31:19Z","closed_at":null,"author_association":"NONE","body":"Using WireMock version 2.19.0 standalone\r\n\r\nAs per the title.... I've created a mapping like so... \r\n\r\n`{\r\n  \"id\": \"cb7872bd-89cd-4015-97d1-718779df7dfe\",\r\n  \"priority\": 1,\r\n  \"request\": {\r\n    \"urlPattern\": \"/faulty.*/.*/path/path\",\r\n    \"method\": \"POST\",\r\n    \"bodyPatterns\": [\r\n      {\r\n        \"matches\": \".*<xml>permissions</xml>.*\"\r\n      }\r\n    ]\r\n  },\r\n  \"response\": {\r\n    \"status\": 200,\r\n    \"bodyFileName\": \"staticbody.xml\",\r\n    \"fixedDelayMilliseconds\": 35000\r\n  }\r\n}`\r\n\r\nThe above stub should respond with a 200 after 35000ms, but for some reason it's responding with a 404 after 30000ms. \r\n\r\nIf I remove the request bodyPatterns property, and only match on urlPattern/method, the fixed delay works, and I get a 200 response after 35000ms. \r\n\r\nEqually, if I keep the bodyPatterns property in the request, but reduce the fixed delay to 29000ms, I also get a 200 response after that period.\r\n\r\nMore Info... This issues only occurs when async response is enabled i.e. \r\n\r\njava -jar ./wiremock-standalone-2.19.0.jar --https-port 8443 --async-response-enabled true"},"comment":{"url":"https://api.github.com/repos/tomakehurst/wiremock/issues/comments/435843108","html_url":"https://github.com/tomakehurst/wiremock/issues/1026#issuecomment-435843108","issue_url":"https://api.github.com/repos/tomakehurst/wiremock/issues/1026","id":435843108,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTg0MzEwOA==","user":{"login":"SamL1","id":13371950,"node_id":"MDQ6VXNlcjEzMzcxOTUw","avatar_url":"https://avatars2.githubusercontent.com/u/13371950?v=4","gravatar_id":"","url":"https://api.github.com/users/SamL1","html_url":"https://github.com/SamL1","followers_url":"https://api.github.com/users/SamL1/followers","following_url":"https://api.github.com/users/SamL1/following{/other_user}","gists_url":"https://api.github.com/users/SamL1/gists{/gist_id}","starred_url":"https://api.github.com/users/SamL1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamL1/subscriptions","organizations_url":"https://api.github.com/users/SamL1/orgs","repos_url":"https://api.github.com/users/SamL1/repos","events_url":"https://api.github.com/users/SamL1/events{/privacy}","received_events_url":"https://api.github.com/users/SamL1/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T11:31:19Z","updated_at":"2018-11-05T11:31:19Z","author_association":"NONE","body":"@tomakehurst, thanks for the update. I've tried setting this from the console before invoking wiremock i.e. java -Dorg.eclipse.jetty.server.HttpChannelState.DEFAULT_TIMEOUT = 120000, but I'm not seeing any improvement. \r\n\r\nI'm currently running from Windows 10."}}
{"actor":{"display_login":"SamL1"}}