我有一个文件,其中定义了目录的绝对路径。Ex : script=/absolutepath/scripts
utility=/absolutepath/utility 我想使用“脚本”/“实用程序”而不是其他javascript files.How中的绝对路径我可以做到这一点。我想要的: import random from "script/random.js" 而不是 import random from "/absolu
我正在尝试使用k6开源平台在jenkins pipeline中进行负载测试。下面给出的代码是我用来运行负载测试的testing文件。但是'k6 cloud oadtest/performance-test.js‘抛出错误。我还在jenkins中添加了k6凭据。echo 'Let us login into k6'
sh 'k6 login cloud --token ${
我正在尝试使用docker-compose执行我的k6测试,然后在grafana中可视化结果。我已经启动了容器,然后尝试编辑文档中给出的命令: docker-compose run -v \$PWD/samples:/scripts \k6 run /scripts/es6sample.js但我一直收到错误,并且我正在努力理解命令所需的模式。我想运行下面屏幕截图中的test.js文件:Repo format 我收到
我想使用带有K6性能测试工具的xmlhttprequest或xhr2库。由于k6不支持节点模块,我得到以下错误 GoError: Module specifier "xhr2" was tried to be loaded as remote module by prependingIf you are trying to import a nodejs module, this is not supported as k6 is _not_ nodejs based.https: