On Thu, Mar 18, 2004 at 10:29:39AM -0800, Aaron Bannert wrote:
On Mon, Mar 15, 2004 at 09:13:45AM +0100, Philippe Marzouk wrote:
On Sun, Mar 14, 2004 at 05:27:16PM -0800, Aaron Bannert wrote:
This sounds reasonable to me, did it ever get committed?
I imagine you asked the flood developers but I just did a cvs diff and
this patch was not committed.
Nope, I was just catching up on old mailings and wanted to see if
this was ever addressed.
I've committed it, thanks for the patch.
Could you provide an example xml input file that I could stick
in the examples/ directory that shows usage of this new parameter?
I attached a file with the way I use it.
I use it to test the upload of a file, in this case a text file
containing 'toto' (a french friend of foobar) to an application
developped by the company I work for. There are a few params taken from
the fieldq in the web form and the included file.
Obviously you need support for uploading on the application running on
the web server.
HTH,
Philippe
?xml version=1.0?
!DOCTYPE flood SYSTEM flood.dtd
flood configversion=1
urllist
nameTest Hosts/name
descriptionA bunch of hosts we want to hit/description
url method=POST Content-Type=multipart/form-data; boundary=---7d43b13720028e payload=-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;p1quot;#13;#10;#13;#10;EVT#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;p2quot;#13;#10;#13;#10;123456#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;p3quot;#13;#10;#13;#10;data#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;p4quot;#13;#10;#13;#10;#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;p5quot;#13;#10;#13;#10;M#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;p6quot;#13;#10;#13;#10;00#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;ficquot;; filename=quot;/opt/test/CLIBACK\TEST\TEST2010.123456quot;#13;#10;Content-Type: text/plain#13;#10;#13;#10;toto#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;passwordquot;#13;#10;#13;#10;00#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;xquot;#13;#10;#13;#10;16#13;#10;-7d43b13720028e#13;#10;Content-Disposition: form-data; name=quot;yquot;#13;#10;#13;#10;6#13;#10;-7d43b13720028e-- responsename=filehttps://testhost/upload.upl?t=uamp;o=6000/url
/urllist
profile
nameRoundRobinProfile/name
descriptionTest of the Round Robin Configuration/description
useurllistTest Hosts/useurllist
!-- Profile Events --
profiletyperound_robin/profiletype
!--socketgeneric/socket--
socketkeepalive/socket
!-- Verification Events --
verify_respverify_200/verify_resp
!-- Reporting Events --
reportrelative_times/report
/profile
farmer
nameJoe/name
!-- run the Joe farmer 2 times --
count1/count
!-- Joe uses this profile --
useprofileRoundRobinProfile/useprofile
/farmer
farm
nameBingo/name
usefarmer count=1Joe/usefarmer
/farm
!-- Set the seed to a known value so we can reproduce the same tests --
seed23/seed
/flood