Advanced Scripting API (at.*)

PRO v1.0.0May 20, 2026

Every place a request or test runs has a JavaScript layer exposed through the global at object:

  • at.request — read and mutate the outgoing request before it is sent
  • at.response — parse and inspect the response
  • at.environment — read/write environment variables (persisted)
  • at.flow — read/write in-memory variables passed between steps
  • at.export — build a ready-to-send report (JSON / HTML / PDF) from an After All script

Where scripts run

  • Pre-request and post-response (Processors)
  • Flow and load-test lifecycle: before all / after all, per step

A fetch API is available inside scripts to call external services mid-run.