Why Do My Debug Tests Fail with "Multiple scenarios are not supported"?

Symptom:

When attempting to execute a Debug Test, you are met with this pop-up error message:

Bad Request: Multiple scenarios are not supported in debug run

Reason:

A 'Debug Test' only supports running with one engine.  When executing a test, each scenario defined requires its own dedicated engine, which means that a 'Debug Test' likewise only supports running with one scenario.

Solution:

There are two ways in which your test may try to run more than one scenario:

  • If executing your test via a Taurus YAML configuration file, you may have defined more than one scenario under the execution: section. Remove additional scenarios so that the YAML only executes one scenario. 
  • You may have enabled End User Experience Monitoring.  If so, this feature requires an additional engine, as the End User Experience (EUX) test is considered its own scenario apart from your main test scenario.  This feature is not supported for Debug Tests, so make sure to disable it before running it in debug mode.