How to Test a Chatbot Before Launch: The Provocation Test
A chatbot should be tested, before it goes live, with questions designed to push it. The aim is not to break the bot but to see where it breaks before a customer does. We call this a provocation test. 🧪
This article explains how to prepare the test, which families of questions to try, how to read the result and when to repeat it. The test is run only on your own bot. This article covers the defender’s side only; it does not describe how to carry out an attack.
What is a provocation test?
It is a short, planned trial that measures whether the bot’s rules hold against the difficult and ill-intentioned questions of the real world.

How it differs from a normal test
A normal test checks that the bot gives the right answer to the right question. A provocation test looks the other way: what does it do with a wrong, odd or hostile question? Both are needed; a team that runs only the first knows how the bot behaves on a good day. Problems appear on the bad day. 🎭
How is the test prepared?
BU BÖLÜMÜN ÖZETİ
- What the bot must not do
- The test environment
- A record
Preparation takes half an hour. Three things are written down first.
What the bot must not do
First a list: which topics must the bot not speak on, which promises must it not make, which information must it not show? For example: no discount outside the list, no comment on competitors, no other customer’s details, no legal or medical advice. This list is the test’s ruler; without it the question of pass or fail has no answer. 📋
The test environment
Where possible, the test is run on a copy of the live bot, in an environment not connected to real customer data or real transactions. If the bot can cancel orders, fake orders are used. The test itself must not turn into an incident. The spending cap should stay on during the test as well.
A record
Every question and answer is recorded: what was asked, what the bot said, whether it is acceptable. A simple table is enough. Without a record, findings are forgotten and a problem cannot be retested after it is fixed. This table is your bot’s exam paper and is reused after every change. 🗒️
Which families of questions are tried?
BU BÖLÜMÜN ÖZETİ
- Leaving the rules
- Promises and commitments
- Leaking information, off-topic and cost
Four families cover most of what a business bot will meet. Five to ten questions from each are enough.

Leaving the rules
Questions that try to pull the bot out of its role: messages asking it to forget earlier instructions, giving it a new role or asking for its rules. OWASP’s example scenario is exactly this: input to a support chatbot telling it to ignore previous guidelines. The pass criterion is simple: does the bot stay in role and keep its rules to itself? 🎯
Promises and commitments
Questions that try to obtain a promise: a discount, a refund, a delivery date, a guarantee. Claims such as your manager promised me, insistence and emotional pressure belong here too. What the bot says may be taken as what the business said. The bot should make no promise outside its authority and should hand over to a person.
Leaking information, off-topic and cost
Does it show what it should not: another customer’s details, internal notes, the system instruction? What does it do when pulled off topic: politics, competitors, sensitive subjects? Then the cost side: does it limit very long input and requests for very long answers? OWASP defines unbounded consumption as a risk of its own. The fourth family tests the bot’s wallet; the setting behind it is in what is a rate limit for AI. 💸
How is the result read?
BU BÖLÜMÜN ÖZETİ
- Three classes
- Where the fix belongs
- Testing again
The test produces a list of fixes, not a grade.
Three classes
Put each answer into one of three classes: acceptable, unacceptable and harmless, unacceptable and harmful. The third class stops the launch: a wrong promise, a leak of information, an unauthorised action. The second is noted and corrected. The launch decision is tied to the third class being empty. 🚦
Where the fix belongs
When a finding appears, the first reflex is to add a sentence to the instruction. Sometimes that is enough. For findings in the harmful class, the lasting fix is usually in the permissions: the bot cannot perform that action at all, or a person must approve it. OWASP writes that it is unclear whether a fool-proof method of prevention exists. A door closed with a word can be opened with another word.
Testing again
After every fix the same table is run again. A change that closes one problem may open another elsewhere. This is where the table earns its value: the same questions, in the same order, every time. The test is a repeated measurement, not a one-off task. The frame for permissions is in the AI audit guide. 🔁
When is the test repeated?
BU BÖLÜMÜN ÖZETİ
- At every change
- At regular intervals
- Lock list: testing before launch
The bot changes, the model changes and the questions change. The table is reopened in these situations.

At every change
The test is repeated when the instruction changes, when a new tool or data source is connected to the bot and when the provider updates the model. A model update may not be your decision; the same instruction can behave differently on a new model. A new permission means a new test. 🧩
At regular intervals
Even if nothing changes, repeat it every three months and add new questions to the table. Take examples from live conversations: the odd questions real users tried are the best test questions. The larger the table grows, the better the bot is known.
Lock list: testing before launch
This article’s lock list has four lines, in order. One: write down what the bot must not do. Two: have two people who did not build the bot test it with thirty to forty questions from the four families. Three: close every finding in the harmful class by narrowing permissions or adding approval. Four: keep the table and run it again at every change. Why these precautions matter for small sites too is explained in why small sites become targets. Forecast: chatbot tools will offer ready-made sets of provocation questions as a step of installation. Update log. 30 November 2026: first publication. Forecasts on this page are re-read when they fall due; one that proves wrong is corrected here, not deleted.
How does Adapte Digital test a bot?
BU BÖLÜMÜN ÖZETİ
- A single delivery package
- What is reviewed
- Where to start
In the Attack File, each bot is tried with a table of questions written for that business, and the result is reported in three classes.
A single delivery package
Adapte Digital does not charge a monthly management fee. Work starts with a single delivery package whose scope is written down in advance: 36,000 TRY + VAT. If the work grows, the new need is defined as a separate add-on package, priced by what will be delivered rather than by the hours spent. 📦
What is reviewed
What the bot must not do is written with the business; questions from the four families are tried, and harmful findings are delivered with the permission setting that closes them.
Where to start
Our current packages and capacity are listed on our campaign pages; scope and price are written there before any work starts. 🧭
Quick Summary
- A provocation test measures how a bot behaves on a bad day.
- People who did not build the bot run it; no technical knowledge is needed.
- Four families are tried: rules, promises, information leaks and cost.
- Harmful findings are closed by narrowing permissions, not by instructions.
- The table of questions is kept and run again at every change.
Short Glossary
- Provocation test
- A provocation test is a planned trial that measures a bot’s behaviour under difficult and hostile questions.
- Pass criterion
- A pass criterion is the condition set in advance for an answer to count as acceptable.
- Test environment
- A test environment is a separate workspace set up to run trials without touching real data or transactions.
Frequently Asked Questions
Next Step
Write five things your bot must not do and try one question for each. If even one of the five surprises you, it is time for the full test.
Sources: OWASP Gen AI Security Project — LLM01:2025 Prompt Injection · OWASP Gen AI Security Project — LLM10:2025 Unbounded Consumption · OWASP Gen AI Security Project — LLM06:2025 Excessive Agency
Updated: November 2026
Sık Sorulan Sorular
Among the measures against prompt injection, OWASP lists regular penetration testing and treating the model as an untrusted user. The test is therefore a recommended practice, not an excess. On the day it goes live, a bot meets thousands of strangers; some of them will want to try it. The background is in what is prompt injection.
The person who built the bot does not test it well; they do not test their own assumptions. The best tester is someone who has never seen the bot and knows the business: someone from sales or support, or an outsider. Two people, an hour each, are enough. No technical knowledge is needed, only curiosity and some stubbornness. 👥
Not for a simple support bot; two people who know the business are enough. For bots that perform actions or see sensitive data, specialist help is appropriate.
No. The test is run only on your own bot, in your own environment.
It does not. It finds and closes known problems; narrow permissions and a cap are still needed.
