Skip to content

Client extension for interacting with a use GTP proto of your k6 test.

License

Notifications You must be signed in to change notification settings

bbsakura/xk6-gtp

Repository files navigation

xk6-gtp

Client extension for interacting with a use GTP proto of your k6 test.

🚧 This project WIP... 🚧

Prepair

require asdf installed. how to asdf install

Install tools required for development.

make install-dev-pkg

Build

make install-go-tools
make build

Test Running

./out/bin/xk6 run example/echo-stress.js

./out/bin/pgw

Support scenario

GTPv2-C

  • Node monitoring (Echo Request/Echo Response)
  • Create Session (Create Session Request/Create Session Response)
    • sgw->pgw scenario
  • Delete Session (Delete Session Request/Delete Session Response)
    • sgw->pgw scenario
  • Modify Bearer (Modify Bearer Request/Modify Bearer Response)
    • sgw->pgw scenario
  • Delete Bearer (Delete Bearer Request/Delete Bearer Response)

Special thanks

This PoC takes full advantage of go-gtp. Thanks to the @wmnsk and developer all.

Developers Settings

# fmt, lint, commitmessage validate...etc checker
pre-commit install

# mob programing
co-author hook > .git/hooks/prepare-commit-msg
chmod +x .git/hooks/prepare-commit-msg

# create docker image
make docker-build
make docker-release