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

moco怎么模拟入参为定长报文,出参同样返回定长报文 #315

Open
LeeLiang110 opened this issue Mar 9, 2022 · 1 comment

Comments

@LeeLiang110
Copy link

比如入参为 000|665666653522233|09|8978
出参返回为 0000|887666|8978

@dreamhead
Copy link
Owner

@LeeLiang110 I don't understand your question. If your request is fixed and response is fixed, you can just write your config like this:

server.request(by("000|665666653522233|09|8978")).response("0000|887666|8978");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants