jmeter implementation file download

  When downloading files through a browser, you are prompted to select the save path, but when using the test tool jmeter request, the page to see the number of requests is increased, but did not file specific local downloaded.

In particular required file download request, add the postprocessor -bean shell postprocessor

Add a piece of Java code in the script bean shell postprocessor, the path D: / test / do not need to escape, as shown:

 

  

If the words following such a path (E: \ test), it needs to be escaped, as shown:

 

 

Guess you like

Origin www.cnblogs.com/jane4321/p/11899408.html