1{
2 "success": {
3 "createdBy": "cmath",
4 "createdDate": "2023-08-22T10:22:38+0000",
5 "modifiedBy": "cmath",
6 "modifiedDate": "2023-08-22T10:22:38+0000",
7 "testSuiteId": 1,
8 "testSuiteName": "example test suite",
9 "testSuiteDescription": "example for create test suite with child objects",
10 "isLocked": false,
11 "isStateful": false,
12 "executableTestCaseCount": 3,
13 "testCases": [
14 {
15 "createdBy": "cmath",
16 "createdDate": "2023-08-22T10:22:39+0000",
17 "modifiedBy": "cmath",
18 "modifiedDate": "2023-08-22T10:22:39+0000",
19 "testCaseId": 1,
20 "testRequest": {
21 "testRequestUrl": "https://{{hostname}}/?abc=1234555",
22 "requestMethod": "GET",
23 "requestHeaders": [
24 {
25 "headerName": "Accept",
26 "headerValue": "v1",
27 "headerAction": "ADD"
28 }
29 ],
30 "testRequestUrlResolved": "https://example.com/?abc=1234555"
31 },
32 "clientProfile": {
33 "client": "CHROME",
34 "ipVersion": "IPV4",
35 "geoLocation": "US"
36 },
37 "condition": {
38 "conditionExpression": "Response header \"Content-Type\" has a value that ends with \"{{contentTypeValue}}\"",
39 "conditionExpressionResolved": "Response header \"Content-Type\" has a value that ends with \"json\""
40 },
41 "order": 1
42 },
43 {
44 "createdBy": "cmath",
45 "createdDate": "2023-08-22T10:22:39+0000",
46 "modifiedBy": "cmath",
47 "modifiedDate": "2023-08-22T10:22:39+0000",
48 "testCaseId": 2,
49 "testRequest": {
50 "testRequestUrl": "https://{{sampleVarGroup.urls}}/index",
51 "requestMethod": "GET"
52 },
53 "clientProfile": {
54 "client": "CHROME",
55 "ipVersion": "IPV4",
56 "geoLocation": "US"
57 },
58 "condition": {
59 "conditionExpression": "Response code is one of \"{{successCodes.responseCodes}}\""
60 },
61 "order": 2,
62 "derivedTestCases": [
63 {
64 "testRequest": {
65 "testRequestUrl": "https://example.com/123/index",
66 "requestMethod": "GET"
67 },
68 "clientProfile": {
69 "client": "CHROME",
70 "ipVersion": "IPV4",
71 "geoLocation": "US"
72 },
73 "condition": {
74 "conditionExpression": "Response code is one of \"200\""
75 },
76 "order": 1
77 },
78 {
79 "testRequest": {
80 "testRequestUrl": "https://example.com//456/index",
81 "requestMethod": "GET"
82 },
83 "clientProfile": {
84 "client": "CHROME",
85 "ipVersion": "IPV4",
86 "geoLocation": "US"
87 },
88 "condition": {
89 "conditionExpression": "Response code is one of \"200\""
90 },
91 "order": 2
92 }
93 ]
94 }
95 ],
96 "variables": [
97 {
98 "createdBy": "cmath",
99 "createdDate": "2023-08-22T10:22:38+0000",
100 "modifiedBy": "cmath",
101 "modifiedDate": "2023-08-22T10:22:38+0000",
102 "variableId": 1,
103 "variableName": "sampleVarGroup",
104 "variableGroupValue": [
105 {
106 "columnHeader": "urls",
107 "columnValues": [
108 "example.com/123",
109 "example.com//456"
110 ]
111 }
112 ]
113 },
114 {
115 "createdBy": "cmath",
116 "createdDate": "2023-08-22T10:22:38+0000",
117 "modifiedBy": "cmath",
118 "modifiedDate": "2023-08-22T10:22:38+0000",
119 "variableId": 3,
120 "isDynamicallyUsed": false,
121 "variableName": "contentTypeValue",
122 "variableValue": "json"
123 },
124 {
125 "createdBy": "cmath",
126 "createdDate": "2023-08-22T10:22:38+0000",
127 "modifiedBy": "cmath",
128 "modifiedDate": "2023-08-22T10:22:38+0000",
129 "variableId": 4,
130 "variableName": "successCodes",
131 "variableGroupValue": [
132 {
133 "columnHeader": "responseCodes",
134 "columnValues": [
135 "200",
136 "200"
137 ]
138 }
139 ]
140 },
141 {
142 "createdBy": "cmath",
143 "createdDate": "2023-08-22T10:22:38+0000",
144 "modifiedBy": "cmath",
145 "modifiedDate": "2023-08-22T10:22:38+0000",
146 "variableId": 2,
147 "isDynamicallyUsed": false,
148 "variableName": "hostname",
149 "variableValue": "example.com"
150 }
151 ]
152 }
153}