Rally Software

Expand all | Collapse all

I have a WSAPI Query App that Randomly Fails

  • 1.  I have a WSAPI Query App that Randomly Fails

    Posted 12-13-2017 08:07 AM
      |   view attached

    I have an app to do a audit type report across all projects in a workspace.  It essentially crawls the project tree and makes audit tallies by running individual queries and eventually dumping them to the screen in formatted CSV text. It seemed to be working fine but I noticed that sometimes tallies come back as zero when they should not.  I suspect it is because of some sort of WSAPI async call timeout but I don't see any error.  Please see attached code.

    Attachment(s)

    zip
    MetricsReport.htm.zip   3K 1 version


  • 2.  Re: I have a WSAPI Query App that Randomly Fails

    Posted 12-15-2017 04:06 PM

    Without your data it will probably be hard to reproduce.  Could you run your app with the developer tools open and check the console for errors, inspect the wsapi requests for any populated Errors collections in responses, etc.?  That would help greatly to diagnose what might be going on...