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

Folders and files

NameName
Last commit message
Last commit date
Feb 28, 2025
Aug 31, 2023
Mar 19, 2024
Feb 25, 2025
Feb 25, 2025
Jun 6, 2023
May 12, 2023
Oct 17, 2024
Nov 12, 2024
Aug 31, 2023
Feb 28, 2025
Nov 13, 2024
Oct 23, 2022
Feb 25, 2025
Nov 12, 2024
Feb 26, 2025
Feb 26, 2025
Mar 19, 2024
Feb 25, 2025

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