Tester Testarudo
Resources

API to practise on

The same REST API that powers Tester Testarudo, in a test environment. Learn API testing with real endpoints: call them from your browser, curl, Postman or Playwright.

Base URLhttps://api.staging.testertestarudo.com
🌐Base URL

All routes start with /v1.

🧾JSON

Responses are JSON. Errors come as {"detail": "…"}.

🔑Bearer token

Protected routes need Authorization: Bearer <token>.

🚦Fair use

Some endpoints are rate-limited: on a 429, wait a bit.

Your first request

Copy it into a terminal, or use the same call as a Playwright API test.

curl

curl -s "https://api.staging.testertestarudo.com/v1/courses?per_page=3"

Playwright

import { test, expect } from '@playwright/test'

test('el catálogo devuelve cursos', async ({ request }) => {
  const res = await request.get('https://api.staging.testertestarudo.com/v1/courses?per_page=3')
  expect(res.status()).toBe(200)

  const courses = await res.json()
  expect(Array.isArray(courses)).toBe(true)
  expect(courses[0]).toHaveProperty('slug')
})

test('un curso inexistente da 404', async ({ request }) => {
  const res = await request.get('https://api.staging.testertestarudo.com/v1/courses/no-existe')
  expect(res.status()).toBe(404)
  expect(await res.json()).toEqual({ detail: 'Course not found' })
})

Catalog

Published courses and learning paths. They are public: no token needed.

Content and events

Blog, workshops and events. Also public.

Authentication

Sign in with your Tester Testarudo account to get a token, then call protected endpoints with the header Authorization: Bearer <token>.

Ideas to practise

  • Check status codes and response times for every endpoint.
  • Validate the JSON schema: field names, types and required fields.
  • Write negative tests: unknown slugs (404), wrong credentials (401), missing token (403).
  • Combine filters: search + level + per_page on /v1/courses.
  • Chain requests: login → token → /v1/auth/me, and reuse the token in later calls.
  • Check that a list and its detail agree (same id, title and price).

Before you start

  • This is a test environment: data can change or be wiped without notice.
  • Do not send personal or sensitive data you would not want to lose.
  • The full Swagger lists every route, including internal ones that are not meant for practice and need special permissions.