hotblac / voicexmlriot

VoiceXML application test framework
MIT License
2 stars 1 forks source link

Submit url after subdialog return is resolved incorrectly #17

Open hotblac opened 6 years ago

hotblac commented 6 years ago

See test case added in commit e29cb260c4218d2df75cec2339d409cf880d926d

Test case:

  1. Start vxml application at /approot/start.vxml
  2. /approot/start.vxml invokes subdialog at /approot/subdirectory/subdialog.vxml
  3. Subdialog returns to caller (/approot/start.vxml)
  4. /approot/start.vxml submits to afterSubdialog.vxml (relative)

What should happen: afterSubdialog.vxml should be resolved relative to the caller: /approot/afterSubdialog.vxml

What actually happens: afterSubdialog.vxml is resolved relative to completed subdialog: /approot/subdirectory/afterSubdialog.vxml

Attached: Output of test run: mostly JVoiceXML browser output. runner.log

Cause: emestrategy.HttpSchemeStrategy ( 160) [] error accessing 'http://localhost:9090/voicexmlriot-junit-demo/subdialog/afterSubdialog.vxml': Not Found (HTTP error code 404)