toxiproxy

Toxiproxy is a controlled TCP proxy used during development, CI, or fault reproduction to inject latency, disconnects, bandwidth limits, or similar packet-fault patterns into real service calls; it routes application traffic through the proxy, applies toxics at the appropriate times, and reports which dependency paths fail gracefully and which collapse under stress.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "toxiproxy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-845fc4cca0a86bb90e40b2277112c0955e78eba11e2b24a5822e8dea41d32027. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/simulate-network-failures-in-integration-tests-with-toxiproxy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Toxiproxy is a controlled TCP proxy used during development, CI, or fault reproduction to inject latency, disconnects, bandwidth limits, or similar packet-fault patterns into real service calls; it routes application traffic through the proxy, applies toxics at the appropriate times, and reports which dependency paths fail gracefully and which collapse under stress.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Toxiproxy server plus a client library or HTTP API access from the test harness
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 Toxiproxy 在集成测试中模拟网络故障"
slug: "simulate-network-failures-in-integration-tests-with-toxiproxy"
version: "1.0.0"
displayName: "使用 Toxiproxy 在集成测试中模拟网络故障"
summary: "在开发、持续集成或重现故障时,当代理需要将延迟、断开连接、带宽限制或类似数据包的故障模式注入到真实的服"
license: "MIT"
description: "在开发、持续集成或重现故障时,当代理需要将延迟、断开连接、带宽限制或类似数据包的故障模式注入到真实的的服务调用中时,请使用 Toxiproxy。该代理通过受控的 TCP 代理路由应用程序流量,在合适的时机应用 toxics,并报告哪些依赖路径能够优雅地失败,而哪些路径在压力下会崩溃。"
github_stars: 11937
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Runbooks & Diagnostics"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 11937

使用 Toxiproxy 在集成测试中模拟网络故障

Use Toxiproxy when an agent needs to inject latency, disconnects, bandwidth limits, or packet-like failure modes into real service calls during development, CI, or incident reproduction. The agent routes app traffic through controlled TCP proxies, applies toxics at the right moment, and reports which dependency paths fail gracefully versus which ones crack under stress.

Prerequisites

Toxiproxy server plus a client library or HTTP API access from the test harness

Installation

Use the upstream install or setup path that matches your environment:

  • $ brew tap shopify/shopify
  • $ brew install toxiproxy
  • $ docker pull ghcr.io/shopify/toxiproxy
  • $ docker run --rm -it ghcr.io/shopify/toxiproxy

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供在集成测试中模拟网络故障的实用能力,解决开发和 CI 场景下的明确痛点
  • 支持多种故障模式(延迟、断连、带宽限制),有助于验证系统容错性
Trigger Precision92/100

Areas to improve

  • description内容截断 Reported severity: Minor

    frontmatter 中 summary 字段内容被截断,未完整表达功能

    Recommendation: 补全 summary 字段内容,确保完整描述 Skill 功能

Highlights

  • 触发描述清晰完整,明确指出了适用场景(开发、CI、故障重现)和具体能力范围
Structure and Standards68/100

Areas to improve

  • 缺少端到端示例和清晰步骤划分 Reported severity: Major

    文档缺少具体的 Phase/步骤划分和端到端使用示例,用户难以理解完整执行流程

    Recommendation: 补充详细的操作步骤和完整的使用示例,包括如何配置代理、应用 toxics 和验证结果

  • 文档结构不完整 Reported severity: Minor

    缺少 When to Use 章节和明确的出口条件说明

    Recommendation: 增加 When to Use 章节说明适用场景,并补充测试完成后的清理步骤

Highlights

  • frontmatter 元数据完整,包含版本、作者、许可证等必要信息
  • 提供了多种安装方式和官方文档链接
Execution Reliability75/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖主要异常情况(如安装失败、网络不通、权限问题等)的处理方案

    Recommendation: 补充常见异常的处理方法和故障排查指南

Highlights

  • 提供了多种官方安装方式(brew、docker)和客户端库链接,工具来源明确可靠
  • 引用了官方 GitHub 仓库和文档,确保信息准确性
Evidence Verifiability (mean of the first four)77/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 33
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Toxiproxy server plus a client library or HTTP API access from the test harness

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.