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
StopAsError function issue #4113
Comments
Hi @moulimurugesan10 thank you for creating the bug report! Hmm, I wonder I think I could have missed testing it in a multi step scenario. Let me try to reproduce this tonight and see if I can fix it. |
Thanks @soulgalore let me know once the fix is done |
The problem happens if run multiple tests and one fail. That code needs some more love so I think I could have fix by the of this week. |
The old version was kind of broken that returned partly result json. This fix makes sure the test return as a failure (as documented) and remove all result data (as documented). sitespeedio/sitespeed.io#4113
* Make stopAsError report failures. The old version was kind of broken that returned partly result json. This fix makes sure the test return as a failure (as documented) and remove all result data (as documented). sitespeedio/sitespeed.io#4113
Hi @moulimurugesan10 can you please try newly released 33.4.0, When I tried, that works for me, but want your input too! |
Have you read the documentation?
URL
TestUrl
What are you trying to accomplish
My requirement is running multiples scripts in single execution.
I get some xpath not find errors so I used stopAsError to handle errors.
StopAsError Works fine for single script but when we try to run multiple scripts Html report was not generated also I am getting following error
If my script fails in first iteration and passed in second iteration I get the below error :
ERROR: Could not find the right index x for har for url xxxxx
ERROR: There are pages that misses data. This is in almost all cases caused by that you try to measure a page view but you do not navigate to a new page. Error: PageIndex out of range
throw new Error(
Page summary message (${type}) didn't specify a group.
);Error: Page summary message (browsertime.pageSummary) didn't specify a group.
if my script fails in both iteration I getting below error only
throw new Error(
Page summary message (${type}) didn't specify a group.
);Error: Page summary message (browsertime.pageSummary) didn't specify a group.
Note:
What browser did you use?
Chrome
How to reproduce
Log output
No response
The text was updated successfully, but these errors were encountered: