Getting Started with Litmus Lab

Litmus Lab is an AI testing platform that lets you define test suites, run them against live endpoints, and evaluate responses — including with LLM-based qualitative assertions.

Core concepts

ConceptWhat it is
ProjectA workspace containing tests, environments, contexts, and collections
Test suiteA named set of steps — API Workflow (HTTP requests) or UI Workflow (browser actions) — with checks
IntentThe overarching goal of a suite's Flow, set on the Objective tab and evaluated holistically after each run
Dataset rowOne "test case" — a set of variables run through the suite
ScenarioA persona or situation (e.g. a specific user) applied during evaluation
ContextA schema defining what scenario data looks like
CollectionA batch run of multiple test suites against an environment
EnvironmentA named set of variables (e.g. HOSTNAME) for a target environment

Your first test

1. Create a project

From the dashboard, click New Project. Give it a name that reflects the API or product you're testing.

2. Add an environment

In your project, go to Environments and create one. At minimum, add a HOSTNAME variable pointing to your API (e.g. https://api.example.com).

3. Create a test suite

Click New Test Suite. Give it a name and choose a suite type — API Workflow or UI Workflow. This can't be changed after creation, since the two differ fundamentally in what a step is.

On the Objective tab, optionally add a description and an Intent — the goal a real user should be able to accomplish, e.g. "A first-time visitor should be able to understand what the product does and request early access without confusion, missing information, or dead ends." See Objective for how this drives evaluation.

4. Build the flow

Switch to the Flow tab and add steps:

  • Set the URL using {{HOSTNAME}}/your/endpoint
  • Choose the HTTP method and add a body if needed
  • Add Checks — start with status_code: 200
  • Use Extract to capture values from responses for use in later steps

5. Add test cases

In the Test Cases tab, add dataset rows. Each row is one run of the entire flow, with its own variable values.

6. Run it

Click Run to execute the suite against your chosen environment. Results appear in the Results panel — each run's pass/fail comes from its Intent Evaluation, not a raw percentage of checks passing.

Next steps