Open lulin-song opened 4 years ago
Similar questions to issues #12 and #13. Uncertain how best to test this feature (or the application).
It is not clear what the range might be for how many IGSN records per page, and therefore an upper limit on number of pages.
Tested using variations of limits of 10, 100, and 500. And pagenum of 1, 100, 20000. Tests are successful.
Test fails with limit 800 and pagenum of 10000. May not be significant, see note above. But goes to the limits.
Example export response_1591046213427_15.txt
"It is not clear what the range might be for how many IGSN records per page, and therefore an upper limit on number of pages." This can be calculated from total number from the other REST API #11, #14. The limit is chosen by the user according to the need.
"Test fails with limit 800 and pagenum of 10000." This is expected since it is exceeded its maximum.
Suggested changes to text to clarify purpose I did some reading about 'paginated' results to better understand the concept (and to figure out what is standard terminology, etc.). I want to suggest the following:
Implemented the REST API