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

一些不能mock的场景,请问是暂不支持还是我使用错误 #198

Open
ydzhao-reyes opened this issue Feb 14, 2023 · 0 comments
Open

Comments

@ydzhao-reyes
Copy link

1.对于onRequest,onResponse在入参里面的不能进行子调用mock,序列化失败,比如:
public void scroll(ScrollRequest scrollRequest, HttpServletRequest request, HttpServletResponse response)
2.异步调用的同理
3.直接传参可以mock成功
return greetingService.greeting(String.format(template, name));
这样不行
return greetingService.greeting(counter.incrementAndGet(),String.format(template, name));
调用失败的结果如下
Console一直在执行中
image

后台序列化报错
image

配置如下
image

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

1 participant