Idea is to write two tests in the 02_post test suite for this purpose:
- first one answer to post request and store the file's content in RAM
- second one answer to get request and sends back the file's content.
Those tests will need to be executed in the right order, so should be named 01_file_upload and 02_file_check or similar.
Same must also be done to test multiple file upload (in one multipart post request)
Idea is to write two tests in the
02_posttest suite for this purpose:Those tests will need to be executed in the right order, so should be named
01_file_uploadand02_file_checkor similar.Same must also be done to test multiple file upload (in one multipart post request)