Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { check } from 'k6';
- import http from 'k6/http';
- export let options = {
- vus: 50,
- duration: '3s'
- };
- export default function () {
- let res = http.get('https://www.wanzul.net');
- check(res, {
- 'is status 200': (r) => r.status === 200
- });
- let res2 = http.get('https://www.wanzul.net/2022/10/10/adding-imagick-to-php-7-4-and-8-1-on-macos-12-6/');
- check(res2, {
- 'is status 200': (r) => r.status === 200
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement