---
title: "Sends a message to stop the current execution of the test run and send another message to schedule a new execution with an incremented attempt count"
method: POST
path: "/journeyRuns/{id}/reschedule"
tags: ["TestRun"]
---

# Sends a message to stop the current execution of the test run and send another message to schedule a new execution with an incremented attempt count

`POST /journeyRuns/{id}/reschedule`

Sends a message to terminate the test run, and if the attempt count number is not over the limit, sends another message to schedule execution of the test run and updates the attempt count of the existing run.

## Path parameters

- `id` string, required

## Response `200`

The reschedule attempt was received and a termination message was sent, but a scheduling message was not sent

- TestRunRescheduleResponse — Response to reschedule requests, describes whether another scheduling message was sent and the number of remaining attempts allowed
  - `scheduling_message_sent` boolean, required — Whether a message to schedule execution of the test run again was sent
  - `run_attempts_remaining` integer, required — The number of remaining scheduling attempts allowed after counting this scheduling attempt

## Other responses

- `201` — The reschedule attempt was allowed and both a termination and another scheduling message were sent
- `404` — Test run not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
