社区这个功能做的真是。。。
关于问题一,完全是按照官方文档操作的。阿里好多开源的东西都是代码更新了,文档不更新😔
关于问题二,项目一启动就报这个错。用的也是他们 master 最新的代码,哎😔
追加 repeater-config.json 配置
{
"degrade": false,
"exceptionThreshold": 1000,
"httpEntrancePatterns": [
"^/regress/.*$"
],
"javaEntranceBehaviors": [
{
"classPattern": "com.alibaba.repeater.console.service.impl.RegressServiceImpl",
"includeSubClasses": false,
"methodPatterns": [
"getRegress"
]
}
],
"javaSubInvokeBehaviors": [
{
"classPattern": "com.alibaba.repeater.console.service.impl.RegressServiceImpl",
"includeSubClasses": false,
"methodPatterns": [
"getRegressInner"
]
},
{
"classPattern": "com.alibaba.repeater.console.service.impl.RegressServiceImpl",
"includeSubClasses": false,
"methodPatterns": [
"findPartner"
]
},
{
"classPattern": "com.alibaba.repeater.console.service.impl.RegressServiceImpl",
"includeSubClasses": false,
"methodPatterns": [
"slogan"
]
}
],
"pluginIdentities": [
"http",
"java-entrance",
"java-subInvoke",
"mybatis",
"ibatis",
"dubbo-provider",
"dubbo-consumer"
],
"repeatIdentities": [
"java",
"http",
"dubbo"
],
"sampleRate": 10000,
"useTtl": true
}
问题 1:为什么我的回放,每次都不一样呢
问题 2:项目启动完之后,ConfigFacadeApi.java 一直报空指针.
appName 和 env 需要提前配置到数据库中吗
2020-10-30 17:24:01 INFO initializing logback success. file=/Users/lucky/.sandbox-module/cfg/repeater-logback.xml;
2020-10-30 17:24:01 INFO module on loaded,id=repeater,version=1.0.0,mode=ATTACH
2020-10-30 17:24:01 INFO onActive
我的启动完之后,日志中只有这些。然后本地访问也没有新日志打印。
我按照教程配置的,可以私聊,帮忙看看哪里错了吗
求助,找了一天没有解决这个问题!!!
在单模块项目里,我按照上面操作成功了。在多模块安装项目里,我把上述文件都放到主模块了,然后使用 adb shell am instrument 出现如下报错:
我也遇到了这个情况
尝试了一下,但是打开 app 之后就闪退了。大神帮忙看一下,报这个错是因为 xpath 配置错误的问题吗
哈哈。每年都有忙和闲的时候。没有不加班的公司。你要是完成工作了,可以正点走呀,不会有人拦着的。
求助:运行完 npm run test 后,报如下错误
>> >> html reporter generated: /home/user/code/web-app-bootstrap/reports/index.html
>> >> json reporter generated: /home/user/code/web-app-bootstrap/reports/json-final.json
>> >> reporter config generated: /home/user/code/web-app-bootstrap/reports/config.json
>> Test completed!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! web-app-bootstrap@1.0.5 test: `npm run clean:coverage && macaca run -d ./test --verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the web-app-bootstrap@1.0.5 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2019-08-15T08_50_00_397Z-debug.log
运行完测试用例,报上述错误,且服务正常启动
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d0f33e93d401 macacajs/reliable-web:v2 "./entrypoint.sh n..." About an hour ago Up About an hour (healthy) 0.0.0.0:9900->9900/tcp reliable_web_1
172309ca2454 macacajs/reliable-mysql "docker-entrypoint..." About an hour ago Up About an hour 0.0.0.0:3306->3306/tcp, 33060/tcp reliable_mysql_1
f8a70aad9486 macacajs/reliable-nginx "nginx -g 'daemon ..." About an hour ago Up About an hour 0.0.0.0:9920->80/tcp reliable_static_1