Test mode
There is no test mode yet. An acquestor_test_ key is an ordinary key with a different prefix: it reaches the same data, runs the same tools and is charged the same as an acquestor_live_ key. A listing or inquiry it creates is real, and its charges come out of your monthly allowance.
Testing meanwhile#
- Cap the spend. Create the key with a low monthly credit limit, and send
Acquestor-Max-Creditson each call (credits). Over either cap, a call runs nothing and charges nothing. - Narrow the key. Give it only the scopes the test needs, such as
tools:runfor computed tools without a deal, so it can't write listings, inquiries or deal figures (authentication). - Pin the date. Send
as_ofon computed tools, so a test's rules and rates don't move from day to day (conventions). - Start from the captured examples. The examples on these pages are captured by running the server's own code, so a parser built against them meets the same shapes.
- Retry with a key. Send an
Idempotency-Keyon writes and priced calls, so a retried test doesn't create or charge twice (retries and replay).
Revoke a test key when you are done with it.
Planned#
Planned (ADR-8, by June 30, 2027): a test mode for acquestor_test_ keys, on a fixed test clock, with inputs that trigger each failure on purpose, so a client's error handling can be tested before it meets a real error.
Something wrong or missing on this page? Email support@acquestor.com.