Skip to content

Conversation

iltertaha
Copy link

What does this PR do?

Adds a new Testcontainers.Toxiproxy module that enables integration testing with Shopify's Toxiproxy.
It provides a ToxiproxyContainer and a ToxiproxyBuilder to simulate various network conditions (latency, timeout, bandwidth limit, etc.) within containerized test environments.

This module uses the Toxiproxy.Net client library to interact with the Toxiproxy HTTP API.

Included tests cover basic proxy creation, toxic addition, and runtime behavior of network faults like latency and timeouts.

Why is it important?

There is currently no native Toxiproxy module in testcontainers-dotnet.
Toxiproxy is a powerful tool for simulating real-world network issues such as slow connections, disconnections, or dropped packets.

How to test this PR.

dotnet test tests/Testcontainers.Toxiproxy.Tests

Copy link

netlify bot commented May 25, 2025

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit d5e4304
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-dotnet/deploys/68335ea58d3b000008af2149
😎 Deploy Preview https://deploy-preview-1454--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@HofmeisterAn HofmeisterAn added module An official Testcontainers module enhancement New feature or request labels Sep 21, 2025
@HofmeisterAn HofmeisterAn force-pushed the develop branch 3 times, most recently from 4900ecd to 8fa5f1b Compare October 3, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module An official Testcontainers module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants