summaryrefslogtreecommitdiffstats
path: root/test/uscxml/test-response-element.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/uscxml/test-response-element.scxml')
-rw-r--r--test/uscxml/test-response-element.scxml14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/uscxml/test-response-element.scxml b/test/uscxml/test-response-element.scxml
new file mode 100644
index 0000000..eb02320
--- /dev/null
+++ b/test/uscxml/test-response-element.scxml
@@ -0,0 +1,14 @@
+<scxml datamodel="ecmascript" name="test">
+ <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
+ <state id="start">
+ <state id="loop">
+ <transition event="http" target="loop">
+ <script>
+ dump(_event);
+ </script>
+ <response status="200" requestexpr="_event.origin" />
+ </transition>
+ </state>
+ </state>
+ <final id="final" />
+</scxml> \ No newline at end of file