← All guides

Time Chamber

When the API says wait, what does your app do?

A settings screen refreshes its model list and gets a 429. Follow the saved API responses to see what stays visible during the wait and what happens when you retry after advancing the API clock.

Try the saved scenario

Saved synthetic example

  1. 429Reach the API limit
  2. +30 sAdvance API time
  3. 200Retry manually

Two saved synthetic Gostly runs supply the responses and comparison. The example app illustrates a failed refresh and a separate manual retry.

Compare the saved behavior with your test

What the saved case shows

The API returns 429 and the example keeps its last successful model options visible. Advancing the API clock opens the window. A separate manual retry receives 200.

What to expect from your app

Decide what a failed refresh should leave on screen. Assert when your app sends the next request and what a successful retry restores. Reset both test baselines before repeating.

API time affects what Gostly serves. Your application’s timers, backoff and final assertions stay with your own test.

Run the condition with your own API

Set up the API condition, then check the retry timing, fallback or error message your application should produce.

Time and episode API reference