Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library of k6 sample scripts exercising full feature-set, easily accessible while centrally maintained #149

Closed
adr0sen opened this issue Mar 9, 2017 · 5 comments

Comments

@adr0sen
Copy link
Contributor

adr0sen commented Mar 9, 2017

We want to improve the getting started experience of k6 by managing a library of k6 sample scripts, exercising the full feature-set of k6. These scripts should then be very easy for new users of k6 to access and run, e.g. by them being hosted somewhere via the web and k6 having the ability to be fed with scripts via HTTP (as potentially solved by #136?).

Ideally, the library of scripts should offer both real-world end-to-end test implementations (e.g. as in PR #135 for an e-commerce store/checkout example), as well as smaller instructive snippets of working sample code where focus is on single features and scripting capabilities.

All these samples in the library can then be used throughout our documentation and guidelines, e.g. in installation/getting-started instructions as well as in API-references etc.

@liclac
Copy link
Contributor

liclac commented Mar 10, 2017

Gonna work on #152 once I have #137 done, there's #135 in the works and I'd love to see some more contributed code samples (@robingustafsson). I'll take care of writing more long-form documentation once I've got those two down.

@robingustafsson
Copy link
Member

Yeah, I'll work on producing code samples to showcase k6 features. Will create a PR when I have something to show, or should we put them in a separate repo right away, something like loadimpact/k6-samples?

@micsjo
Copy link
Contributor

micsjo commented Mar 11, 2017

Have some but need to know where to put them.

@liclac
Copy link
Contributor

liclac commented Mar 12, 2017

Please PR them to /samples!

@liclac
Copy link
Contributor

liclac commented Apr 24, 2017

We need more samples, but let's open smaller issues for individual ones instead of this.

@liclac liclac closed this as completed Apr 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants