title: How to use saved variable values outside of gatling scenario in scala file
body: <p>One of gatling get request is giving multiple string values and I am saving them using saveAs like this:</p>
  
  <pre><code>val scn = scenario("ReadLogs")
          .exec(http("logEvent")
          .get("""/xyz/abc""")
          .check(jsonPath("$.data[*].message").findAll.saveAs("mList")))
  
  /* My scala code to achieve some requirements*/
  </code></pre>
  
  <p>I can see in log that "mList" is a vector which have my required string messages. I want to process those messages in my scala code. How to do that in simple way? I think if i can use "mList" variable outside scn scenario than things will move fine so i'll put this question more specific. How can i use "mList" variable in my scala code?</p>