title: Gatling test that uses a different action every request
body: <p>We're trying to stress test our REST-ish app with Gatling. We want our <code>users</code> to make a post with a different <code>fileBody</code> every request.</p>
  
  <p>Our scenario looks like:</p>
  
  <pre class="lang-scala prettyprint-override"><code>scenario("100%")
      .during(15 minutes) {
          exec(requestStream.next())
          .pause(118 seconds, 120 seconds)
      }
      .users(2)
      .delay(2 minutes)
      .protocolConfig(httpConf)
  
  ...build up several scenarios...
  
  setUp(severalScenarios)
  </code></pre>
  
  <p>This runs fine but it appears that the block with the <code>exec</code> is only executed one time when each scenario is built for the first time. We thought that the block would be executed every time the <code>during(...)</code> loop comes around giving each user a new <code>Request</code> from the iterator to run every 15 minutes. </p>
  
  <p>Are we missing something? Is there a smarter way of doing this? </p>