summaryrefslogtreecommitdiffstats
path: root/test/cli/command-fail/expected-response.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli/command-fail/expected-response.json')
-rw-r--r--test/cli/command-fail/expected-response.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/cli/command-fail/expected-response.json b/test/cli/command-fail/expected-response.json
new file mode 100644
index 0000000..6b71773
--- /dev/null
+++ b/test/cli/command-fail/expected-response.json
@@ -0,0 +1,34 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-06-04T15:05:20.003Z",
+ "originatorId": "System",
+ "requestId": "regression-test-cli-command-fail",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-cli",
+ "blueprintVersion": "1.0.0",
+ "actionName": "cli",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-06-04T15:05:41.528Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "cli-response": {
+ "response-data": [
+ {
+ "command": "nonExistCommand",
+ "deviceOutput": "nonExistCommand\r\n/ $ nonExistCommand\r\n-ash: nonExistCommand: not found\r\n/ $ \u001b[6n",
+ "successful": true
+ }
+ ]
+ }
+ }
+}