QA-Automation-Starter / qa-automation

QA automation utilities and project generator
https://qa-automation-starter.aherscu.dev
Other
6 stars 4 forks source link

example for automating an asynchronous REST service #235

Closed adrian-herscu closed 5 months ago

adrian-herscu commented 5 months ago

Current State Current examples assume synchronous REST services, that is calling a state-changing method is immediately reflected in subsequent calls once its response was received.

How to make it better Unfortunately, there are systems which do not guarantee the stability of their state after a response was transmited back. Hence the need to retry calls until the systems is in expected state. This means that performing a GET request may return outdated data during first calls, hence must be retried.