0

I have designed a jmeter script to download PDF using 'Save response to a file' listener.It is working when I executed in local both in GUI and non GUI mode and the PDF is downloaded.But when im trying to run the same script in Distributed remote testing using client(windows 7) and server(windows 7) on the same subnet,unknown and plain files are getting downloaded instead of the the PDF file. I have given folder path of the server in the Listener.Is there any other way to download the actual PDF instead of those unknown file.

thanks in advance :)

  • I will give you this caution. It sounds like you want to create write permissions for Jmeter to write the resulting data to your web server. That is a high-risk operation.. – Leptonator Aug 12 '15 at 14:20
  • Hi , any feedback on answer? thx – UBIK LOAD PACK Aug 21 '15 at 09:06
  • As suggested added mode=Standard both in user.properties and in jmeter.properties in the client machine but there is no change.The same unknown files and plain files are getting downloaded. – Nissy Crysallite Sep 02 '15 at 12:26

1 Answers1

0

In distributed testing, jmeter uses StrippedBatch mode which strips response data when sending response to controller.

So you need to switch mode to One that does not strip like Standard:

So add to user.properties:

mode=Standard

See also:

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
  • As suggested added mode=Standard both in user.properties and in jmeter.properties in the client machine but there is no change.The same unknown files and plain files are getting downloaded. – Nissy Crysallite Aug 25 '15 at 09:21