# capture mean response time and save into a separate file

**URL:** <https://community.gatling.io/t/capture-mean-response-time-and-save-into-a-separate-file/3934>\
**Category:** Gatling (Open-Source)\
**Created:** [September 14, 2017, 8:29pm UTC](https://community.gatling.io/t/capture-mean-response-time-and-save-into-a-separate-file/3934 "2017-09-14T20:29:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zique\_Sousa](https://avatars.discourse-cdn.com/v4/letter/z/6f9a4e/32.png) [@Zique\_Sousa](https://community.gatling.io/u/Zique_Sousa)\
**Post date:** [September 14, 2017, 8:29pm UTC](https://community.gatling.io/t/capture-mean-response-time-and-save-into-a-separate-file/3934/1 "2017-09-14T20:29:37Z")

</div>

HI all, I need to run a load test where for each user, I need to capture the “mean response time” and save it to a comma delimited file.

note: I am saving to a file because I am capturing other data as the test runs and saving it as well. so eventually I would have something like this

file:  
username | API Body string | transaction time  
12345 | "[1,“find”,2,8,{“0” | 200 ms
