---
title: "Create Virtual user from Playwright sources"
method: POST
path: "/design/imports/playwright/{projectId}"
tags: ["Design - Virtual Users - Imports"]
---

# Create Virtual user from Playwright sources

`POST /design/imports/playwright/{projectId}`

## Request

- Base URL: `https://api.octoperf.com`
- URL: `https://api.octoperf.com/design/imports/playwright/{projectId}`
- Auth: none declared

## Path parameters

- `projectId` string, required

## Query parameters

- `name` string
- `files` string[]

## Response `200`

OK

- VirtualUser
  - `id` string
  - `userId` string
  - `projectId` string
  - `name` string
  - `description` string
  - `children` Action[], nullable
    - `enabled` boolean
    - `children` Action[]
    - `id` string
  - `created` string, date-time
  - `lastModified` string, date-time
  - `type` 'JMETER' | 'WEB_DRIVER' | 'FRAGMENTS' | 'PLAYWRIGHT' | 'K6'
  - `tags` string[], nullable

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `429`: Too Many Requests

## Changes

- **2026-11-03** `637a8f8ce8cf`: 1 info
  - api operation id `q_5` removed and replaced with `M_3`
- **2026-10-30** `fc0ab021d8d3`: 1 info
  - api operation id `o_2` removed and replaced with `q_5`
- **2026-10-29** `6fb7a9d5eb1c`: 1 info
  - api operation id `H_4` removed and replaced with `o_2`
- **2026-10-28** `6fc0f4ece308`: 1 info
  - api operation id `i_4` removed and replaced with `H_4`
- **2026-10-27** `d04c0ffc592f`: 1 info
  - api operation id `Q_4` removed and replaced with `i_4`

[Operation history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/design/imports/playwright/:projectId/post.md)

---

[API](https://skmtc.dev/octoperf/apis/octoperf-api.md) - [All operations](https://skmtc.dev/octoperf/apis/octoperf-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoperf/apis/octoperf-api/revisions/637a8f8ce8cf?raw)
