{"action":"created","issue":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/151","repository_url":"https://api.github.com/repos/apiaryio/dredd","labels_url":"https://api.github.com/repos/apiaryio/dredd/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/apiaryio/dredd/issues/151/comments","events_url":"https://api.github.com/repos/apiaryio/dredd/issues/151/events","html_url":"https://github.com/apiaryio/dredd/issues/151","id":58235552,"number":151,"title":"question: does dredd support chain-calls (testing flows)?","user":{"login":"ducin","id":375027,"avatar_url":"https://avatars.githubusercontent.com/u/375027?v=3","gravatar_id":"","url":"https://api.github.com/users/ducin","html_url":"https://github.com/ducin","followers_url":"https://api.github.com/users/ducin/followers","following_url":"https://api.github.com/users/ducin/following{/other_user}","gists_url":"https://api.github.com/users/ducin/gists{/gist_id}","starred_url":"https://api.github.com/users/ducin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducin/subscriptions","organizations_url":"https://api.github.com/users/ducin/orgs","repos_url":"https://api.github.com/users/ducin/repos","events_url":"https://api.github.com/users/ducin/events{/privacy}","received_events_url":"https://api.github.com/users/ducin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apiaryio/dredd/labels/question","name":"question","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"netmilk","id":79609,"avatar_url":"https://avatars.githubusercontent.com/u/79609?v=3","gravatar_id":"","url":"https://api.github.com/users/netmilk","html_url":"https://github.com/netmilk","followers_url":"https://api.github.com/users/netmilk/followers","following_url":"https://api.github.com/users/netmilk/following{/other_user}","gists_url":"https://api.github.com/users/netmilk/gists{/gist_id}","starred_url":"https://api.github.com/users/netmilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netmilk/subscriptions","organizations_url":"https://api.github.com/users/netmilk/orgs","repos_url":"https://api.github.com/users/netmilk/repos","events_url":"https://api.github.com/users/netmilk/events{/privacy}","received_events_url":"https://api.github.com/users/netmilk/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-02-19T16:54:06Z","updated_at":"2016-02-19T11:59:53Z","closed_at":"2016-02-19T11:58:54Z","body":"I'm working on a frontend that will rely on a big corporate API and I'm considering using dredd.\r\n\r\nThe API supports flows. A flow is an operation divided into few steps, each having its own view and a corresponding AJAX call. The execution is based on promises. For example: creating a user would take 3 ajax calls that have to be done in a specific order (the server stores session data, which is used to combine next step as a continuation of the previous one). Result from one step will be used as parameters for another one (and it is matched on server-side). You can't succeed in any different order (e.g. start from the second step).\r\n\r\nMy question is: does dredd support such AJAX request chain? Can I tell dredd that \"create user\" consists of 3 steps and output of N-step should be the input for N+1? Or, more generally, is there any way to customize dredd to make it aware that REST resources are related to each other somehow? My case is that resources are not strictly \"plain\". There are some resources (which I want to have tested automatically of course), which are available only after another resource has been fetched/created/started.\r\n\r\nIf there's no such built-in mechanism, are there any hooks or any methods to override so that I can provide such behavior?"},"comment":{"url":"https://api.github.com/repos/apiaryio/dredd/issues/comments/186188424","html_url":"https://github.com/apiaryio/dredd/issues/151#issuecomment-186188424","issue_url":"https://api.github.com/repos/apiaryio/dredd/issues/151","id":186188424,"user":{"login":"netmilk","id":79609,"avatar_url":"https://avatars.githubusercontent.com/u/79609?v=3","gravatar_id":"","url":"https://api.github.com/users/netmilk","html_url":"https://github.com/netmilk","followers_url":"https://api.github.com/users/netmilk/followers","following_url":"https://api.github.com/users/netmilk/following{/other_user}","gists_url":"https://api.github.com/users/netmilk/gists{/gist_id}","starred_url":"https://api.github.com/users/netmilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netmilk/subscriptions","organizations_url":"https://api.github.com/users/netmilk/orgs","repos_url":"https://api.github.com/users/netmilk/repos","events_url":"https://api.github.com/users/netmilk/events{/privacy}","received_events_url":"https://api.github.com/users/netmilk/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T11:59:53Z","updated_at":"2016-02-19T11:59:53Z","body":"Tracking now in #358 "}}