Overview
Have the Comet browser assistant propose test payloads for an API you own, run them in the browser version of your API client against a test environment, and write a short report of requests, responses and failures.
Problem or Objective
- Which agents write or run tests against an application?
- Which agents can operate a web browser for you?
- Which agents can draft a document section by section and save it in a reusable, structured format?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Postman
- Prerequisites
- Requires the Comet browser, an API client that runs in the browser, and a test or staging environment with test credentials; check your Perplexity plan for current assistant limits.
How It Works
Open your API's reference documentation and your API client's web app (for example Postman in the browser) in Comet, signed in to a workspace that points at a test or staging environment, never production. Ask the assistant to read the documentation for one endpoint and propose a table of test cases: valid input, missing fields, wrong types, boundary values and an unauthorised call, each with the status code you expect. Review the table, remove anything that would change shared data, and approve the list in the chat. Have the assistant enter each request in the client, send it, and copy the status code, a trimmed response body and the time taken into a results table, masking any token or key that appears. Finally ask it for a short report: what was tested, what passed, what failed and the exact request for each failure. Rerun every failure yourself before filing a bug.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Perplexity Comet.
- Connect the toolsConnect the tools this workflow relies on: Postman.
- Check the prerequisitesRequires the Comet browser, an API client that runs in the browser, and a test or staging environment with test credentials; check your Perplexity plan for current assistant limits.
- Gather your detailsCollect what the prompt asks for: Endpoint to test, Test environment name, How much of each response to keep.
- Run the starter promptPaste the starter prompt below into Perplexity Comet and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at perplexity.ai before you rely on it.
Practical Starter Prompt: Test one endpoint and report
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read the documentation for [Endpoint to test] on the open docs tab. Propose a table of test cases covering valid input, missing fields, wrong types, boundary values and one call without authentication, each with the expected status code. Wait for my approval of the table before sending anything. Then, in the API client tab pointed at [Test environment name], send each approved request and record the status code, the first [How much of each response to keep] characters of the response and the time taken. Mask any token or key. End with a report listing passes, failures and the exact request behind each failure.Approve the test table before any request is sent, and leave out cases that would change shared data unless you approve them one by one. Rerun every reported failure yourself in the client before filing it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Comet page describes a browser assistant to which everyday tasks can be delegated. It says nothing about API testing, and the API client is a separate product whose behaviour was not verified here, so check each recorded result against the client's own response view.
Limitations and Considerations
Point the client at a test environment with test credentials; the assistant reads everything on the open pages, including keys and tokens in headers, so keep production secrets out of the workspace you use. Write requests (create, update, delete) can change data even in staging, so approve them case by case. Check whether your API client's plan limits how many requests or collection runs you can make. The report is evidence of what was sent and received, not proof of coverage. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Comet Browser: a Personal AI Assistant (opens in a new tab)
Project documentation · perplexity.ai · Undated · Source checked 25 Nov 2026, 11:58 UTC
What this source supports
- Discover everything that can be delegated, from wrangling inboxes to ordering groceries, staying on top of finances to planning vacations.
- Available for Mac, Windows, iOS, and Android