-
Notifications
You must be signed in to change notification settings - Fork 71
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
Error when generating HTML report #533
Comments
Looking at that line of the code, it seems this could panic if data is empty. Are any requests actually being made? Can you past the full output, for example are there command line metrics being displayed? |
Ok, my API calls are failing :
I'm pretty sure that previously when I had that kind of issue I was able to get an empty report showing at least the status codes. Even at warm up, I don't get any status code and my api gateway logs confirm that no call was received. I'm trying to call my API using a POST call. I do it this way :
Could my JSON be responsible for this fail ? I guess I would get an explicit error if my JSON wasn't correct (400 Bad Request ?). |
Goose shouldn't panic, so there's definitely a bug here we need to track down/fix. As for your specific issue, perhaps enable the debug log. That should show you what your server is responding that you don't expect. (I also always enable the error log ). |
The error log and the debug log files are generated but they stay empty (0kb, as the report.html file btw), the process seems to panic before the logs are written. |
Due to the bug you are reporting, temporarily disable |
I tried to modify my json input, and I was able to get errors and the report file. So I guess I can't just copy/paste a json string in a variable. Reading json from a file this way doesn't work either, but as I'm new to Rust... |
fixed by #555 |
Hi,
I have an issue when running my Goose loadtest. The HTML report can't be generated because of the following error :
thread 'main' panicked at 'called
Option::unwrap()
on aNone
value', /Users/vincau/.cargo/registry/src/github.com-1ecc6299db9ec823/goose-0.17.0/src/graph.rs:425:41I was able to run my test and generate the report until last month, it seems that the report can't be generated but the API calls are executed.
Command executed : cargo run --release -- --host https://my_api --report-file=report.html -u 750 -r 500 --throttle-requests 1125 -t 60s
Am I missing something new ?
Thanks,
Vincsz
The text was updated successfully, but these errors were encountered: