my server can response between 2 seconds to 30 seconds. I need to put some wait time before response, which function better (thinktime, wait, etc.). If waitTime=30 and response back in 10 seconds, it will wait another 20 seconds or keep moving? The detailed, the better. Thanks.
Thanks. Another question related is SP run synch or asynch mode? I have request send out and response coming, the scripts run in the order and wait until previous one done and then work on next one, or sometimes it just send request without previoud response back? If it runs in sequence, what is the wait time (default and how to change it?). I checked Help, but still not sure. Thanks for any help.
Not quite sure what you are asking here... you 've mentioned scripts running in order? do you mean you have set a queueing workload so each script is executed once by each VUser, therefore you're wanting to know how to set your wait times?
sorry for the confusion. I mean in try script, there are request, repsonse, request and responce. the SP runs one command after previous one finished (synch) or SP doesn't wait the previous one's completion (asynch). The mode will impact the wait-time. some tools can run synch or asynch mode (you can setup the mode). I don't know too much about SP. Thanks for any info.
The Wait and the Thinktime are almost the same, the only difference being that when a virtual user is in a "Wait" state, the user is considered to be "inactive". This will affect any data that is being collected to measure "number of active users
SilkPerformer is synchronous meaning it will execute the code line by line, if you need to do this in an asynch mode you have some options, put the transactions in a different order, use function calls to custom commands etc..
If you are concerned with the tool not waiting for the response you could add a loop with a verfification check. This will ensure that all the data or server response is received before moving on with the script.