| 1 | { |
| 2 | "version": "1.0", |
| 3 | "testCases": [ |
| 4 | { |
| 5 | "documentation": "Default array values used", |
| 6 | "params": {}, |
| 7 | "expect": { |
| 8 | "endpoint": { |
| 9 | "url": "https://example.com/defaultValue1" |
| 10 | } |
| 11 | } |
| 12 | }, |
| 13 | { |
| 14 | "documentation": "Empty array", |
| 15 | "params": { |
| 16 | "stringArrayParam": [] |
| 17 | }, |
| 18 | "expect": { |
| 19 | "error": "no array values set" |
| 20 | } |
| 21 | }, |
| 22 | { |
| 23 | "documentation": "Static value", |
| 24 | "params": { |
| 25 | "stringArrayParam": ["staticValue1"] |
| 26 | }, |
| 27 | "expect": { |
| 28 | "endpoint": { |
| 29 | "url": "https://example.com/staticValue1" |
| 30 | } |
| 31 | } |
| 32 | }, |
| 33 | { |
| 34 | "documentation": "bound value from input", |
| 35 | "params": { |
| 36 | "stringArrayParam": ["key1", "key2", "key3", "key4"] |
| 37 | }, |
| 38 | "expect": { |
| 39 | "endpoint": { |
| 40 | "url": "https://example.com/key1" |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | ] |
| 45 | } |