{"action":"closed","issue":{"url":"https://api.github.com/repos/gatling/gatling/issues/2928","repository_url":"https://api.github.com/repos/gatling/gatling","labels_url":"https://api.github.com/repos/gatling/gatling/issues/2928/labels{/name}","comments_url":"https://api.github.com/repos/gatling/gatling/issues/2928/comments","events_url":"https://api.github.com/repos/gatling/gatling/issues/2928/events","html_url":"https://github.com/gatling/gatling/issues/2928","id":136641000,"number":2928,"title":"New feature: Results from scenario x are preserved and transformed into a feeder for subsequent scenario","user":{"login":"u6f6o","id":1176370,"avatar_url":"https://avatars.githubusercontent.com/u/1176370?v=3","gravatar_id":"","url":"https://api.github.com/users/u6f6o","html_url":"https://github.com/u6f6o","followers_url":"https://api.github.com/users/u6f6o/followers","following_url":"https://api.github.com/users/u6f6o/following{/other_user}","gists_url":"https://api.github.com/users/u6f6o/gists{/gist_id}","starred_url":"https://api.github.com/users/u6f6o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u6f6o/subscriptions","organizations_url":"https://api.github.com/users/u6f6o/orgs","repos_url":"https://api.github.com/users/u6f6o/repos","events_url":"https://api.github.com/users/u6f6o/events{/privacy}","received_events_url":"https://api.github.com/users/u6f6o/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T09:24:00Z","updated_at":"2016-02-26T10:10:04Z","closed_at":"2016-02-26T10:10:03Z","body":"Some days ago I created a [question](http://stackoverflow.com/questions/35461350/how-to-execute-a-scenario-using-data-from-the-previous-scenario) on stackoverflow to find out if it's possible to preserve the results from a scenario and reuse the data on a separate scenario. \r\n\r\nIt is currently possible to save data from a given request like this: \r\n\r\n`.check(\r\n          jsonPath(\"userId\").saveAs(\"anId\")\r\n        )`\r\n\r\nand reuse it right away for the next request. The problem is though, that I cannot create all entities and store the resulting ids somewhere and run a different scenario on this set of ids. My idea would be to have something like this: \r\n\r\n```\r\nval feederForScn2\r\n\r\nval scn1 = scenario(\"scn1).during(5 minutes) {\r\n    ....\r\n    ....\r\n    check(\r\n          jsonPath(\"userId\").addToFeeder(\"feederForScn2\").as(\"scn1Id\")\r\n    )\r\n}\r\n```\r\n"}}