BHUMIHAR Member since 2011 2 posts
Tata Consultancy Services Limited
Posted: 5 years ago
Last activity: 4 years 1 month ago

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
Share this page LinkedIn