sorry ignore my response On Thu, Nov 6, 2014 at 8:53 AM, Deepak Shetty <[email protected]> wrote:
> >If I use the "Variable Name" field (e.g. FILENAME) I get a > Do you actually have a variable called FILENAME? Did you verify it in > Debug Sampler? > > On Thu, Nov 6, 2014 at 12:16 AM, SanderW <[email protected] > > wrote: > >> Hi all, >> >> I would like to save all the files that are recorded with the filenames as >> shown in the View Results Tree listener (Like LoadRunner automatically >> does >> during recording in the data folder) >> >> I have tried several set-ups (order of the listeners, with/without Simple >> Data Writer), but none seem to work as I would like. >> >> I currently have this setup: >> - HTTP(S) Test Script Recorder >> -- View Results Tree >> -- Save Responses to a file >> -- Simple Data Writer >> >> Save Responses to a file with filename prefix >> "C:\Temp\JMeter_recording\pre" >> and Variable Name empty. >> If I use the "Variable Name" field (e.g. FILENAME) I get a >> NullPointerException (at >> org.apache.jmeter.reporters.ResultSaver.saveSample(ResultSaver.java:183)) >> >> If I leave the "Variable Name" empty, then it does save the files, but not >> the filename. >> Example of a file that is saved, is pre*null*211.gif. In the "View Results >> Tree" I see [210 /__utm.gif] >> So the number sometimes also seems to be 1 off. Perhaps because the >> following http requests has path / >> >> Which setup do I need to use to have the stored files like the gif to have >> its correct filename (C:\Temp\JMeter_recording\pre210 /__utm.gif)? >> >> >> >> -- >> View this message in context: >> http://jmeter.512774.n5.nabble.com/Saving-all-responses-including-resources-during-recording-with-filenames-tp5721298.html >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
