Skip to content

bbsakura/xk6-gtp

Repository files navigation

xk6-gtp

A client extension for interacting with the GTP protocol in your k6 tests.

Preparation

Required packages and tools:

Install the 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 the developers.

Developer 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors