Re: [OpenSTA-users] OpenSTA making n number of connections
Brought to you by:
dansut
|
From: Daniel S. <da...@Op...> - 2007-02-23 03:30:49
|
Bernie Velivis wrote: > You may also need to look at manually inserting synchronize > commands to make OpenSTA playback more realistic. I think this statement needs a little explanation. Inserting SYNCHRONIZE commands after the primary GET can make replay more realistic as load increases because it allows the script to react to the extended wait and load times of this GET before starting its secondary GETs. However, doing this means that your script will no longer start downloading the secondary items in a page until the whole of the primary (HTML) is downloaded - and this is *not* how a browser behaves. The default recorded scripts do not react to extended download times and therefore as load increases the secondaries may end up being requested before the primary download has even got to the point where it should know about the secondary - this is definitely unrealistic and why using the SYNCHRONIZEs is seen as "more" realistic. Bernie knows the above and understands the comprimises involved - you should also attempt to do this before you make your script do something which isn't really what you want. ;) As far as diagnosing your "extra" DB connections - I would be looking at tracing what your Web app is doing under load ... after all, it is this that is making the DB connections and not OpenSTA. Cheers /dan -- Daniel Sutcliffe <Da...@Op...> OpenSTA part-time caretaker - http://OpenSTA.org/ |