使用java的剧作家的应对API响应
我正在探索剧作家自动进行API测试,但我无法使用Java的Pojo对剧作家的敏捷性。我曾经使用以下代码放心,以此来进行此操作:
PetStoreModel petStoreModel = response.as(PetStoreModel.class);
I am exploring playwright for automating api tests and I am unable to deserialise APIResponse of playwright to a POJO using java. I used to do this with rest assured using following code:
PetStoreModel petStoreModel = response.as(PetStoreModel.class);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在ObjectMapper的帮助下设法做到了这一点。
I managed to do this with the help of ObjectMapper.