How to use gatling while using post method and sending an Custom java class object!!

Hi All,

I am using Gatling for Stress Testing for my REST application in which my method has definition as below:

@POST(/add)
public String addEmployee(Employee e){

//business logic

}

Employee is my custom JAVA class with data members as name, id and deptname

So could you help me in writing the simulation file for the above scenario?

I have written as below:

.exec(http(“request_13”)
.post( “/add”)
.headers(headers_13)
.queryParam("","")

Please help me in writing action for this scenario?