Re: [OpenSTA-users] Can a script wait until the end of a HTTP Binary file download completes before
Brought to you by:
dansut
|
From: Dan D. <ddo...@me...> - 2007-05-22 12:36:35
|
Tam Willacy wrote: ================== >Can the OpenSTA toolset simulate a real world HTTP binary file download? >In particular will a VU script wait until the end of the file download >before continuing with the next GET request in the script? >I have managed to record a script which downloads a word document file, >but even though I have tried to use, >LOAD RESPONSE_INFO BODY ON 1 INTO MyBody >I am fairly suspicious that TestExecuter isn't waiting for the full file >download before the VU script finishes, it seems to simply wait until it >gets the 200 level response and the first (of many) packets of data. Tam, you should be able to accomplish this binary download with opensta. If you want to have the behavior be that the next GET after the download waits til the file is downloaded (though not sure why that matters--you can put a Timer around the binary download PRIMARY GET and time the download irrespective of what else happens downstream), try inserting a SYNCHRONIZE ALL after the last GET URI following the PRIMARY GET URI that triggers the download -- this will cause the script to wait until the PRIMARY GET and all subsequent GETS to execute before continuing. ...Dan Dan Downing www.mentora.com |