grafana / xk6-sql

k6 extension to load test RDBMSs (PostgreSQL, MySQL, MS SQL and SQLite3)
Apache License 2.0
107 stars 57 forks source link

Docker Build Error #38

Closed Jim0530 closed 1 year ago

Jim0530 commented 1 year ago

I build my xk6-sql own image with the Dockerfile you supported. It build sucessfully. However when i started to run with the example scirpts you gave, it turns out with the error. time="2023-06-05T02:58:43Z" level=error msg="could not initialize '-': could not load JS test 'file:///-': no exported functions in script"

Jim0530 commented 1 year ago

Did u know what did i do wrong thanks.

Jim0530 commented 1 year ago

Sorry i just figured it out. i have the wrong docker command.