Skip to content

[New Port]: k6 #1138

@msradam

Description

@msradam

Port Description

Grafana k6 is a modern, developer-centric load testing tool for testing APIs, microservices, and websites. Written in Go, it uses JavaScript for test scripting.

Homepage: https://k6.io/
Categories: networking, testing

Upstream Repository URL

https://github.com/grafana/k6

Additional Information (Optional)

I've been using k6 on z/OS for load testing and have a working zopen port ready:
https://github.com/msradam/k6port

The port builds and installs successfully with zopen build:

# k6 version
k6 v1.5.0+dirty (commit/7961cefa12-dirty, go1.25.3, zos/s390x)
# k6 run test.js

         /\      Grafana   /‾‾/  
    /\  /  \     |\  __   /  /   
   /  \/    \    | |/ /  /   ‾‾\ 
  /          \   |   (  |  (‾)  |
 / __________ \  |_|\_\  \_____/ 

     execution: local
        script: test.js
        output: -

     scenarios: (100.00%) 1 scenario, 10 max VUs, 1m0s max duration (incl. graceful stop):
              * default: 10 looping VUs for 30s (gracefulStop: 30s)


running (0m14.4s), 10/10 VUs, 130 complete and 0 interrupted iterations
default   [=================>--------------------] 10 VUs  14.4s/30s

Build details:

Note: After cloning the port repo on z/OS, buildenv requires encoding conversion:

# iconv -f ISO8859-1 -t IBM-1047 buildenv > buildenv.tmp && mv buildenv.tmp buildenv
# chtag -tc 1047 buildenv

Related article on the port: https://medium.com/theropod/go-ing-native-porting-grafana-k6-to-z-os-with-go-f7f73267c1c

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions