| || |
Response Time using WR
My application is a Client/Server application. Max of 150 clients will be connected to the Server.Now i am intrested to find out the response times of each business transaction at the client end.
I am simulating 149 clients Load using LR, on the other client machine(any 1 out of 150) I execute WR scripts.
The following is a part of the WR script, want to find out time taken at each activity as defined with start_transaction and end_transaction.
# Enter a valid Item Number
edit_set ("Item_textbox", "000000004091");
# Hit Enter
# Do while works just like synchronization. After user hits OK the client application fetches data from the database server and diplays back on to the client screen(same window title) i want to find the response time with load on the server(Simulated using LR).
ActiveX_get_info (menuBar, "Button(8).Caption", caption);
} while (caption != "Total");
Now my main concern is :
1) Is the approach right for calculating response times?
2) In the above code is WR returing exact timings?
3) In WR result window the time taken for the "PLU" transaction, is it Processing time + painting time on the screen or how it is?
*** Manually, using stop watch i have caluculated the response time for the above transaction, it is ~1.5 Secs, through WR it is 0.07 Secs, why the big difference???
1)Client application -- VB
2)Database-- SQL Server 2K
3)LR- 7.51(ODBC Protocol)
4)WR-7.01(VB & Active X Addins)
5)O/S- Windows 2K, SP3
Re: Response Time using WR
The process timing is not totally accurate, but actually a subcomponent of painting time, execution time, ect. What you really should be looking at is not absolute values, but changes in transaction times with different builds. Your goal is to see what effect code changes have on transaction times.