microsoft / restler-fuzzer

RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.59k stars 296 forks source link

correct the wrong pagination query #737

Open Lucarun opened 1 year ago

Lucarun commented 1 year ago

"select * from blogpost limit 5 offset 10" means querying 5 rows of data starting from row 10 in the sqlite. It doesn't align with the actual meaning of this pagination query API - "/api/blog/posts". (page and per_page). Please correct me if I am wrong. Thx!

marina-p commented 1 year ago

You are correct. I'm going to check the previous implementation of demo_server before merging it to see if this was supposed to be a planted bug, or if I introduced this bug unintentionally while porting it.

Yanqiulei commented 8 months ago

How can I resolve the following error when using Restler for testing functionality? 2024-01-24 16:39:01.091: Connection error: 'Exception: [Errno 104] Connection reset by peer'