| || |
a script OpenSTA with Timers
Can anybody provide me a script OpenSTA with a number of Timer defined in the script? my purpose is just to know how add the Timer in the script to get the response time of a specific function of web,( for example login ).
Re: a script OpenSTA with Timers
You can add timers in two ways. One that measures a sequence of HTTP traffic, and one that measures just a specific Get or Post. The first you add by putting:
Start timer LOGIN_TIME
before the first action in the sequence. Then add:
End timer LOGIN_TIME
after the last action in the sequence. Don't forget to define the timer in the definitions section of he script with:
The other type of timer is added to a Get or Post using:
, response timer LOGIN_TIME
Have a look at the SCL syntax for this one.