Hi,
I’m trying to run a load test using k6 and the xk6-sql
extension to connect with a PostgreSQL database.
Hi, Rafiulalambracits!
There is a message in the screenshot that requires upgrading the Go version to 1.24. Can you try to do this?
Here is an example dockerfile: xk6/Dockerfile at master · grafana/xk6 · GitHub
You will also need to add the postgres driver during the build: GitHub - grafana/xk6-sql-driver-postgres: xk6-sql driver extension for Postgres database support
Example: xk6 build --with github.com/grafana/xk6-sql@latest --with github.com/grafana/xk6-sql-driver-postgres
Link: GitHub - grafana/xk6-sql: Use SQL databases from k6 tests.