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

http接口 self.jresponse支持json提取规则吗? #96

Closed
jingyuezijing opened this issue Apr 6, 2022 · 4 comments
Closed

http接口 self.jresponse支持json提取规则吗? #96

jingyuezijing opened this issue Apr 6, 2022 · 4 comments

Comments

@jingyuezijing
Copy link

image
self.response['data']['tasks'][0]['id']

self.response有没有类似josn提取器的用法?比如:self.response['data']['tasks'][?@status=='running']['id'],找到data,task下,满足status=running的所有条目的id?

defnngj added a commit that referenced this issue Apr 10, 2022
@defnngj
Copy link
Collaborator

defnngj commented Apr 10, 2022

非常好建议,功能已经实现,将会在下个支持!

相关文档:
https://github.com/SeldomQA/seldom/blob/master/docs/vpdocs/http/http.md#jsonpath

@defnngj
Copy link
Collaborator

defnngj commented Apr 18, 2022

seldom 2.8 版本发布,已经实现了self.jresponse() 方法。 @jingyuezijing

@jingyuezijing
Copy link
Author

框架非常好用,有问题,响应也很快。赞赞赞。

@jingyuezijing
Copy link
Author

已升级 ,已使用。优秀

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