I am running jmeter in master-slave mode and getting the result in jtl file. I can get aggregate jtl result using command "java -jar CMDRunner.jar --tool Reporter --generate-csv test.csv \ --input-jtl results.jtl --plugin-type ResponseTimesOverTime" and then can write custom script to insert this data in the database.
Can all these activities happen in one jmeter script?