info: name: Register - Duplicate Email (409) type: http seq: 1 http: method: POST url: '{{base_url}}/api/auth/register' auth: inherit body: type: json data: |- { "email": "testuser@tests.bookhoard.internal", "username": "testuser", "password": "Wh4t3v3r@Pass!" } settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5 runtime: scripts: - type: tests code: |- test("status is 409", function() { expect(res.status).to.eql(409); }); docs: content: |- # Register - Duplicate Email (409) Registering with an email that already exists must fail with 409 and create nothing. Negative scenario — hand-authored (the generated set covers only happy paths). Repeats safely. type: text/markdown