Giter Site home page Giter Site logo

luosnahim / k6-arch-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maximilianoalves/k6-arch-example

0.0 0.0 0.0 325 KB

pt_BR: Projeto para criação de arquitetura e esqueleto de testes de performance utilizando o k6. // en_US: Skeleton for project start for performance test using k6 and other tools.

JavaScript 100.00%

k6-arch-example's Introduction

Sample project for performance tests using k6

Skeleton for project start for performance test using k6 and other tools, this project also has compilation with webpack for use fakerjs library for generate random data and has grafana with influxdb to follow tests in real time and docker for run all this things.

Technologies and tools used:

File Structure

📦k6-arch-example
┣ 📂dashboards
┃ ┗ 📜k6-load-testing-results.json
┣ 📂img
┃ ┗ 📜img.png
┣ 📂src
┃ ┣ 📂requests
┃ ┃ ┣ 📜login.request.js
┃ ┃ ┣ 📜products.request.js
┃ ┃ ┗ 📜users.request.js
┃ ┣ 📂simulations
┃ ┃ ┣ 📜FullFlowLoad.test.js
┃ ┃ ┗ 📜FullFlowStress.test.js
┃ ┗ 📂utils
┃ ┃ ┗ 📜utils.js
┣ 📜.gitignore
┣ 📜README.md
┣ 📜docker-compose.yml
┣ 📜grafana-dashboard.yaml
┣ 📜grafana-datasource.yaml
┣ 📜package-lock.json
┗ 📜package.json

Execution Examples

Requirements:

Without docker, influxdb and grafana:

  • With npm:
    • npm run FullFlowLoadTest
  • Without npm:
    • k6 run -e env=PRD src/simulations/FullFlowLoad.test.js

Grafana's dashboard with many graphs for performance monitoring

Doubts!? contact me:

Twitter Medium Linkedin Instagram

k6-arch-example's People

Contributors

maximilianoalves avatar paulogoncalvesbh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.