This is automatically calculated and does not need to be defined. It will be the number of items under the root path of Response information
Hi All,
The following Paging Steps resolved the issue.
$currentCount$ = $offset$ * $limit$
TERMINATE_IF $currentCount$ >= $response.TotalRecordCount$
$offset$ = $offset$ + 1
$endpoint.fullUrl$ = $application.baseUrl$ + “/Api/WS/v2/User/List?page=” + $offset$ + “&pageSize=” + $limit$
It seems the Arithmetic statements should be performed before checking for termination conditions.
Thank you all for your inputs.
2 Likes