https://linen.dev logo
#general
Title
# general
a

aaron smith

07/06/2023, 1:00 AM
hello everyone! I am brand new to API mocking and am curious if I can use WM to perform iterative calls and record the entire transaction? I have a large number of records to fetch and the server limits each GET call so I perform repeated calls supplying an increasing offset value. I'd like to record the entire process so a) I can later test against that entire flow in my CI pipeline and b) have ability to test optimization against the full process (it takes about 15mins in prod)
o

Oleg Nenashev

07/06/2023, 8:10 AM
Yes. You can record request sequences and then reproduce their responses using stateful behavior https://wiremock.org/docs/stateful-behaviour/
👍 1