Writing to csv file

May I ask is there a Gatling api for me to append new entry to a csv at a specified path?

Gatling scripts are written in Scala. Google for “scala append to file” and you should find the help you need.

One hint: You will want to embed the logic for appending to the file inside a session function, like so:

.exec( (session) => {
/* write your value to the file here */