Plugin idea: performance testing with k6
Open
Nobody has claimed this yet.
feat/build-plugins
feat/plugin-idea
type: feature
- Dominant language
- JavaScript
- Stars
- 99
- Forks
- 69
- Avg merge
- 17m
- Merged PRs (30d)
- 1
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);
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the k6 and k6.io links in the issue, then study the supplied JavaScript example. Clarify the plugin's scope and acceptance criteria before implementation; done should be a working k6 performance-testing plugin in this plugins repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- performance, testing, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100