← All case studies

They tested a chatbot like a checkout form

One prompt, one expected string. Then a customer asked it to ignore the system prompt. Then it invented a refund policy. Then it answered a medical question it should have refused.

Industry
Support chatbot
Team
QA moving into AI products
Product
Customer-support bot
Outcomes at a glance
11
personas, not one golden user
7
modes including jailbreak and bias
API
keepers can run in automation
Sandbox
break it here, not in front of customers

About this work

Classic dummy apps taught this team locators and forms. They do not teach non-determinism. A support bot that “usually” cites the help center is not a pass/fail checkbox. Hallucinations, prompt injection, persona drift, and biased refusals need a place where it is safe to break things — before you break them in front of customers.

The dummy app for this era is not another CRM demo. It is a chatbot that is supposed to misbehave on purpose.

Before and after

Before Chatbuddy

  • Golden-prompt spreadsheets expecting one exact answer.
  • Security and fairness treated as “we’ll try a jailbreak if we have time.”
  • No sandbox — practice meant poking the production bot.
  • Failures filed as “the AI being weird,” not as defects with a name.

With Chatbuddy

  • Personas across healthcare, finance, legal, e-commerce, and more.
  • Modes for hallucinations, jailbreaks, injection, bias, and fault injection.
  • HTTP API for the prompts they want to keep running.
  • A vocabulary: hallucination, injection, unfair refusal — filed like real bugs.

Pressure points

01

The same prompt does not yield the same answer

A golden string is a lie you tell a spreadsheet. The bot will drift. QA had no practice catching that on purpose.

02

Security was a leftover hour

Jailbreaks and injection were not in the regression pack. They showed up when a customer got creative.

03

Production is a terrible gym

You cannot practice “invent a refund policy” on live users. You need a bot that is meant to fail.

04

They still needed automation later

Manual practice first. Then an API so the prompts that always matter can run again.

How Chatbuddy was used

01

Pick a persona, not “the user”

A nurse, a shopper, a legal-adjacent ask — different failure modes, different refusals.

02

Switch the mode on purpose

Golden prompts first, then jailbreak, injection, bias, and fault injection.

03

Score the behavior like a defect

Did it refuse? Did it invent? Did it leak instructions? Write that down with a name.

04

Automate keepers through the API

The prompts that always matter go into automation. The rest stay exploratory.

How chatbot QA actually changed

When they pointed the same habits at the real bot, they were no longer surprised that answers vary. They had practiced filing those failures as defects instead of weather.

Chatbuddy is a gym, not a replacement for testing your product. You still decide what your bot is allowed to say.

What held

What this workflow delivered

01 — Practice

A sandbox that is supposed to break

Hallucinations, injection, jailbreaks, and unfair refusals without risking a customer transcript.

  • Golden prompts to start, harder modes when the team is ready
  • Industry personas that do not all look like a demo shopper
02 — Repeatability

Keepers on an HTTP API

The prompts that always matter can leave the playground and enter automation.

  • Manual first, scripted second
  • No requirement to treat every chat as a golden string

Stack

Practice on a bot that is meant to break

Free messages on sign-up, or bring your own API key.

Related

Next stories