The rage click test idea really hits home, I have seen that exact bug in prod way too many times, nice thinking here, curious how people are wiring this into existing GitHub Actions flows.
Chaos Network Proxy
aragossaLeader
posted
2 min read
1 Comment
aragossa
•
Great question! Since it's just a REST API, you don't need a heavy plugin.
In GitHub Actions, we typically use a simple curl step to spin up the proxy and configure the 'Rage Click' rule dynamically.
Here is a simplified workflow:
- Start the Proxy & Export Credentials
- name: Start Chaos Proxy
run: |
# Call API to get a fresh instance
JSON=$(curl -X POST https://chaos-proxy.debuggo.app/api/v1/sessions \
-H "Authorization: Bearer ${{ secrets.DEBUGGO_KEY }}")
# Export PROXY_URL for the next steps
echo "HTTP_PROXY=$(echo $JSON | jq -r .proxy_url)" >> $GITHUB_ENV
- Configure "Rage Click" Rule (3s latency on Checkout)
name: Inject Network Chaos run:
curl -X PUT https://chaos-proxy.debuggo.app/api/v1/sessions/${{ env.SESSION_ID }}/rules
-H "Authorization: Bearer ${{ secrets.DEBUGGO_KEY }}"
-d '{ "rules": [{ "url_pattern": "*/checkout", "delay": 3000 }] }'
- Run Tests (Appium/Playwright/Cypress)
name: Run E2E Tests run: npm test
The tests run through the proxy, hit the 3s delay on checkout, and verify if the button gets disabled. Simple as that!"
Please log in to add a comment.
Please log in to comment on this post.
More Posts
chevron_left
More From aragossa
Related Jobs
- Network data & security Architec (CCNP Security / CCIE/CISSP)Atlantis IT group · Full time · Canada
- Software Engineer (L4) - Cloud Network EngineeringNetflix · Full time · Remote
- Data center network ArchitectInfinity Solutions · Full time · Canada