title: How to extract List attribute from session in Gatling?
body: <p>In Gatling 2.1 I'm saving bunch of Ids like this:</p>
  
  <pre><code>.findAll.saveAs("ids"))
  </code></pre>
  
  <p>This adds list of Ids in session:</p>
  
  <pre><code>ids -&gt; List(0, 1, 2, 3)
  </code></pre>
  
  <p>I'd like to have this list as regular Scala variable.</p>
  
  <p>In case of Strings it works fine:</p>
  
  <pre><code>.exec(session =&gt; {      
      val mystring= session("SomeString").as[String]
      session
    })
  </code></pre>
  
  <p>How do I make this work for a List?</p>