Skip to main content

abTestStop

Stops a RUNNING test and records the stop time; other statuses return an error. Tests saved with createSnapshots also stop their per-variant snapshots. A stopped test cannot be restarted (abTestDuplicate copies it into a new draft), and stopping it again returns it unchanged when it has no per-variant snapshots. Requires A/B testing edit access.

abTestStop(
id: Int!
): AbTest!

Arguments​

abTestStop.id ● Int! non-null scalar​

Test id from abTestList, abTestRefList, or abTestCreate.

Type​

AbTest object​

A/B test settings and lifecycle returned by test lists, detail queries, and create/update operations. Metrics are populated by list queries; use abTestResultCounts for goal/date-scoped results.