-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
feat/build-pluginsfeat/plugin-ideatype: featurecode contributing to the implementation of a feature and/or user facing functionalitycode contributing to the implementation of a feature and/or user facing functionality
Description
Performance testing plugin using k6 https://github.com/loadimpact/k6
See https://k6.io/ for how it works
import http from 'k6/http';
import {check, sleep} from 'k6';
export default function() {
const data = {username: 'username', password: 'password'};
let res = http.post('https://netlifysite.com.com/.functions/foo', data);
check(res, { 'success login': (r) => r.status === 200 });
sleep(0.3);
}
Metadata
Metadata
Assignees
Labels
feat/build-pluginsfeat/plugin-ideatype: featurecode contributing to the implementation of a feature and/or user facing functionalitycode contributing to the implementation of a feature and/or user facing functionality