Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

404 error while downloading the performance log #116

Description

@amolkhatri

Sometimes when I'm using the speedo, I encounter the following error while downloading the performance logs.

 Run performance test...

✔ Run performance test...

- Wait for job to finish...

✔ Wait for job to finish...

- Download performance logs...

  <local path> / node_modules/saucelabs/build/index.js:235
        throw new Error(`Failed calling ${propName}: ${err.message}, ${err.response && err.response.body}`);
              
Error: Failed calling getPerformanceMetricsByJobId: Response code 404 (Not Found), [object Object]

Basically, Sauce Labs couldn't find the report with the provided sessionId. I made a local code modification to wait for 2 seconds before downloading the performance logs. Since then, I haven't encountered the same error. It seems like the code was attempting to download the report before it was ready on Sauce Labs.

Is there another solution to resolve this problem? I couldn't find any configuration settings for this either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions