Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0caseCount #5

Closed
zaksyjm opened this issue Aug 3, 2022 · 3 comments
Closed

0caseCount #5

zaksyjm opened this issue Aug 3, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@zaksyjm
Copy link

zaksyjm commented Aug 3, 2022

前置条件:
1,docker-compose up -d中的yml文件,把mongo的版本号从5.0改成了4.4.4(5.0报错WARNING: MongoDB 5.0+ requires a CPU with AVX support)
2,agent的jar包与被测服务的jar放在同一个服务器内
3,配置选用设置conf文件方式
4,因为拉取的agent目录同时存在agent与bootstrap两个jar,没有动他们的位置

步骤:
1,先启动前端,确认成功进入主页面
2,后拉起被测服务
3,调用被测服务中的接口,以达到record目的
4,repaly,输入被测服务的ip与port

预期结果:调用完以后,页面上的caseCount个数增加,并且能够repaly
实际结果:调用完以后,页面上的caseCount个数仍然为0,并repaly时报错
image

conf文件配置项:
arex.service.name=yourAppName
arex.storage.service.host=127.0.0.1:8093
arex.config.service.host=127.0.0.1:8091

启动命令:
nohup java -javaagent:/mnt/AREX/deployments/agent/arex-agent-0.0.1.jar -Darex.enable.debug=true -Darex.config.path=/home/cloud/arex.agent.conf -jar -Xms128m -Xmx128m xxx.jar --qa.host=xxx --spring.profiles.active=dev >/dev/null 2>&1 &

额外信息:
启动日志:
image

请求日志:
image

@mr3 mr3 added the bug Something isn't working label Aug 4, 2022
@haibing-wang
Copy link
Collaborator

arex-schedule-service: add new config
==>
environment:
- "JAVA_OPTS=-Darex.storage.service.api=http://arex-storage-service:8080 -Darex.report.service.api=http://arex-report-service:8080 -Darex.config.service.api=http://arex-config-service:8080 -Dspring.datasource.url=jdbc:mysql://mysql:3306/arexdb -Dspring.datasource.username=arex_admin -Dspring.datasource.password=arex_admin_password"

@haibing-wang
Copy link
Collaborator

haibing-wang commented Aug 19, 2022

we added the java_ops configuration to then 0.2 version

@haibing-wang
Copy link
Collaborator

Detected on version 0.2.5, this problem has been fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants