New in 2.4: Test runs you can trust See what's new →

Injeksi kegagalan

Injeksi kegagalan untuk menguji retry, timeout, dan ketahanan: kegagalan acak, gagal N kali lalu berhasil secara deterministik, response lambat atau macet, koneksi terputus, body terpotong, dan header sangat besar. Semua penantian berakhir lebih awal jika klien memutus koneksi.

Contoh request

Drop the connection without sending any response. Referensi lengkap dan tombol Send (dalam bahasa Inggris).

cURL
curl -X GET "https://api.testingapis.com/api/chaos/abort"
Jalankan di Studio
Response ·
The server drops the TCP connection immediately. Clients see a network error (for example curl exit code 56); there is no HTTP response.