I am getting this warning twice when running k6 tests. grpc how to I resolve it?
WARN[0001] The moduleSpecifier “util” has no scheme but we will try to resolve it as remote module. This will be deprecated in the future and all remote modules will need to explicitly use “https” as scheme.
Can you share your (sanitized) script? It’s usually easier to spot what is going on if you can share it.
This warning message is usually displayed when the module specifier for the util module does not specify a scheme (e.g., http, https, etc.), and k6 is attempting to resolve it as a remote module.
If that is the case, you can specify the https scheme for the util module in your k6 test script. For example:
import { check } from 'https://jslib.k6.io/util/index.js';