The purpose for this test is to ensure that the DUT is able to fetch files from an external HTTP server without loss of file integrity. The file used by the test exceeds a gigabyte in order to ensure integrity even for large file sizes.
This test was verified on a t0 topology, but should work on any other topology since the only interaction is between the host computer running the HTTP server and the DUT.
- An HTTP server is started on the PTF container
- The PTF container generates a 1 GB file with random bytes
- An MD5 checksum is generated for the generated file
- The DUT requests this file from the HTTP server
- An MD5 checksum is generated for the file on the DUT
- The checksums are compared, failing if they differ
- Both systems are cleaned of the large file