Happy new year everybody.
I'm bugging (me) on something...
Our way of feeding data has been decided, we can't use csv file either json file (too static, to map on any database, without having each time job to do). We will write some REST Services to interrogate the databases (all intelligence stays on the application-server side, nothing is written in gatling except it's own scripts).
These REST servicies return JSON object in String format.
Example :
Which may returns, depending on databases these type of string, for examples :
[{"id":1144,"name":"NEDOQUE MAX"},{"id":1080,"name":"BLOCQUEAU JULIE"},{"id":1081,"name":"DIETY LILY"}]
I Parse this with Jackson :
val jObject = Jackson.parse(usersData)
(which works fine, I got an ArrayList<LinkedHashMap> in return)
And here is where I'm stucked...
How to feed my scenario with these data?
How to transform my parsed String into FeederBuilder[_] ?
Hope the question is not that stupid....
Thank you.