Skip to content

GRPC automation test example with NodeJS (as Server) and K6 by Grafana Labs (as Client)

Notifications You must be signed in to change notification settings

lynix28/grpc-node-k6-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpc-node-k6-example

CircleCI

GRPC automation test example with NodeJS (as Server) and K6 by Grafana Labs (as Client)

How to setup and run the test

  1. Clone this repository

  2. Build GRPC Dummy Server with Dockerfile (file provided)

    • execute docker build -t <your_image_tag> <path/to/Dockerfile>
    • start the server docker run --name <"your_container_name"> -p 50051:50051 -d <your_image>
  3. Install K6 and run it with command

    • k6 run -e IPaddress=localhost ./client/tests/run_test.js

How the report look like

image

About

GRPC automation test example with NodeJS (as Server) and K6 by Grafana Labs (as Client)

Topics

Resources

Stars

Watchers

Forks