-
Notifications
You must be signed in to change notification settings - Fork 700
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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一直在执行中
后台序列化报错
配置如下
The text was updated successfully, but these errors were encountered: