arextest / arextest/arex-agent-java
[Feature] 在测试环境录制,又在测试环境回放,当动态类,中间件,数据库,外部调用等mock数据不存在时,能走真实调用.
- Dominant language
- Java
- Stars
- 564
- Forks
- 140
- Avg merge
- 36m
- Merged PRs (30d)
- 2
Description
### Is there an existing issue for this?
- [X] I had searched in the [issues](https://github.com/arextest/arex-agent-java/issues) and found no similar issues.
### Description
在测试环境录制,又在测试环境回放,当动态类,中间件,数据库,外部调用等mock数据不存在时,能走真实调用.
背景:
1. 测试环境机器1,部署同线上环境一样的代码,作为稳定机器环境提供给上下游系统使用。
2. 测试环境机器2,部署研发迭代版本进行新需求开发。
使用方式:
1. 在机器1上录制。
2. 在机器2上回放。
期望:
因为中间件,数据库环境都一样,只是代码分支不一样,所以希望回放时当mock数据没有时,能走真实调用,这样更容易利用稳定版本的流量数据来回归不稳定版本中的问题....
### Solution
在测试环境录制,又在测试环境回放,当动态类,中间件,数据库,外部调用等mock数据不存在时,能走真实调用.
### Related issues
_No response_
### Are you willing to submit a pull request to implement this on your own?
- [ ] Yes I am willing to submit a pull request on my own!
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue describes fallback behavior for missing mocks during replay across dynamic classes, middleware, databases, and external calls, but names no files, tests, or entry points. Start by locating the replay handling for missing mock data and determine how real calls are currently blocked. Done means the fallback behavior is defined and covered across the listed call types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100