Ashutosh Kumar (BHUMIHAR)
Tata Consultancy Services Limited

Tata Consultancy Services Limited
BHUMIHAR Member since 2011 2 posts
Tata Consultancy Services Limited
Posted: June 23, 2015
Last activity: July 18, 2016
Posted: 23 Jun 2015 11:55 EDT
Last activity: 18 Jul 2016 6:32 EDT

Pagelist/group looping working incorrectly

We have a logic to loop through pagelist/pagegroup and apply a when condition to find the matching instance. Rules are working fine if we run for few requests but when we started our performance testing where we increased the load to 70 requests/ minute, we are facing some weird issues with looping. Out of 5000 requests(same requests), there are 20-30 instances when this issue is coming.We have 3-4 places where this looping issue is coming. One such example is below:

@IndexInPageListWhen("FindTheCorrectInstance", .ListOEntries.pxResults)- There are 72 results for pxResults.

Correct instance is in pxResults(36) however we can see from tracer that after reaching pxResults(35), it jumped to pxResults(13) then (14) till 20 and then it jumped to pxResults(37) skipping pxResults(36) completly. Similare behaviour is happening for others loops where we are using these functions - IsInPageList and looping through 'For Each Page In' Declare_Q.pxResults.

Did you face any similar issue in your projects? if yes, any resolution?


System Administration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.