Development
Стресс-тестер API-контрактов
Создает граничные тесты по OpenAPI 3.x и при необходимости отправляет их в реальный backend для поиска расхождений с контрактом.
json· JSON-результатОткрыть инструмент
Быстрый старт
Вызовите этот инструмент из своего кода на трёх языках.
cURL
curl -X POST 'https://api.elysiatools.com/ru/api/tools/api-contract-stress-tester' \
-H 'Content-Type: application/json' \
-d '{"openApiSpec":"openapi: 3.0.0\npaths:\n /users:\n post:\n requestBody:\n required: true\n content:\n application/json:\n schema:\n type: object\n required: [email, role]\n properties:\n email: { type: string, minLength: 5 }\n role: { type: string, enum: [admin, member] }\n age: { type: integer, minimum: 18 }\n responses:\n \"201\": { description: created }\n \"400\": { description: bad request }\n","baseUrl":"https://api.example.com","executeRequests":false,"authorizationHeader":"Bearer <token>","maxCasesPerField":3,"timeoutMs":8000}'