File Output

A quick guide to output custom files from your test runs

Loadium allows you to generate custom files, download and access them in your JMeter tests using its "Custom Logging" feature.

You can use custom libraries (such as java.io.File) to generate files.

For example, we have a Groovy script for creating a .txt file for logging, as shown below:

Note: As mentioned above, output path of your custom file must be set as "useroutput/myFileName" in order to access your file.

Run the test for which you want to get the file outputs and wait for the test to finish. To verify that your file has been successfully written, check the JMeter.log window in the Logs tab.

Once your test is finished, go to the Logs tab on the test report page and click the "Download Main Folder" button to download your main test folder.

Now you can access the output files of your test simply by unzipping specified output file.

Last updated