Response Panel
The right column of the endpoint editor is the Response Panel. It describes everything the mock server sends back to the caller: the body, the status code, the delay, and the headers. Unlike the request side — where a body is optional — the response side always has at least one variant.
Layout from Top to Bottom
Reading the Response Panel from top to bottom, there are four horizontal strips stacked above the main editor area:
- •Variant tabs: one tab per response variant. Clicking a tab makes that variant the active one.
- •Status & Delay row: two side-by-side fields — the HTTP status code on the left and the artificial delay (in milliseconds) on the right. Both apply to the endpoint as a whole and not to a specific variant.
- •Sub-tab row: three sub-tabs — Body, Headers, Rules — that switch the editor area below between the three different facets of the currently-active variant.
- •Editor area: the content of the currently-selected sub-tab. For Body this is a CodeMirror editor, for Headers it is a key-value table, and for Rules it is the rule builder.
Adding and Removing Response Variants
The + button at the end of the response variant tab bar adds a new variant directly — without opening a body-type dropdown, unlike the request side. New response variants are created with the JSON body type by default; you can then change the body type from the Body type dropdown in the variant's editor header if you need a different one.
Each variant tab has a small X for deletion (hidden when only one variant remains, because the endpoint must always have at least one response). When the currently-active variant is deleted, Tigrister moves the selection to the nearest remaining variant so the editor below is never empty.
There is one automatic cleanup behaviour worth knowing about: if you delete the variant that was currently marked as the default, Tigrister promotes the first remaining variant to default so there is always exactly one default. See Response Variants & Default for why the default matters.
The Three Sub-Tabs
Each sub-tab inside the Response Panel is covered in detail in its own sub-section later in this chapter. Briefly:
- •Body: the actual response body for this variant, plus its content type and a Default checkbox. See Response Variants & Default.
- •Headers: the response headers — the auto-generated Content-Type row plus any custom headers. See Headers (Auto & Custom).
- •Rules: the conditions that decide when this variant is served. The default variant's Rules tab is informational only. See Rules — Conditional Responses.