Data Steam action pagination issue

kevin33
Tera Contributor

Good evening , All 

 

I running into a very weird issue on pagination. I have a API with their payload like below:

 

"value": [
{xxxx},
{xxxx}
],
}
 
The skip number increase when page number increase.
 
I create pagination script as in screenshot.

Snipaste_2024-05-24_00-00-43.png

 

Rest steps like below:

Snipaste_2024-05-24_00-06-20.png

 

I have data source to load data, the page 1 and 2 are pretty normal, but in page 3, it report error. I check the execution steps, here is the screen shot from execution:

 

Snipaste_2024-05-24_00-13-14.png

The nextpage link become:

https://abc.def.com/latest/DEVICE_INVENTORY?%24skip=1000&%24skiptoken=2%2Cae0a2629-891e-40d2-8cc4-183133f7fadd&$skip=1000&$skiptoken=3,ae0a2629-891e-40d2-8cc4-183133f7fadd

I have try many time from postman, and never see any response content like this. Postman response body like below:

 

Snipaste_2024-05-24_00-11-09.png

 

I am wonder if anybody know why it combine 2 non-sense parameters together? Thanks for any advises....

 

 

 

1 REPLY 1

kevin33
Tera Contributor

Also I try in post man, the payload return like below:

 

Snipaste_2024-05-24_00-11-09.png