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

Support xpath as a filter #1698

Closed
jcamiel opened this issue Jun 30, 2023 · 0 comments · Fixed by #1658
Closed

Support xpath as a filter #1698

jcamiel opened this issue Jun 30, 2023 · 0 comments · Fixed by #1658
Labels
enhancement New feature or request
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Jun 30, 2023

xpath query can be used to query text body with Xpath.
We could also support xpath as a filter, to allow XPath evaluation on response subpart:

GET https://example.com/hello_gb231
HTTP 200
[Asserts]
bytes decode "gb2312" xpath "string(//body)" == "你好世界"
@jcamiel jcamiel added the enhancement New feature or request label Jun 30, 2023
@jcamiel jcamiel added this to the 4.0.0 milestone Jun 30, 2023
@jcamiel jcamiel linked a pull request Jun 30, 2023 that will close this issue
@jcamiel jcamiel closed this as completed Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant