Does anyone knows if I could submit an xml file to a php file for processing using the post command?
Basically, I have a php file that will process an incoming xml. It will read and extract the content of the xml, and update the data into the database.
For my unit tests on Windows, I achieve the task by using curl.exe. The command looks something like this curl.exe --digest -u accountName:password http://test/process.php -F theUploadFile =@filename.xml
Hence, I would like to find out if Eggplant would be able to achieve something like this through either the post command or do I have to use the shell command. If using the post command, would it be possible for you to provied me with an example?
I tried doing this: post file file.xml to url “http://test/process.php”
but it did not achieve what I wanted. Thank you very much.