{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/25","repository_url":"https://api.github.com/repos/apiaryio/dredd","labels_url":"https://api.github.com/repos/apiaryio/dredd/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/dredd/issues/25/comments","events_url":"https://api.github.com/repos/apiaryio/dredd/issues/25/events","html_url":"https://github.com/apiaryio/dredd/issues/25","id":22973023,"number":25,"title":"Multiple Responses aren't supported","user":{"login":"rjocoleman","id":154176,"avatar_url":"https://avatars.githubusercontent.com/u/154176?v=3","gravatar_id":"","url":"https://api.github.com/users/rjocoleman","html_url":"https://github.com/rjocoleman","followers_url":"https://api.github.com/users/rjocoleman/followers","following_url":"https://api.github.com/users/rjocoleman/following{/other_user}","gists_url":"https://api.github.com/users/rjocoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/rjocoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjocoleman/subscriptions","organizations_url":"https://api.github.com/users/rjocoleman/orgs","repos_url":"https://api.github.com/users/rjocoleman/repos","events_url":"https://api.github.com/users/rjocoleman/events{/privacy}","received_events_url":"https://api.github.com/users/rjocoleman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apiaryio/dredd/labels/API%20Blueprint","name":"API Blueprint","color":"0052cc"},{"url":"https://api.github.com/repos/apiaryio/dredd/labels/improvement","name":"improvement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-11-20T06:01:32Z","updated_at":"2016-02-29T15:37:31Z","closed_at":null,"body":"It appears that multiple responses aren't supported. This limits the usefulness of `dredd` when using something like `grunt` or `guard`.\r\n\r\nMy use case is creating a subscriber, when a subscriber is created successfully 200. When it's a duplicate it's a 422. First test will create the subscriber and all subsequent tests will fail\r\n\r\n```\r\n$ dredd apiary.apibp http://localhost:3000/\r\nINFO: Runtime compilation warning: Multiple responses, using first.\r\n on  > Subscribers > Creating a Subscriber\r\n```"},"comment":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/comments/190259808","html_url":"https://github.com/apiaryio/dredd/issues/25#issuecomment-190259808","issue_url":"https://api.github.com/repos/apiaryio/dredd/issues/25","id":190259808,"user":{"login":"GregorioDiStefano","id":12238099,"avatar_url":"https://avatars.githubusercontent.com/u/12238099?v=3","gravatar_id":"","url":"https://api.github.com/users/GregorioDiStefano","html_url":"https://github.com/GregorioDiStefano","followers_url":"https://api.github.com/users/GregorioDiStefano/followers","following_url":"https://api.github.com/users/GregorioDiStefano/following{/other_user}","gists_url":"https://api.github.com/users/GregorioDiStefano/gists{/gist_id}","starred_url":"https://api.github.com/users/GregorioDiStefano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregorioDiStefano/subscriptions","organizations_url":"https://api.github.com/users/GregorioDiStefano/orgs","repos_url":"https://api.github.com/users/GregorioDiStefano/repos","events_url":"https://api.github.com/users/GregorioDiStefano/events{/privacy}","received_events_url":"https://api.github.com/users/GregorioDiStefano/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T15:37:31Z","updated_at":"2016-02-29T15:37:31Z","body":"Is there anyway to use a before hook multiple times on the same name/api call?\r\n\r\nI have an API that has several different responses, depending on the request, and I'm trying to get dredd to test each response possibility.\r\n\r\nI can modify my request using a before hook, but multiple before hooks on the same hook are modify the single request. \r\n\r\n"}}