arextest / arextest/arex

[Bug] System.currentTimeMillis能录制但是回放不会获取录制结果

Open
#732 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
86
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [x] I have searched the existing [issues](https://github.com/arextest/arex/issues) before asking.

### AREX Test Service

AREX Java Agent (arextest/arex-agent-java)

### Current Behavior

系统生单时是会计算订单的取消时间的,录制的时候将currentTimeMillis结果录制下来了,但是回放时没有去录制的结果,导致两次订单的取消时间不一致,然后再控制台看起来就是有diff

### Expected Behavior

系统生单时是会计算订单的取消时间的,录制的时候将currentTimeMillis结果录制下来了,但是回放时没有去录制的结果,导致两次订单的取消时间不一致,然后再控制台看起来就是有diff

### Steps To Reproduce

系统生单时是会计算订单的取消时间的,录制的时候将currentTimeMillis结果录制下来了,但是回放时没有去录制的结果,导致两次订单的取消时间不一致,然后再控制台看起来就是有diff

### Anything else

_No response_

### Are you willing to submit a pull request to fix 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 in the AREX Java Agent’s handling of System.currentTimeMillis, tracing how the value is recorded and how replay retrieves recorded results. Reproduce the order-cancellation-time case and verify that replay uses the recorded timestamp so the resulting comparison no longer shows a diff.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.