简单讲 如果 7 个 web 页面相互之间不关联,那就不同线程组各自压测各自的,但是如果其中关联,比如 A 页面新增用户,成功后跳到 B 页面落地成功页,那就可以放到一个线程组压测
和运行正常构建代码一致,没啥特殊的地方
是不是 allure 没有配置对,allure 在 pipeine 中使用时,要先配置下路径或者每次都安装个新的, 你这边 agent 用的是 docker,所以和非 docker 时使用时有些区别
** 已阅
上面说的问题 我通过安装提示缺少的模块后,又报这样错误,谁遇到过给解决下
macdeMacBook-Pro:WebDriverAgent mac$ sh ./Scripts/bootstrap.sh -d
-e Fetching dependencies
macdeMacBook-Pro:WebDriverAgent mac$ sh ./Scripts/bootstrap.sh
-e Fetching dependencies
-e Building Inspector
Creating bundle directory...
Fetching Inspector dependencies...
npm WARN web-driver-inspector@1.0.0 No repository field.
Validating Inspector
No errors!
/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/js/app.js
12:18 error Unable to resolve path to module 'js/http' import/no-unresolved
13:20 error Unable to resolve path to module 'js/screen' import/no-unresolved
14:31 error Unable to resolve path to module 'js/screenshot_factory' import/no-unresolved
15:18 error Unable to resolve path to module 'js/tree' import/no-unresolved
16:22 error Unable to resolve path to module 'js/tree_node' import/no-unresolved
17:25 error Unable to resolve path to module 'js/tree_context' import/no-unresolved
18:23 error Unable to resolve path to module 'js/inspector' import/no-unresolved
27:14 error Missing space before function parentheses space-before-function-paren
macdeMacBook-Pro:WebDriverAgent mac$ sh ./Scripts/bootstrap.sh
-e Fetching dependencies
-e Building Inspector
Creating bundle directory...
Fetching Inspector dependencies...
npm WARN web-driver-inspector@1.0.0 No repository field.
Validating Inspector
No errors!
Cannot find module 'eslint-config-appium'
Referenced from: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/.eslintrc
Error: Cannot find module 'eslint-config-appium'
Referenced from: /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/.eslintrc
at ModuleResolver.resolve (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/util/module-resolver.js:74:19)
at resolve (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:478:25)
at load (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:495:26)
at configExtends.reduceRight (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:391:36)
at Array.reduceRight (native)
at applyExtends (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:362:28)
at Object.load (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config/config-file.js:529:22)
at loadConfig (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:63:33)
at getLocalConfig (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:130:29)
at Config.getConfig (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Inspector/node_modules/eslint/lib/config.js:259:26)
这个报错怎么解决,有谁遇到嘛,一直没看到有遇到这个情况的