Writing data to csv file for JDBC request

1,041 views
Skip to first unread message

ingale....@gmail.com

unread,
Jul 30, 2014, 5:29:03 AM7/30/14
to jmeter-...@googlegroups.com
Hi All,

Good to know this group.
I am interested to know if there is any way where i can write response data to a csv for a JDBC request.
Let me give some background on this.
During perf testing, testers most of the time goes in data preparation. So our plan is to fire a query to database, get input data to csv file and pass on the same csv to the actual HTTP request as csv config data.
But unfortunately we didnt have any option of writing response data to CSV file.

Can you help in this?
Any pointers will be very helpful.

Regards,
Prashant

Andrey Pohilko

unread,
Jul 30, 2014, 5:47:03 AM7/30/14
to jmeter-...@googlegroups.com, ingale....@gmail.com
Hi,

Look at http://jmeter-plugins.org/wiki/FlexibleFileWriter/ , maybe it will help in your case.

--
Andrey

среда, 30 июля 2014 г., 13:29:03 UTC+4 пользователь ingale....@gmail.com написал:

Vincent Daburon

unread,
Jul 31, 2014, 3:33:05 AM7/31/14
to jmeter-...@googlegroups.com, ingale....@gmail.com
Hi,

An alternative solution is to use the "Http Simple Server" to ADD line in memory linked list and save lines at the end of the test
http://jmeter-plugins.org/wiki/HttpSimpleTableServer/

look at this jmeter script http://jmeter-plugins.org/img/examples/demo_sts_add_save.jmx (you need nightly build to run it like JMeterPlugins-Extras-1.2.0_62b17571eb.zip).

Regards.

Vincent D.
Reply all
Reply to author
Forward
0 new messages