2,000+ Test Scenarios
Not marketing claims. Real tests. Running on every commit.
Every feature in Trident was built with real-world e-commerce scenarios in mind. Flash sales, Black Friday traffic, backend failures — we test for what actually breaks production.
Why This Matters for Your Team
Confidence before deployment. Every caching behavior, every edge case, every failure scenario — tested automatically. Your CI/CD pipeline catches issues before they reach production.
Sleep well on Black Friday. When traffic spikes hit, you know your cache will perform. Because you've already tested those exact scenarios — automatically, on every commit.
Our test suite runs on every commit. No feature ships without passing all 2,000+ scenarios. Average CI run: under 5 minutes.
Built for Operations
Tests that matter when you're on-call
Zero-Downtime Deploys
13 hot reload tests
Config changes apply instantly. No restart required. No dropped connections.
Cache Persistence
15 persistence tests
Cache survives restarts. Snapshots verified. Recovery tested.
Dynamic Backends
15 DNS discovery tests
Backend IPs change? Trident adapts. SRV records supported.
Prometheus Ready
16 observability tests
Metrics endpoint tested. SSE events for real-time debugging.
CLI & Admin API
38 admin tests
Every CLI command tested. JSON responses validated.
Graceful Degradation
13 failure tests
Backend down? Serve stale. Overloaded? Queue requests. Never crash.
Test Categories
Organized by business impact. Critical tests protect revenue.
E-commerce Scenarios
Real-world e-commerce traffic patterns
flash_sale_thundering_herdblack_friday_traffic_spikeinventory_update_propagationprice_update_under_loadcart_checkout_bypasshigh_concurrency_failovertag_purge_under_loadsession_handling+3 moreSecurity
Protection against attacks and vulnerabilities
cl_te_smugglingte_cl_basiccrlf_injectionpath_traversal_preventionencoded_path_traversalheader_size_limituri_length_exceeds_limitmalformed_transfer_encoding+4 moreBackend Protection
Protect your origin from overload
queue_timeout_serve_stalerequest_coalescing_interactionper_backend_isolationstale_fallback_cold_cachereturn_503_overflowwaiting_page_overflowprotection_stats_apiqueue_length_tracking+2 moreCache Tags
Precision invalidation for e-commerce
magento_tagsproduct_tag_purgecatalog_tag_purges_allshared_tag_purges_multiplemulti_tag_purge_anymulti_tag_purge_allwildcard_tag_purgeregex_tag_purge+2 moreLoad Balancing & Failover
High availability and resilience
round_robin_distributionbackend_failoverbackend_recoveryall_backends_downgrace_mode_serves_stalepartial_backend_failurebackend_flappinghealth_check_detection+1 moreStress & Performance
Tested under extreme load
high_concurrency_cacheconcurrent_cache_writesinvalidation_under_loadburst_trafficgraceful_degradationthundering_herdrapid_requestsmany_unique_urls+1 moreGrace & Stale Serving
Zero-downtime cache behavior
stale_if_error_connection_failuregrace_serves_stale_when_downstale_while_revalidatesoft_purge_returns_hit_stalegrace_concurrent_requestsuncached_not_served_stalestale_if_error_recoveryHTTP/2 & Protocol
Modern protocol support
http2_alpn_negotiationhttp2_multiplexinghttp2_concurrent_streamshttp11_fallbackconditional_requestsetag_storedlast_modified_storedStatus Code Compliance
RFC-compliant caching behavior
status_200_cacheablestatus_301_cacheable_by_defaultstatus_302_not_cacheable_without_ccstatus_404_negative_cachingstatus_410_cacheablestatus_500_not_cacheableAdmin API & CLI
Operations and monitoring
stats_endpoint_returns_jsonmetrics_endpoint_prometheuscache_clear_endpointpurge_by_urlpurge_by_tagcli_admin_statussse_sends_eventsBuilt for E-commerce Reality
Flash Sale Launch
PASStest_flash_sale_thundering_herd100 concurrent users hit the same product page. Request coalescing ensures backend gets 1 request, all 100 users get served.
Black Friday Traffic
PASStest_black_friday_traffic_spikeSimulates 10x normal traffic. Tests cache efficiency, connection pooling, and graceful degradation under extreme load.
Price Update
PASStest_price_update_under_loadAdmin updates price while 50 users browse. Cache tag purge propagates instantly without dropping requests.
Backend Failure
PASStest_grace_serves_stale_when_downBackend goes down during peak traffic. Grace mode serves stale content seamlessly — users never see errors.
Security-First Testing
45 security tests covering OWASP vulnerabilities and HTTP attack vectors
Request Smuggling
cl_te_basic,te_cl_basic,multiple_content_lengthInjection Prevention
crlf_injection,header_size_limit,host_header_validationPath Traversal
path_traversal_prevention,encoded_path_traversal,deep_path_traversalProtocol Attacks
http09_downgrade,malformed_transfer_encoding,xff_spoofingFor Technical Decision Makers
Reduce risk. Pass audits. Sleep better.
Standards Compliance
- RFC 7234 (HTTP Caching) — 25 status code tests
- RFC 9110 (HTTP Semantics) — conditional request handling
- RFC 7540 (HTTP/2) — 8 protocol tests
- OWASP Top 10 — 45 security vulnerability tests
Risk Mitigation
- Cache poisoning prevention — tested
- Request smuggling attacks — 19 test vectors
- Backend overload protection — queue + stale serving
- Graceful degradation under failure — verified
Operational Confidence
- Every release tested against 2,000+ scenarios
- No manual QA required — fully automated
- Regression tests catch breaking changes
- Performance benchmarks track degradation
Incident Prevention
- Flash sale scenarios — tested before you need them
- Backend failure handling — grace mode verified
- Config validation — errors caught before deploy
- Hot reload safety — no dropped connections
Performance Benchmarks
Beyond functional tests, we run performance benchmarks comparing Trident vs Varnish under realistic e-commerce workloads.
View Benchmark ResultsTrust What's Tested
2,000+ tests. Every commit. Every deployment.
Your e-commerce traffic deserves reliability you can verify.