sakaiproject/node-oae-tsung — pull request #2 by simong (2012-11-07 14:41:32+00:00)
Title: Added support for uploadable files + bugfix

This PR adds support for doing multipart file upload.
Unfortunately, Tsung doesn't allow you to point at a directory or csv file that contains the files you wish the pick from. You need to specify a file that holds the entire request body. That means that **all** parameters need to be in that file, in the correct order.

It's all less than ideal, but this PR allows you to specify all the uploadable files up front and write test cases where you can refer to a file by it's ID. An example can be found in the super simple 'create_content' test case.

There is some other code in there to fix up the dyn_variables, as those were no longer outputted in the XML file.