Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Return the actual error when failing to start a job

When the Real Device Cloud fails to start a session, it often returns an error message that is less then useful, for instance:

org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: Unable to parse remote response:

 

This response does not contain any of the actual conditions that caused the error, for instance, being unable to read a plist file.  That makes debugging what went wrong a longer, more annoying process; Customers have to log into the RDC interface, find the impacted session and open it to find what error actually occurred.

It would be helpful to have this error message returned as part of the Appium response or, failing that, in some easy-to-fetch way from the REST API.

  • Guest
  • Feb 4 2020
  • Planned
  • Attach files