Skip to content

4. Troubleshooting

testastra edited this page Nov 13, 2018 · 2 revisions

Here are the common errors expected to get for first time users. Please refer and try these alternatives before posting the issue.

1. I am getting "Unauthorised error"

Please check if you have correct user token/project token in your API header parameters

2. Test count/Progress on Live progress is showing Incorrectly

Please check if you've given expected test count values when calling Modules API

3. Error: "Module not found"

"npm install module" should be done to find the module.

4.Error: "Spec not found"

This error can be for multiple reasons: •Improper usage of variable. •Syntax error. •Unrecognized file paths

5. Error: Timeout-Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

Missing of defaultTimeoutInterval causes this error. Insert defaultTimeoutInterval in config.js file.

           jasmineNodeOpts :{ 
                                defaultTimeoutInterval: 120000
                            }

6. Unable to find project while posting results to dashboard

Make sure you have project created in dashboard and copied correct API details, project name and workspace name mentioned in your API calls There is a chance of getting error while creating run id if you don't have project that you mentioned in your API calls

8. Unable to post test results data to dashboard with wrong JSON body

Make sure all the parameters that are supplying to ARES Dashboard methods are syntactically correct (JSON body)

Clone this wiki locally