Highlighted
Contributor.
Contributor.
305 views

Long time lapsed between Click Start and End

Hi,

I have a TruClient step that perform a Click with end event set to 'Action Complete'. 
I ran the test script for 5 iterations with only one vuser. During one of the iteration run, I observed there is a 10 seconds time lapsed between the start and end of the Click event.  See Iteration 2 below. Rest of the iterations took about 2 seconds only, The Object Identification for the Click object is using xpath. 

Does anyone know why there is a signifcant time lapse to perform the click during iteration 2? What are the factors that can affect the time to perform the click considering that it is much slower in one iteration? As said, the end event is 'Action Completed', NOT waiting for object or any network end event. 

Also, is the time taken for TruClient to locate the object included in the transaction response time, or is it considered as wasted time?

Iteration 1:   2646ms
t=00397317ms: ** 16.3: Click on Collapse All Nodes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00399963ms: ** 16.3: Click on Collapse All Nodes ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]

Iteration 2:   10968ms
t=00709137ms: ** 16.3: Click on Collapse All Nodes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00720106ms: ** 16.3: Click on Collapse All Nodes ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]: 

Iteration 3:   2416ms
t=01052554ms: ** 16.3: Click on Collapse All Nodes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=01054970ms: ** 16.3: Click on Collapse All Nodes ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]

Thanks!
Jason

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.