Yeni bir k6 yük testi nasıl çalıştırılır

LoadFocus ile yeni bir k6 yük testi çalıştırma

Yeni k6 test sayfasından kolayca k6 yük testi oluşturabilir ve çalıştırabilirsiniz.

k6 Load Test Configuration

Yeni bir k6 yük testi yapılandırma adımları

1. Test adı seçin

2. Yük senaryoları

3. Yük yapılandırması

4. Yük dağılımı

5. Script yapılandırması

k6 Script Upload

import http from 'k6/http';
import { check, sleep } from 'k6';
export default function () {
const res = http.get('https://test-api.k6.io/public/crocodiles/');
check(res, {
'status is 200': (r) => r.status === 200,
'response time < 500ms': (r) => r.timings.duration < 500,
});
sleep(1);
}

6. Entegrasyon yapılandırması

7. Testi çalıştır