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 GTP protocol in your k6 test.

🚧 This project is a WIP... 🚧

Preparation

Requires packages and tools.

Install tools required for development.

make install-dev-pkg

Build

make install-go-tools
make build

Running Tests

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

./out/bin/pgw

Supported Scenarios

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 @wmnsk and all developers.

Developers Settings

# Format, lint, commit message validation, etc.
pre-commit install

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

# Create Docker image
make docker-build
make docker-release