When a testcase has a file upload in it, Load Tester automatically handles the file upload during replays and load tests. However, in many tests each user should upload different file contents (and possibly use a different file name). Load Tester has streamlined this process to make it very easy to handle. Just follow these easy steps:
1) Gather the set of files to be uploaded
2) Import them into Load Tester (Window > Preferences > Web Performance > File Upload) and generate a dataset
3) Find the file field in the testcase using the Fields View
4) Configure the field to use the files specified in the dataset
The testcase is now ready to run! Load Tester will automatically send the files to the load engine prior to starting the next load test. Note that Load Tester has copied the files into its own private area, so if you change the contents of the files, the changes files must be re-imported into Load Tester so that the changes will be recognized and re-sent to the load engines.
For more details, watch the Configuring File Uploads video.
Chris
Chief Engineer
When his dad brought home a Commodore PET computer, Chris was drawn into computers. 7 years later, after finishing his degree in Computer and Electrical Engineering at Purdue University, he found himself writing software for industrial control systems. His first foray into testing software resulted in an innovative control system for testing lubricants in automotive engines. The Internet grabbed his attention and he became one of the first Sun Certified Java Developers. His focus then locked on performance testing of websites. As Chief Engineer for Web Performance since 2001, Chris now spends his time turning real-world testing challenges into new features for the Load Tester product.