TCPProxy doesn't support multipart/form-data.
However, multipart/form-data is used a lot on the web.
I wrote a patch for TCPProxy to support multipart/form-data.
Please, apply it or consider it?
I'd like to apply it, but first I need you to mail your permission to grinder-development as noted at http://grinder.sourceforge.net/development/contributing.html#How+to+give+back
Checked in as of revision 4208.
I'm not sure the patch copes fully with the multipart data that contains files. We might consider extending the support as follows.
* The working directory is hard coded to "/tmp" in ConnectionHandlerImplementation - this isn't general enough, and also will mean the user is likely to ignore or delete the recorded files.
* Perhaps we could use the current working directory together with a FilenameMangler to add a unique prefix to the files?
* Would need to demangle the filenames on replay.
* Could add comments to the generated script indicating that it relies on the files.
Log in to post a comment.