Test Proxy
Apps & Automationtest-proxyTest Proxy is an Agent Skill for apps & automation published in the Azure/azure-sdk-for-java repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Push test-proxy recordings/assets using the test-proxy CLI (e.g., test-proxy push -a assets.json). Use when publishing recordings.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Azure/azure-sdk-for-java/blob/HEAD/sdk/ai/.workflow_docs/test-proxy/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/test-proxy, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Test Proxy Recordings
Use this skill to publish recordings to the test-proxy assets repo.
Command
test-proxy push -a assets.json
Steps
- Check if
test-proxyis installed by runningtest-proxy --version.- If the command is not found, install it (see Installation below).
- Confirm the assets file path (default:
assets.jsonin the current directory). - If the file location is unclear, search for it or ask the user.
- Run
test-proxy push -a <assets-file>. - Report success or any errors.
Installation
If test-proxy is missing, install it as a .NET global tool.
Prerequisites
.NET 8.0 (LTS) or later must be installed. Verify with dotnet --version.
If missing, ask the user to install the .NET SDK from https://dotnet.microsoft.com/download.
Install command
dotnet tool update azure.sdk.tools.testproxy --global --prerelease --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --ignore-failed-sources
After installation, verify with test-proxy --version.