title: Gatling2: How can I read from the virtual user's session
body: <p>I realise that I can save the response body in the virtual user's session:</p>
  
  <pre><code>  val session: Session = Session("MySCN", "123")
    val scn = scenario("MySCN")
      .exec(http("my_request")
      .post(serverURL)
      .headers(headers)
      .body(InputStreamBody(Helper.getByteArrayInputStream))
      .check(status.is(200), bodyBytes.saveAs("responseBody")))
  
     //key not found...
     session("responseBody").as[ByteArray]
  </code></pre>
  
  <p>How can I read that responseBody from this (implicit?) Sesssion? 
  I created an explicit Session as well...</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Based on the answer I have clarified my scenario. In the answer I do not know how the function <em>transformBytes</em> works.</p>