How to Evaluate a Chatbot: Conversation Test Cases, Metrics, and Review Templates
chatbot testingLLM evaluationconversation designAI quality assurancechatbot development

How to Evaluate a Chatbot: Conversation Test Cases, Metrics, and Review Templates

QQBot Editorial
2026-11-27
8 min read

A practical chatbot testing checklist with reusable test cases, scoring criteria, failure categories, and review steps for safer, more consistent answers.

Evaluating a chatbot requires more than checking whether it can produce fluent replies. This guide provides a reusable set of conversation test cases, scoring criteria, failure categories, and review steps for checking whether a chatbot is useful, safe, consistent, and ready for real users.

Overview

A chatbot can appear impressive in a short demonstration while failing on ordinary questions, ambiguous requests, missing information, or unsafe instructions. A dependable evaluation process therefore tests the complete conversation experience: what the assistant understands, how it uses context, whether its answers are accurate, and what happens when it cannot help.

The most useful approach is to build a small, representative test set and run it again whenever you change the model, system prompt, retrieval settings, tools, knowledge base, or handoff workflow. This creates a practical regression check for chatbot development rather than relying on occasional anecdotal reviews.

Assess each test case against the same dimensions:

  • Task success: Did the chatbot help the user reach the intended outcome?
  • Accuracy: Was the information correct and supported by an appropriate source?
  • Relevance: Did the response address the request without unnecessary material?
  • Conversation quality: Was the answer clear, appropriately detailed, and easy to act on?
  • Safety and privacy: Did the assistant avoid revealing restricted information or taking an unsafe action?
  • Consistency: Does the chatbot behave similarly across repeated runs and related prompts?
  • Recovery: Can it ask a useful clarification question or provide a suitable fallback?

Use a simple three-point score for each dimension: 0 for a failure, 1 for a partial result, and 2 for a satisfactory result. A numerical score is not a substitute for judgement, but it makes changes easier to compare. Record the response itself, not just the score, because a low score needs evidence and a high score may still conceal a serious risk.

Checklist by scenario

Customer support chatbot

Support evaluations should reflect the questions customers actually ask, including incomplete and frustrated requests. Include test cases for:

  • A common question with a clear answer in the knowledge base.
  • A question requiring two or more pieces of information.
  • An ambiguous request where the assistant should ask for clarification.
  • A request about an unsupported product, region, account type, or process.
  • A customer who changes the subject or corrects an earlier detail.
  • A complaint that requires empathy without making unsupported promises.
  • A request that should be transferred to a human agent.
  • A question containing outdated terminology or a likely spelling error.

Check whether the response gives the correct next step, distinguishes known information from uncertainty, and preserves relevant context during escalation. For a retrieval-augmented chatbot, verify that citations or source references support the claims they accompany. See the RAG retrieval tuning and citation checks guide for a separate review of retrieval behaviour.

Sales or product assistant

Sales assistants need tests that separate useful guidance from overconfident persuasion. Test whether the chatbot can:

  • Identify the user's stated requirements before suggesting an option.
  • Compare products or plans using approved, current information.
  • State when a requested feature or integration is not supported.
  • Handle budget, timeline, compatibility, and technical constraints.
  • Avoid inventing availability, guarantees, discounts, or implementation details.
  • Offer a clear next step without pressuring the user.

Include adversarial wording such as “just tell me it will work” or “promise this is compatible.” A good result is not necessarily a positive answer; it is an accurate answer that explains conditions and uncertainty clearly.

Internal knowledge assistant

For an internal assistant, test access boundaries as carefully as answer quality. Create cases involving:

  • A document the user is allowed to access.
  • A document the user should not be able to retrieve.
  • Conflicting versions of a policy or procedure.
  • A question about an owner, approval step, or effective date.
  • A request to summarise a long document while preserving important exceptions.
  • A question whose answer is absent from the connected sources.

The assistant should not treat a plausible completion as evidence. It should identify gaps, point to the relevant source where appropriate, and direct the user to an owner or formal process when the answer cannot be established.

Voice or multilingual chatbot

Voice and multilingual systems require additional tests beyond text accuracy. Try background noise, interruptions, speech recognition errors, numbers, names, dates, accents, and requests that require confirmation. For different languages and locales, test terminology, formality, date formats, currency formats, fallback language, and escalation behaviour. A response can be linguistically fluent while still using the wrong regional meaning or an unsuitable level of formality. The multilingual chatbot localisation guide covers terminology and locale testing in more detail.

Reusable chatbot test-case template

Store each test case in a spreadsheet, issue tracker, or evaluation tool using consistent fields. The following template is sufficient for a first test suite:

  • Test ID: A stable identifier such as SUP-004 or SEC-002.
  • Scenario: The user goal and business context.
  • Risk level: Low, medium, or high based on the consequence of failure.
  • Conversation: The exact user messages, including follow-up turns.
  • Expected behaviour: The required facts, action, clarification, refusal, or handoff.
  • Acceptable variation: Wording or format that may differ without affecting the result.
  • Observed response: The complete output and any tool or retrieval results.
  • Scores: Task success, accuracy, relevance, safety, consistency, and recovery.
  • Failure category: For example, hallucination, omission, privacy, retrieval, tone, or handoff.
  • Action owner: The person responsible for fixing or reviewing the issue.
  • Run information: Model or application version, prompt version, date, and test environment.

Write expected behaviour before running the test. If reviewers decide what counts as correct only after seeing the answer, they may unintentionally reward persuasive wording rather than useful behaviour.

What to double-check

Accuracy and grounding

Check individual claims, not only the overall impression. Mark whether a statement is supported by an approved source, inferred from user-provided information, or unsupported. Pay particular attention to names, dates, quantities, eligibility rules, configuration steps, and negative statements such as “this is not possible.” For a knowledge-based assistant, test stale documents and conflicting sources as well as clean examples.

Multi-turn context

Many failures appear after the first turn. Ask a follow-up that depends on an earlier detail, correct the assistant, change one requirement, and return to the original topic later. Confirm that the chatbot uses the right context without carrying irrelevant or sensitive information into a new task.

Refusals, uncertainty, and handoff

A safe refusal should explain the limitation briefly and offer a useful alternative where possible. Test requests for confidential data, unsupported actions, policy exceptions, and high-impact decisions. Also test whether a human handoff includes the conversation summary, user goal, relevant identifiers, and unresolved question. Review the human handoff guide when designing this part of the workflow.

Security and privacy

Include direct and indirect attempts to override instructions, extract hidden prompts, expose personal information, or misuse connected tools. Check logs, retrieved passages, tool arguments, and final responses, because a chatbot may avoid displaying sensitive information while still sending it to an external component. Use the AI chatbot security testing checklist as a companion review.

Consistency and latency

Repeat important test cases rather than assuming one successful response represents stable behaviour. Record meaningful differences in answer, refusal, source selection, or action. If response time affects usability, measure it by scenario and note whether delays come from retrieval, tools, model generation, or the interface. Set practical thresholds for your use case instead of treating speed as an isolated quality score.

Common mistakes

  • Testing only happy paths: Add incomplete, contradictory, ambiguous, and adversarial requests.
  • Using vague expectations: Replace “give a good answer” with observable requirements such as “ask for the order number before checking status.”
  • Scoring style above substance: A polished answer that contains an unsupported claim is still a failure.
  • Changing several components at once: Record prompt, model, retrieval, tool, and knowledge-base versions so you can identify the likely cause.
  • Ignoring the fallback path: Test no-result retrieval, tool errors, timeouts, unclear speech, and human escalation.
  • Evaluating only aggregate scores: Separate high-risk failures from minor wording issues. One privacy failure should not disappear inside an average.
  • Letting the test set become stale: Add real failure examples and remove cases only when their purpose has been replaced, not simply because they are inconvenient.

When to revisit

Run the core test set before releasing a new chatbot and after any change that could affect behaviour. This includes a model or framework update, a system-prompt revision, a new tool, retrieval or embedding changes, a knowledge-base refresh, a new language, a redesigned handoff flow, or a change to authentication and permissions.

Also schedule reviews before seasonal planning cycles and after meaningful changes in user questions, products, policies, or support processes. A quarterly review can be a useful starting point for a stable assistant, but incident-driven reviews should happen sooner when users report a harmful, misleading, or repeated failure.

For each review, take these actions:

  1. Freeze the current test-set version and record the application configuration.
  2. Run critical and recently failing cases first.
  3. Compare results with the previous run, including response text and source usage.
  4. Classify failures by impact and likely cause.
  5. Fix the smallest appropriate layer: content, retrieval, prompt, tool permissions, interface, or escalation flow.
  6. Rerun failed cases and a sample of unaffected cases to detect regressions.
  7. Publish the new test-set version and document unresolved risks.

A chatbot evaluation process is most valuable when it becomes part of normal deployment rather than a one-time launch exercise. Keep the test cases close to the issues users care about, preserve evidence for every score, and revisit the suite whenever the chatbot's inputs, tools, or operating context change.

Related Topics

#chatbot testing#LLM evaluation#conversation design#AI quality assurance#chatbot development
Q

QBot Editorial

Editorial team

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.