Uploading or Downloading Files in a Script

You can test a web application’s ability to upload or download a file as part of a transaction test, by adding it into your script. Although you can test file uploads and downloads using the FTP server test, you can also use a transaction test to assess a website’s support for file uploads or downloads through a browser interface.

Note the following:

  • ThousandEyes does not allow you to upload ordinary files as part of a transaction test. You must generate a file with custom content as part of the script, or generate a file with random content.

  • For file downloads, you can write a script to wait for the download to finish, examine the contents of that file, and use those contents elsewhere in the script. One common use case involves timing the performance of uploading or downloading a file.

Last updated