[Feature] Agent回放请求arex-storage接口/api/storage/record/query原理
- Dominant language
- TypeScript
- Stars
- 86
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
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
1)、/api/storage/record/query 接口设计原理有没有详细一点的文档说明
2)、同一个请求里面并发处理,可能会多次调用一个后端接口会出现概率性的请求不到mock数据
【遇到的问题】
部分使用接口请求mock数据显示无mock数据
使用postman模拟接口请求
1、第一次请求能正常返回数据
2、再次请求就返回空了。此时清理掉redis再请求就能正确返回
### Solution
_No response_
### 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
Start by tracing the /api/storage/record/query entry point and the Redis state involved in repeated Postman requests. Reproduce the sequence where the first request succeeds but a later concurrent request returns no mock data, then document the endpoint's design and verify that repeated requests consistently return the expected mock data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis
- Domain
- backend-api-design, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100