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

Fix segmentation fault with Invalid XPath Assert #192

Closed
jcamiel opened this issue May 25, 2021 · 0 comments · Fixed by #193
Closed

Fix segmentation fault with Invalid XPath Assert #192

jcamiel opened this issue May 25, 2021 · 0 comments · Fixed by #193
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented May 25, 2021

The following Hurl file:

GET http://localhost:8080
HTTP/1.1 200
[Asserts]
xpath "strong(//head/title)" equals "Welcome to Quiz!"

emits a segmentation fault in hurl 1.2.0. Note that there is a typo in the path value ("strong(//head/title)" instead of "string(//head/title)").

@jcamiel jcamiel added bug Something isn't working 1.2.0 labels May 25, 2021
@jcamiel jcamiel linked a pull request Jun 3, 2021 that will close this issue
@jcamiel jcamiel closed this as completed Jun 3, 2021
@fabricereix fabricereix added 1.3.0 and removed 1.2.0 labels Jun 9, 2021
@lepapareil lepapareil added this to the 1.3.0 milestone Jun 11, 2021
@fabricereix fabricereix changed the title Segmentation Fault with Invalid XPath Assert Fix segmentation fault with Invalid XPath Assert Sep 1, 2021
@lepapareil lepapareil removed the 1.3.0 label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants