Menu

File Uploads

It’s possible to perform a file upload by typing a valid file path into an HTML5 file input form field.

  1. Set up your files in the File Upload preferences page (under Window > Preferences > Web Performance > File Upload). All of the files you create here will be uploaded to your load engines in a special directory that exists for that purpose.
  2. Inside your testcase, create a “Type Text” action against the HTML file input field. The action must not clear the contents of the field before typing.
  3. Edit the data source in this action so that it is a concatenation of the “File path” data source and the name of the file. The file path data source points to the special file upload directory.

The screenshot below shows how to build the file path:

FileUploadDatasource

Copyright © 2018 Web Performance, Inc.

A Durham web design company

×

(1) 919-845-7601 9AM-5PM EST

Just complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
What you Need