-
Notifications
You must be signed in to change notification settings - Fork 522
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
Hurl will only run first test #593
Comments
Hi, yes, the documentation and the output is not clear at all: when Hurl output "Executed: n" n is the number of file executed (not the total number of entries in every file). For instance, given this two files: foo.hurl:
bar.hurl:
If I run:
The output will be:
Whereas with the following file: baz.hurl:
The output will be:
I agree, we'll improve the docs and Hurl output so everything will be cristal clear, |
OH so each .hurl file is an entire test, and multiple gets are for chaining! I get it now, Thanks! 😸 |
Hope it's ok to also ask a another question here. Is it possible to negate a regex search? I'm trying to verify that something DOESN'T exist in a sitemap file, which isn't path compatible. |
No problem, you’re welcome to ask! You can negate all queries, for instance:
Starting Hurl 1.6.0, you can use regex literal:
Do you have a response sample and the kind of assert you want to perform ? |
I swear I tried that. I'm not at my workstation now, I'll upload my |
Hi @bdmorin do you still have any issue ? Don't hesitate to copy/paste your Hurl file and server response, so I can help you, |
I'm feel like this is user error, but for the life of me I can't figure out what I'm doing wrong. I'm trying to write assertions for various domains robots.txt file, and hurl is only running the first test in my hurl file.
robots.hurl
Execution
So it's only running the first one.
I tried taking out all the tests, and just running the URLS
again, only running the first.
I'd swear this is user error, but it looks like a bug since the docs say you can just list one after another.
Let me know if I can provide more info.
The text was updated successfully, but these errors were encountered: