---
title: "Create bulk test locks for dashboard testing"
method: POST
path: "/dev-tools/gql-lock/bulk-test"
tags: ["Dev Tools", "GraphQL Locks", "Testing"]
---

# Create bulk test locks for dashboard testing

`POST /dev-tools/gql-lock/bulk-test`

## Request

- Base URL: `http://dev.theverge.com:3002/api`
- URL: `http://dev.theverge.com:3002/api/dev-tools/gql-lock/bulk-test`
- Auth: none declared

Creates multiple test locks with realistic data for testing dashboard functionality

## Request body

- object
  - `count` number
  - `hosts` string[]
  - `lockTtlSec` number

## Response `200`

Successfully created test locks

- object
  - `data` BulkTestResponse, required
    - `success` boolean, required
    - `created` number, required
    - `locks` object[], required
      - `key` string, required
      - `host` string, required
      - `id` string, required
      - `reason` string, required
      - `ttl` number, required

## Other responses

- `400`: Invalid input parameters
- `500`: Internal server error

---

[API](https://skmtc.dev/theverge/apis/the-verge-api-documentation.md) - [All operations](https://skmtc.dev/theverge/apis/the-verge-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/theverge/apis/the-verge-api-documentation/revisions/f44a9b8ebfc3?raw)
