HTTP Response Panel
Overview
After sending an HTTP request in Martini's HTTP Client, the Response panel displays the server's response and any Martini-generated output, organized into tabs for Body, Headers, Cookies, and Test Results. This page explains what each tab shows, how response body content is rendered, and how to work with the controls available in the Body tab.
What You Will Learn
- How to send a request and view the response
- What the Response panel displays and where each piece of data appears
- How body content is rendered based on type and size
- How to use the Body tab controls
- How to read and filter test results
When To Use This
Use this when you need to:
- Check whether a request succeeded or understand why it failed
- Inspect the status code, headers, or cookies returned by the server
- View, format, or download a response body
- Review test script pass/fail results after sending a request
Prerequisites
- Martini Designer installed and running
- An HTTP request created, configured, and open in the HTTP Request Editor — see the HTTP Request Editor overview for all configuration options
Sending a Request and Viewing the Response
The Response panel appears below the request configuration area in the HTTP Request Editor and updates automatically each time you send a request.
To send a request and view the response:
- Click the Send button next to the URL field.
Expected result: The Response panel populates with the server's response.
What the Response Panel Shows
The Response panel displays data returned by the server alongside any Martini-generated output, all organized into tabs.
| Data | Where to Find It | Description |
|---|---|---|
| Status Code | Top of the Response panel | Indicates success (e.g., 200 OK) or failure (e.g., 404 Not Found) |
| Request Duration | Top of the Response panel | Total time taken to complete the request. Hover to see a detailed timing breakdown. |
| Response Size | Top of the Response panel | Size of the response payload. Hover to see a detailed size breakdown. |
| Body | Body tab | The response payload, rendered inline or available for download |
| Headers | Headers tab | All headers returned by the server |
| Cookies | Cookies tab | Cookies set by the server, if any were returned |
| Test Results | Test Results tab | Pass/fail/skipped results for tests defined in the Tests tab |
Response Body Tab
The Body tab displays the response payload and adapts its rendering based on the content type and size. This section covers how different types and sizes of response content are handled.
Inline Rendering Rules for Response Body Content
Not all response bodies are rendered the same way. Martini applies different rendering rules depending on the content type and payload size:
- Text responses (JSON, XML, HTML, plain text, etc.) under 3 MB are displayed inline with syntax highlighting. Content exceeding 3 MB is not rendered inline; instead, it is saved to a file available for download.
- Binary image responses (PNG, JPEG, or GIF) under 3 MB are rendered inline as a preview. Images above 3 MB, and all other binary formats, must be downloaded.
Response Body Display Options
The Body tab provides controls to adjust how the response content is displayed and processed:
- Response Format dropdown — Overrides the syntax highlighting format applied to the response body. Use this when the auto-detected format is incorrect.
- Prettify checkbox — Formats the response body for easier reading (for example, indenting minified JSON).
- Preview checkbox — Renders the response body as it would appear in a browser (useful for HTML responses).
- Save to File button — Downloads the response body to a local file. Use this for large responses that exceed the inline rendering limit, or to save any response for later use.
Response Headers Tab
The Headers tab lists all HTTP headers returned by the server in the response.
Use this tab to inspect metadata such as Content-Type, Cache-Control, authentication challenges, or any custom headers your API returns.
Response Cookies Tab
The Cookies tab displays any cookies set by the server in the response. If no cookies were returned, the tab is empty.
From the Cookies tab, you can also open the Cookie Manager by clicking the Cookie Manager button to view, edit, or delete stored cookies across all your requests.
Test Results Tab
If the request has test scripts configured in the Tests tab, the Response panel includes a Test Results tab after the request completes. This tab shows the total number of tests run and lists each test with its result.
Use the filter dropdown to narrow the results:
- All (default) — Shows every test result
- Passed — Shows only passing tests
- Failed — Shows only failing tests
- Skipped — Shows only tests that were skipped
Helpful Resources
- HTTP Request Editor — Overview of all request configuration tabs
- HTTP Request Tests — How to write test scripts that run automatically after each response
- Cookie Manager — View and manage all stored cookies across requests
- Creating Requests — How to create and save HTTP requests in Martini's HTTP Client
- Community Q&A: Martini Community Have a question? Post or search it here.