Merge "Bump api master to 2.3.0-SNAPSHOT"
[policy/api.git] / testsuites / stability / src / main / resources / testplans / policy_api_stability.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2.1">
3   <hashTree>
4     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy API Performance" enabled="true">
5       <stringProp name="TestPlan.comments"></stringProp>
6       <boolProp name="TestPlan.functional_mode">false</boolProp>
7       <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
8       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
9       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
10         <collectionProp name="Arguments.arguments">
11           <elementProp name="API_HOST" elementType="Argument">
12             <stringProp name="Argument.name">API_HOST</stringProp>
13             <stringProp name="Argument.value">10.12.5.193</stringProp>
14             <stringProp name="Argument.metadata">=</stringProp>
15           </elementProp>
16           <elementProp name="API_PORT" elementType="Argument">
17             <stringProp name="Argument.name">API_PORT</stringProp>
18             <stringProp name="Argument.value">30709</stringProp>
19             <stringProp name="Argument.metadata">=</stringProp>
20           </elementProp>
21         </collectionProp>
22       </elementProp>
23       <stringProp name="TestPlan.user_define_classpath"></stringProp>
24     </TestPlan>
25     <hashTree>
26       <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
27         <collectionProp name="AuthManager.auth_list">
28           <elementProp name="" elementType="Authorization">
29             <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
30             <stringProp name="Authorization.username">healthcheck</stringProp>
31             <stringProp name="Authorization.password">zb!XztG34</stringProp>
32             <stringProp name="Authorization.domain"></stringProp>
33             <stringProp name="Authorization.realm"></stringProp>
34           </elementProp>
35         </collectionProp>
36         <boolProp name="AuthManager.clearEachIteration">true</boolProp>
37         <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
38       </AuthManager>
39       <hashTree/>
40       <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
41         <collectionProp name="HeaderManager.headers">
42           <elementProp name="" elementType="Header">
43             <stringProp name="Header.name">Accept</stringProp>
44             <stringProp name="Header.value">application/json</stringProp>
45           </elementProp>
46           <elementProp name="" elementType="Header">
47             <stringProp name="Header.name">Content-Type</stringProp>
48             <stringProp name="Header.value">application/json</stringProp>
49           </elementProp>
50         </collectionProp>
51       </HeaderManager>
52       <hashTree/>
53       <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
54         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
55         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
56           <boolProp name="LoopController.continue_forever">false</boolProp>
57           <stringProp name="LoopController.loops">1</stringProp>
58         </elementProp>
59         <stringProp name="ThreadGroup.num_threads">1</stringProp>
60         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
61         <boolProp name="ThreadGroup.scheduler">false</boolProp>
62         <stringProp name="ThreadGroup.duration"></stringProp>
63         <stringProp name="ThreadGroup.delay"></stringProp>
64         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
65       </SetupThreadGroup>
66       <hashTree>
67         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Statistics" enabled="true">
68           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
69             <collectionProp name="Arguments.arguments"/>
70           </elementProp>
71           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
72           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
73           <stringProp name="HTTPSampler.protocol">https</stringProp>
74           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
75           <stringProp name="HTTPSampler.path">/policy/api/v1/statistics</stringProp>
76           <stringProp name="HTTPSampler.method">GET</stringProp>
77           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
78           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
79           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
80           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
81           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
82           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
83           <stringProp name="HTTPSampler.response_timeout"></stringProp>
84         </HTTPSamplerProxy>
85         <hashTree>
86           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
87             <collectionProp name="Asserion.test_strings">
88               <stringProp name="49586">200</stringProp>
89             </collectionProp>
90             <stringProp name="Assertion.custom_message"></stringProp>
91             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
92             <boolProp name="Assertion.assume_success">false</boolProp>
93             <intProp name="Assertion.test_type">1</intProp>
94           </ResponseAssertion>
95           <hashTree/>
96           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
97             <stringProp name="scriptLanguage">groovy</stringProp>
98             <stringProp name="parameters"></stringProp>
99             <stringProp name="filename"></stringProp>
100             <stringProp name="cacheKey">true</stringProp>
101             <stringProp name="script">import groovy.json.JsonSlurper;
102
103 def res = [];
104 if (prev.getResponseCode() == &apos;200&apos;) {
105     def jsonSlurper = new JsonSlurper();
106     res = jsonSlurper.parseText(prev.getResponseDataAsString());
107
108     assert res instanceof Map;
109     assert res.code == 200;
110 }</stringProp>
111           </JSR223Assertion>
112           <hashTree/>
113         </hashTree>
114         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Preloaded Policy Types" enabled="true">
115           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
116             <collectionProp name="Arguments.arguments"/>
117           </elementProp>
118           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
119           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
120           <stringProp name="HTTPSampler.protocol">https</stringProp>
121           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
122           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
123           <stringProp name="HTTPSampler.method">GET</stringProp>
124           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
125           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
126           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
127           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
128           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
129           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
130           <stringProp name="HTTPSampler.response_timeout"></stringProp>
131         </HTTPSamplerProxy>
132         <hashTree>
133           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
134             <collectionProp name="Asserion.test_strings">
135               <stringProp name="49586">200</stringProp>
136             </collectionProp>
137             <stringProp name="Assertion.custom_message"></stringProp>
138             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
139             <boolProp name="Assertion.assume_success">false</boolProp>
140             <intProp name="Assertion.test_type">1</intProp>
141           </ResponseAssertion>
142           <hashTree/>
143           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
144             <stringProp name="scriptLanguage">groovy</stringProp>
145             <stringProp name="parameters"></stringProp>
146             <stringProp name="filename"></stringProp>
147             <stringProp name="cacheKey">true</stringProp>
148             <stringProp name="script">import groovy.json.JsonSlurper;
149
150 def res = [];
151 if (prev.getResponseCode() == &apos;200&apos;) {
152     def jsonSlurper = new JsonSlurper();
153     res = jsonSlurper.parseText(prev.getResponseDataAsString());
154
155     assert res instanceof Map;
156     assert res.policy_types instanceof Map;
157     assert res.policy_types.size() == 33;
158 }</stringProp>
159           </JSR223Assertion>
160           <hashTree/>
161         </hashTree>
162       </hashTree>
163       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="API Test Flow" enabled="true">
164         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
165         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
166           <boolProp name="LoopController.continue_forever">false</boolProp>
167           <intProp name="LoopController.loops">-1</intProp>
168         </elementProp>
169         <stringProp name="ThreadGroup.num_threads">5</stringProp>
170         <stringProp name="ThreadGroup.ramp_time">5</stringProp>
171         <boolProp name="ThreadGroup.scheduler">true</boolProp>
172         <stringProp name="ThreadGroup.duration">259200</stringProp>
173         <stringProp name="ThreadGroup.delay">5</stringProp>
174         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
175       </ThreadGroup>
176       <hashTree>
177         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Monitoring" enabled="true">
178           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
179           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
180             <collectionProp name="Arguments.arguments">
181               <elementProp name="" elementType="HTTPArgument">
182                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
183                 <stringProp name="Argument.value">{&#xd;
184     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
185     &quot;policy_types&quot;: {&#xd;
186         &quot;onap.policies.Monitoring&quot;: {&#xd;
187             &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
188             &quot;version&quot;: &quot;6.0.0&quot;,&#xd;
189             &quot;description&quot;: &quot;a base policy type for all policies that govern monitoring provisioning&quot;&#xd;
190         },&#xd;
191         &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;: {&#xd;
192             &quot;derived_from&quot;: &quot;onap.policies.Monitoring&quot;,&#xd;
193             &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
194             &quot;properties&quot;: {&#xd;
195                 &quot;tca_policy&quot;: {&#xd;
196                     &quot;type&quot;: &quot;onap.datatypes.monitoring.tca_policy&quot;,&#xd;
197                     &quot;description&quot;: &quot;TCA Policy JSON&quot;,&#xd;
198                     &quot;required&quot;: true&#xd;
199                 }&#xd;
200             }&#xd;
201         }&#xd;
202     },&#xd;
203     &quot;data_types&quot;: {&#xd;
204         &quot;onap.datatypes.monitoring.metricsPerEventName&quot;: {&#xd;
205             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
206             &quot;properties&quot;: {&#xd;
207                 &quot;controlLoopSchemaType&quot;: {&#xd;
208                     &quot;type&quot;: &quot;string&quot;,&#xd;
209                     &quot;required&quot;: true,&#xd;
210                     &quot;description&quot;: &quot;Specifies Control Loop Schema Type for the event Name e.g. VNF, VM&quot;,&#xd;
211                     &quot;constraints&quot;: [&#xd;
212                         {&#xd;
213                             &quot;valid_values&quot;: [&#xd;
214                                 &quot;VM&quot;,&#xd;
215                                 &quot;VNF&quot;&#xd;
216                             ]&#xd;
217                         }&#xd;
218                     ]&#xd;
219                 },&#xd;
220                 &quot;eventName&quot;: {&#xd;
221                     &quot;type&quot;: &quot;string&quot;,&#xd;
222                     &quot;required&quot;: true,&#xd;
223                     &quot;description&quot;: &quot;Event name to which thresholds need to be applied&quot;&#xd;
224                 },&#xd;
225                 &quot;policyName&quot;: {&#xd;
226                     &quot;type&quot;: &quot;string&quot;,&#xd;
227                     &quot;required&quot;: true,&#xd;
228                     &quot;description&quot;: &quot;TCA Policy Scope Name&quot;&#xd;
229                 },&#xd;
230                 &quot;policyScope&quot;: {&#xd;
231                     &quot;type&quot;: &quot;string&quot;,&#xd;
232                     &quot;required&quot;: true,&#xd;
233                     &quot;description&quot;: &quot;TCA Policy Scope&quot;&#xd;
234                 },&#xd;
235                 &quot;policyVersion&quot;: {&#xd;
236                     &quot;type&quot;: &quot;string&quot;,&#xd;
237                     &quot;required&quot;: true,&#xd;
238                     &quot;description&quot;: &quot;TCA Policy Scope Version&quot;&#xd;
239                 },&#xd;
240                 &quot;thresholds&quot;: {&#xd;
241                     &quot;type&quot;: &quot;list&quot;,&#xd;
242                     &quot;required&quot;: true,&#xd;
243                     &quot;description&quot;: &quot;Thresholds associated with eventName&quot;,&#xd;
244                     &quot;entry_schema&quot;: {&#xd;
245                         &quot;type&quot;: &quot;onap.datatypes.monitoring.thresholds&quot;&#xd;
246                     }&#xd;
247                 }&#xd;
248             }&#xd;
249         },&#xd;
250         &quot;onap.datatypes.monitoring.tca_policy&quot;: {&#xd;
251             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
252             &quot;properties&quot;: {&#xd;
253                 &quot;domain&quot;: {&#xd;
254                     &quot;type&quot;: &quot;string&quot;,&#xd;
255                     &quot;required&quot;: true,&#xd;
256                     &quot;description&quot;: &quot;Domain name to which TCA needs to be applied&quot;,&#xd;
257                     &quot;default&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
258                     &quot;constraints&quot;: [&#xd;
259                         {&#xd;
260                             &quot;equal&quot;: &quot;measurementsForVfScaling&quot;&#xd;
261                         }&#xd;
262                     ]&#xd;
263                 },&#xd;
264                 &quot;metricsPerEventName&quot;: {&#xd;
265                     &quot;type&quot;: &quot;list&quot;,&#xd;
266                     &quot;required&quot;: true,&#xd;
267                     &quot;description&quot;: &quot;Contains eventName and threshold details that need to be applied to given eventName&quot;,&#xd;
268                     &quot;entry_schema&quot;: {&#xd;
269                         &quot;type&quot;: &quot;onap.datatypes.monitoring.metricsPerEventName&quot;&#xd;
270                     }&#xd;
271                 }&#xd;
272             }&#xd;
273         },&#xd;
274         &quot;onap.datatypes.monitoring.thresholds&quot;: {&#xd;
275             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
276             &quot;properties&quot;: {&#xd;
277                 &quot;closedLoopControlName&quot;: {&#xd;
278                     &quot;type&quot;: &quot;string&quot;,&#xd;
279                     &quot;required&quot;: true,&#xd;
280                     &quot;description&quot;: &quot;Closed Loop Control Name associated with the threshold&quot;&#xd;
281                 },&#xd;
282                 &quot;closedLoopEventStatus&quot;: {&#xd;
283                     &quot;type&quot;: &quot;string&quot;,&#xd;
284                     &quot;required&quot;: true,&#xd;
285                     &quot;description&quot;: &quot;Closed Loop Event Status of the threshold&quot;,&#xd;
286                     &quot;constraints&quot;: [&#xd;
287                         {&#xd;
288                             &quot;valid_values&quot;: [&#xd;
289                                 &quot;ONSET&quot;,&#xd;
290                                 &quot;ABATED&quot;&#xd;
291                             ]&#xd;
292                         }&#xd;
293                     ]&#xd;
294                 },&#xd;
295                 &quot;direction&quot;: {&#xd;
296                     &quot;type&quot;: &quot;string&quot;,&#xd;
297                     &quot;required&quot;: true,&#xd;
298                     &quot;description&quot;: &quot;Direction of the threshold&quot;,&#xd;
299                     &quot;constraints&quot;: [&#xd;
300                         {&#xd;
301                             &quot;valid_values&quot;: [&#xd;
302                                 &quot;LESS&quot;,&#xd;
303                                 &quot;LESS_OR_EQUAL&quot;,&#xd;
304                                 &quot;GREATER&quot;,&#xd;
305                                 &quot;GREATER_OR_EQUAL&quot;,&#xd;
306                                 &quot;EQUAL&quot;&#xd;
307                             ]&#xd;
308                         }&#xd;
309                     ]&#xd;
310                 },&#xd;
311                 &quot;fieldPath&quot;: {&#xd;
312                     &quot;type&quot;: &quot;string&quot;,&#xd;
313                     &quot;required&quot;: true,&#xd;
314                     &quot;description&quot;: &quot;Json field Path as per CEF message which needs to be analyzed for TCA&quot;,&#xd;
315                     &quot;constraints&quot;: [&#xd;
316                         {&#xd;
317                             &quot;valid_values&quot;: [&#xd;
318                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta&quot;,&#xd;
319                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta&quot;,&#xd;
320                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta&quot;,&#xd;
321                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta&quot;,&#xd;
322                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta&quot;,&#xd;
323                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta&quot;,&#xd;
324                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta&quot;,&#xd;
325                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated&quot;,&#xd;
326                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated&quot;,&#xd;
327                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated&quot;,&#xd;
328                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated&quot;,&#xd;
329                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated&quot;,&#xd;
330                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated&quot;,&#xd;
331                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated&quot;,&#xd;
332                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta&quot;,&#xd;
333                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta&quot;,&#xd;
334                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta&quot;,&#xd;
335                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta&quot;,&#xd;
336                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta&quot;,&#xd;
337                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta&quot;,&#xd;
338                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta&quot;,&#xd;
339                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated&quot;,&#xd;
340                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated&quot;,&#xd;
341                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated&quot;,&#xd;
342                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated&quot;,&#xd;
343                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated&quot;,&#xd;
344                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated&quot;,&#xd;
345                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated&quot;,&#xd;
346                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle&quot;,&#xd;
347                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt&quot;,&#xd;
348                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice&quot;,&#xd;
349                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq&quot;,&#xd;
350                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal&quot;,&#xd;
351                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem&quot;,&#xd;
352                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait&quot;,&#xd;
353                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage&quot;,&#xd;
354                                 &quot;$.event.measurementsForVfScalingFields.meanRequestLatency&quot;,&#xd;
355                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered&quot;,&#xd;
356                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached&quot;,&#xd;
357                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured&quot;,&#xd;
358                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree&quot;,&#xd;
359                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed&quot;,&#xd;
360                                 &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;&#xd;
361                             ]&#xd;
362                         }&#xd;
363                     ]&#xd;
364                 },&#xd;
365                 &quot;severity&quot;: {&#xd;
366                     &quot;type&quot;: &quot;string&quot;,&#xd;
367                     &quot;required&quot;: true,&#xd;
368                     &quot;description&quot;: &quot;Threshold Event Severity&quot;,&#xd;
369                     &quot;constraints&quot;: [&#xd;
370                         {&#xd;
371                             &quot;valid_values&quot;: [&#xd;
372                                 &quot;CRITICAL&quot;,&#xd;
373                                 &quot;MAJOR&quot;,&#xd;
374                                 &quot;MINOR&quot;,&#xd;
375                                 &quot;WARNING&quot;,&#xd;
376                                 &quot;NORMAL&quot;&#xd;
377                             ]&#xd;
378                         }&#xd;
379                     ]&#xd;
380                 },&#xd;
381                 &quot;thresholdValue&quot;: {&#xd;
382                     &quot;type&quot;: &quot;integer&quot;,&#xd;
383                     &quot;required&quot;: true,&#xd;
384                     &quot;description&quot;: &quot;Threshold value for the field Path inside CEF message&quot;&#xd;
385                 },&#xd;
386                 &quot;version&quot;: {&#xd;
387                     &quot;type&quot;: &quot;string&quot;,&#xd;
388                     &quot;required&quot;: true,&#xd;
389                     &quot;description&quot;: &quot;Version number associated with the threshold&quot;&#xd;
390                 }&#xd;
391             }&#xd;
392         }&#xd;
393     }&#xd;
394 }</stringProp>
395                 <stringProp name="Argument.metadata">=</stringProp>
396               </elementProp>
397             </collectionProp>
398           </elementProp>
399           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
400           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
401           <stringProp name="HTTPSampler.protocol">https</stringProp>
402           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
403           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
404           <stringProp name="HTTPSampler.method">POST</stringProp>
405           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
406           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
407           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
408           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
409           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
410           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
411           <stringProp name="HTTPSampler.response_timeout"></stringProp>
412         </HTTPSamplerProxy>
413         <hashTree>
414           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
415             <collectionProp name="Asserion.test_strings">
416               <stringProp name="49586">200</stringProp>
417             </collectionProp>
418             <stringProp name="Assertion.custom_message"></stringProp>
419             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
420             <boolProp name="Assertion.assume_success">false</boolProp>
421             <intProp name="Assertion.test_type">1</intProp>
422           </ResponseAssertion>
423           <hashTree/>
424           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
425             <stringProp name="scriptLanguage">groovy</stringProp>
426             <stringProp name="parameters"></stringProp>
427             <stringProp name="filename"></stringProp>
428             <stringProp name="cacheKey">true</stringProp>
429             <stringProp name="script">import groovy.json.JsonSlurper;
430
431 def res = [];
432 if (prev.getResponseCode() == &apos;200&apos;) {
433     def jsonSlurper = new JsonSlurper();
434     res = jsonSlurper.parseText(prev.getResponseDataAsString());
435
436     assert res instanceof Map;
437     assert res.policy_types instanceof Map;
438     assert res.policy_types.size() == 2;
439     assert res.policy_types.values()[0] instanceof Map;
440     assert res.policy_types.values()[1] instanceof Map;
441 }</stringProp>
442           </JSR223Assertion>
443           <hashTree/>
444         </hashTree>
445         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Monitoring V7" enabled="true">
446           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
447           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
448             <collectionProp name="Arguments.arguments">
449               <elementProp name="" elementType="HTTPArgument">
450                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
451                 <stringProp name="Argument.value">{&#xd;
452     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
453     &quot;policy_types&quot;: {&#xd;
454         &quot;onap.policies.Monitoring&quot;: {&#xd;
455             &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
456             &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
457             &quot;description&quot;: &quot;a base policy type for all policies that govern monitoring provisioning&quot;&#xd;
458         },&#xd;
459         &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;: {&#xd;
460             &quot;derived_from&quot;: &quot;onap.policies.Monitoring&quot;,&#xd;
461             &quot;version&quot;: &quot;7.0.${__threadNum}&quot;,&#xd;
462             &quot;properties&quot;: {&#xd;
463                 &quot;tca_policy&quot;: {&#xd;
464                     &quot;type&quot;: &quot;onap.datatypes.monitoring.tca_policy&quot;,&#xd;
465                     &quot;description&quot;: &quot;TCA Policy JSON&quot;,&#xd;
466                     &quot;required&quot;: true&#xd;
467                 }&#xd;
468             }&#xd;
469         }&#xd;
470     },&#xd;
471     &quot;data_types&quot;: {&#xd;
472         &quot;onap.datatypes.monitoring.metricsPerEventName&quot;: {&#xd;
473             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
474             &quot;properties&quot;: {&#xd;
475                 &quot;controlLoopSchemaType&quot;: {&#xd;
476                     &quot;type&quot;: &quot;string&quot;,&#xd;
477                     &quot;required&quot;: true,&#xd;
478                     &quot;description&quot;: &quot;Specifies Control Loop Schema Type for the event Name e.g. VNF, VM&quot;,&#xd;
479                     &quot;constraints&quot;: [&#xd;
480                         {&#xd;
481                             &quot;valid_values&quot;: [&#xd;
482                                 &quot;VM&quot;,&#xd;
483                                 &quot;VNF&quot;&#xd;
484                             ]&#xd;
485                         }&#xd;
486                     ]&#xd;
487                 },&#xd;
488                 &quot;eventName&quot;: {&#xd;
489                     &quot;type&quot;: &quot;string&quot;,&#xd;
490                     &quot;required&quot;: true,&#xd;
491                     &quot;description&quot;: &quot;Event name to which thresholds need to be applied&quot;&#xd;
492                 },&#xd;
493                 &quot;policyName&quot;: {&#xd;
494                     &quot;type&quot;: &quot;string&quot;,&#xd;
495                     &quot;required&quot;: true,&#xd;
496                     &quot;description&quot;: &quot;TCA Policy Scope Name&quot;&#xd;
497                 },&#xd;
498                 &quot;policyScope&quot;: {&#xd;
499                     &quot;type&quot;: &quot;string&quot;,&#xd;
500                     &quot;required&quot;: true,&#xd;
501                     &quot;description&quot;: &quot;TCA Policy Scope&quot;&#xd;
502                 },&#xd;
503                 &quot;policyVersion&quot;: {&#xd;
504                     &quot;type&quot;: &quot;string&quot;,&#xd;
505                     &quot;required&quot;: true,&#xd;
506                     &quot;description&quot;: &quot;TCA Policy Scope Version&quot;&#xd;
507                 },&#xd;
508                 &quot;thresholds&quot;: {&#xd;
509                     &quot;type&quot;: &quot;list&quot;,&#xd;
510                     &quot;required&quot;: true,&#xd;
511                     &quot;description&quot;: &quot;Thresholds associated with eventName&quot;,&#xd;
512                     &quot;entry_schema&quot;: {&#xd;
513                         &quot;type&quot;: &quot;onap.datatypes.monitoring.thresholds&quot;&#xd;
514                     }&#xd;
515                 }&#xd;
516             }&#xd;
517         },&#xd;
518         &quot;onap.datatypes.monitoring.tca_policy&quot;: {&#xd;
519             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
520             &quot;properties&quot;: {&#xd;
521                 &quot;domain&quot;: {&#xd;
522                     &quot;type&quot;: &quot;string&quot;,&#xd;
523                     &quot;required&quot;: true,&#xd;
524                     &quot;description&quot;: &quot;Domain name to which TCA needs to be applied&quot;,&#xd;
525                     &quot;default&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
526                     &quot;constraints&quot;: [&#xd;
527                         {&#xd;
528                             &quot;equal&quot;: &quot;measurementsForVfScaling&quot;&#xd;
529                         }&#xd;
530                     ]&#xd;
531                 },&#xd;
532                 &quot;metricsPerEventName&quot;: {&#xd;
533                     &quot;type&quot;: &quot;list&quot;,&#xd;
534                     &quot;required&quot;: true,&#xd;
535                     &quot;description&quot;: &quot;Contains eventName and threshold details that need to be applied to given eventName&quot;,&#xd;
536                     &quot;entry_schema&quot;: {&#xd;
537                         &quot;type&quot;: &quot;onap.datatypes.monitoring.metricsPerEventName&quot;&#xd;
538                     }&#xd;
539                 }&#xd;
540             }&#xd;
541         },&#xd;
542         &quot;onap.datatypes.monitoring.thresholds&quot;: {&#xd;
543             &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
544             &quot;properties&quot;: {&#xd;
545                 &quot;closedLoopControlName&quot;: {&#xd;
546                     &quot;type&quot;: &quot;string&quot;,&#xd;
547                     &quot;required&quot;: true,&#xd;
548                     &quot;description&quot;: &quot;Closed Loop Control Name associated with the threshold&quot;&#xd;
549                 },&#xd;
550                 &quot;closedLoopEventStatus&quot;: {&#xd;
551                     &quot;type&quot;: &quot;string&quot;,&#xd;
552                     &quot;required&quot;: true,&#xd;
553                     &quot;description&quot;: &quot;Closed Loop Event Status of the threshold&quot;,&#xd;
554                     &quot;constraints&quot;: [&#xd;
555                         {&#xd;
556                             &quot;valid_values&quot;: [&#xd;
557                                 &quot;ONSET&quot;,&#xd;
558                                 &quot;ABATED&quot;&#xd;
559                             ]&#xd;
560                         }&#xd;
561                     ]&#xd;
562                 },&#xd;
563                 &quot;direction&quot;: {&#xd;
564                     &quot;type&quot;: &quot;string&quot;,&#xd;
565                     &quot;required&quot;: true,&#xd;
566                     &quot;description&quot;: &quot;Direction of the threshold&quot;,&#xd;
567                     &quot;constraints&quot;: [&#xd;
568                         {&#xd;
569                             &quot;valid_values&quot;: [&#xd;
570                                 &quot;LESS&quot;,&#xd;
571                                 &quot;LESS_OR_EQUAL&quot;,&#xd;
572                                 &quot;GREATER&quot;,&#xd;
573                                 &quot;GREATER_OR_EQUAL&quot;,&#xd;
574                                 &quot;EQUAL&quot;&#xd;
575                             ]&#xd;
576                         }&#xd;
577                     ]&#xd;
578                 },&#xd;
579                 &quot;fieldPath&quot;: {&#xd;
580                     &quot;type&quot;: &quot;string&quot;,&#xd;
581                     &quot;required&quot;: true,&#xd;
582                     &quot;description&quot;: &quot;Json field Path as per CEF message which needs to be analyzed for TCA&quot;,&#xd;
583                     &quot;constraints&quot;: [&#xd;
584                         {&#xd;
585                             &quot;valid_values&quot;: [&#xd;
586                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta&quot;,&#xd;
587                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsDelta&quot;,&#xd;
588                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsDelta&quot;,&#xd;
589                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsDelta&quot;,&#xd;
590                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsDelta&quot;,&#xd;
591                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta&quot;,&#xd;
592                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsDelta&quot;,&#xd;
593                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsAccumulated&quot;,&#xd;
594                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedOctetsAccumulated&quot;,&#xd;
595                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedUnicastPacketsAccumulated&quot;,&#xd;
596                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedMulticastPacketsAccumulated&quot;,&#xd;
597                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated&quot;,&#xd;
598                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsAccumulated&quot;,&#xd;
599                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedErrorPacketsAccumulated&quot;,&#xd;
600                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsDelta&quot;,&#xd;
601                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsDelta&quot;,&#xd;
602                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsDelta&quot;,&#xd;
603                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsDelta&quot;,&#xd;
604                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsDelta&quot;,&#xd;
605                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsDelta&quot;,&#xd;
606                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsDelta&quot;,&#xd;
607                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedTotalPacketsAccumulated&quot;,&#xd;
608                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedOctetsAccumulated&quot;,&#xd;
609                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedUnicastPacketsAccumulated&quot;,&#xd;
610                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedMulticastPacketsAccumulated&quot;,&#xd;
611                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedBroadcastPacketsAccumulated&quot;,&#xd;
612                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedDiscardedPacketsAccumulated&quot;,&#xd;
613                                 &quot;$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].transmittedErrorPacketsAccumulated&quot;,&#xd;
614                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuIdle&quot;,&#xd;
615                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageInterrupt&quot;,&#xd;
616                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageNice&quot;,&#xd;
617                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSoftIrq&quot;,&#xd;
618                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSteal&quot;,&#xd;
619                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuUsageSystem&quot;,&#xd;
620                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].cpuWait&quot;,&#xd;
621                                 &quot;$.event.measurementsForVfScalingFields.cpuUsageArray[*].percentUsage&quot;,&#xd;
622                                 &quot;$.event.measurementsForVfScalingFields.meanRequestLatency&quot;,&#xd;
623                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryBuffered&quot;,&#xd;
624                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryCached&quot;,&#xd;
625                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryConfigured&quot;,&#xd;
626                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryFree&quot;,&#xd;
627                                 &quot;$.event.measurementsForVfScalingFields.memoryUsageArray[*].memoryUsed&quot;,&#xd;
628                                 &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;&#xd;
629                             ]&#xd;
630                         }&#xd;
631                     ]&#xd;
632                 },&#xd;
633                 &quot;severity&quot;: {&#xd;
634                     &quot;type&quot;: &quot;string&quot;,&#xd;
635                     &quot;required&quot;: true,&#xd;
636                     &quot;description&quot;: &quot;Threshold Event Severity&quot;,&#xd;
637                     &quot;constraints&quot;: [&#xd;
638                         {&#xd;
639                             &quot;valid_values&quot;: [&#xd;
640                                 &quot;CRITICAL&quot;,&#xd;
641                                 &quot;MAJOR&quot;,&#xd;
642                                 &quot;MINOR&quot;,&#xd;
643                                 &quot;WARNING&quot;,&#xd;
644                                 &quot;NORMAL&quot;&#xd;
645                             ]&#xd;
646                         }&#xd;
647                     ]&#xd;
648                 },&#xd;
649                 &quot;thresholdValue&quot;: {&#xd;
650                     &quot;type&quot;: &quot;integer&quot;,&#xd;
651                     &quot;required&quot;: true,&#xd;
652                     &quot;description&quot;: &quot;Threshold value for the field Path inside CEF message&quot;&#xd;
653                 },&#xd;
654                 &quot;version&quot;: {&#xd;
655                     &quot;type&quot;: &quot;string&quot;,&#xd;
656                     &quot;required&quot;: true,&#xd;
657                     &quot;description&quot;: &quot;Version number associated with the threshold&quot;&#xd;
658                 }&#xd;
659             }&#xd;
660         }&#xd;
661     }&#xd;
662 }</stringProp>
663                 <stringProp name="Argument.metadata">=</stringProp>
664               </elementProp>
665             </collectionProp>
666           </elementProp>
667           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
668           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
669           <stringProp name="HTTPSampler.protocol">https</stringProp>
670           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
671           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
672           <stringProp name="HTTPSampler.method">POST</stringProp>
673           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
674           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
675           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
676           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
677           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
678           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
679           <stringProp name="HTTPSampler.response_timeout"></stringProp>
680         </HTTPSamplerProxy>
681         <hashTree>
682           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
683             <collectionProp name="Asserion.test_strings">
684               <stringProp name="49586">200</stringProp>
685             </collectionProp>
686             <stringProp name="Assertion.custom_message"></stringProp>
687             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
688             <boolProp name="Assertion.assume_success">false</boolProp>
689             <intProp name="Assertion.test_type">1</intProp>
690           </ResponseAssertion>
691           <hashTree/>
692           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
693             <stringProp name="scriptLanguage">groovy</stringProp>
694             <stringProp name="parameters"></stringProp>
695             <stringProp name="filename"></stringProp>
696             <stringProp name="cacheKey">true</stringProp>
697             <stringProp name="script">import groovy.json.JsonSlurper;
698
699 def res = [];
700 if (prev.getResponseCode() == &apos;200&apos;) {
701     def jsonSlurper = new JsonSlurper();
702     res = jsonSlurper.parseText(prev.getResponseDataAsString());
703
704     assert res instanceof Map;
705     assert res.policy_types instanceof Map;
706     assert res.policy_types.size() == 2;
707     assert res.policy_types.values()[0] instanceof Map;
708     assert res.policy_types.values()[1] instanceof Map;
709 }</stringProp>
710           </JSR223Assertion>
711           <hashTree/>
712         </hashTree>
713         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Optimization" enabled="true">
714           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
715           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
716             <collectionProp name="Arguments.arguments">
717               <elementProp name="" elementType="HTTPArgument">
718                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
719                 <stringProp name="Argument.value">{&#xd;
720    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
721    &quot;policy_types&quot;: {&#xd;
722       &quot;onap.policies.optimization.resource.AffinityPolicy&quot;: {&#xd;
723          &quot;derived_from&quot;: &quot;onap.policies.optimization.Resource&quot;,&#xd;
724          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
725          &quot;properties&quot;: {&#xd;
726             &quot;applicableResources&quot;: {&#xd;
727                &quot;type&quot;: &quot;list&quot;,&#xd;
728                &quot;required&quot;: true,&#xd;
729                &quot;entry_schema&quot;: {&#xd;
730                   &quot;type&quot;: &quot;string&quot;,&#xd;
731                   &quot;constraints&quot;: [&#xd;
732                      {&#xd;
733                         &quot;valid_values&quot;: [&#xd;
734                            &quot;any&quot;,&#xd;
735                            &quot;all&quot;&#xd;
736                         ]&#xd;
737                      }&#xd;
738                   ]&#xd;
739                }&#xd;
740             },&#xd;
741             &quot;affinityProperties&quot;: {&#xd;
742                &quot;type&quot;: &quot;policy.data.affinityProperties_properties&quot;,&#xd;
743                &quot;required&quot;: true&#xd;
744             }&#xd;
745          }&#xd;
746       }&#xd;
747    },&#xd;
748    &quot;data_types&quot;: {&#xd;
749       &quot;policy.data.affinityProperties_properties&quot;: {&#xd;
750          &quot;derived_from&quot;: &quot;tosca.nodes.Root&quot;,&#xd;
751          &quot;properties&quot;: {&#xd;
752             &quot;qualifier&quot;: {&#xd;
753                &quot;type&quot;: &quot;string&quot;,&#xd;
754                &quot;constraints&quot;: [&#xd;
755                   {&#xd;
756                      &quot;valid_values&quot;: [&#xd;
757                         &quot;same&quot;,&#xd;
758                         &quot;different&quot;&#xd;
759                      ]&#xd;
760                   }&#xd;
761                ]&#xd;
762             },&#xd;
763             &quot;category&quot;: {&#xd;
764                &quot;type&quot;: &quot;string&quot;,&#xd;
765                &quot;required&quot;: true&#xd;
766             }&#xd;
767          }&#xd;
768       }&#xd;
769    }&#xd;
770 }</stringProp>
771                 <stringProp name="Argument.metadata">=</stringProp>
772               </elementProp>
773             </collectionProp>
774           </elementProp>
775           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
776           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
777           <stringProp name="HTTPSampler.protocol">https</stringProp>
778           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
779           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
780           <stringProp name="HTTPSampler.method">POST</stringProp>
781           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
782           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
783           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
784           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
785           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
786           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
787           <stringProp name="HTTPSampler.response_timeout"></stringProp>
788         </HTTPSamplerProxy>
789         <hashTree>
790           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
791             <collectionProp name="Asserion.test_strings">
792               <stringProp name="49586">200</stringProp>
793             </collectionProp>
794             <stringProp name="Assertion.custom_message"></stringProp>
795             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
796             <boolProp name="Assertion.assume_success">false</boolProp>
797             <intProp name="Assertion.test_type">1</intProp>
798           </ResponseAssertion>
799           <hashTree/>
800           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
801             <stringProp name="scriptLanguage">groovy</stringProp>
802             <stringProp name="parameters"></stringProp>
803             <stringProp name="filename"></stringProp>
804             <stringProp name="cacheKey">true</stringProp>
805             <stringProp name="script">import groovy.json.JsonSlurper;
806
807 def res = [];
808 if (prev.getResponseCode() == &apos;200&apos;) {
809     def jsonSlurper = new JsonSlurper();
810     res = jsonSlurper.parseText(prev.getResponseDataAsString());
811
812     assert res instanceof Map;
813     assert res.policy_types instanceof Map;
814     assert res.policy_types.size() == 1;
815     assert res.policy_types.values()[0] instanceof Map;
816  //   assert res.policy_types.values()[1] instanceof Map;
817 }</stringProp>
818           </JSR223Assertion>
819           <hashTree/>
820         </hashTree>
821         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Guard" enabled="true">
822           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
823           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
824             <collectionProp name="Arguments.arguments">
825               <elementProp name="" elementType="HTTPArgument">
826                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
827                 <stringProp name="Argument.value">{&#xd;
828    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
829    &quot;policy_types&quot;: {&#xd;
830       &quot;onap.policies.controlloop.guard.common.Blacklist&quot;: {&#xd;
831          &quot;derived_from&quot;: &quot;onap.policies.controlloop.guard.Common&quot;,&#xd;
832          &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
833          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
834          &quot;description&quot;: &quot;Supports blacklist of entity id&apos;s from performing control loop actions on.&quot;,&#xd;
835          &quot;properties&quot;: {&#xd;
836             &quot;blacklist&quot;: {&#xd;
837                &quot;type&quot;: &quot;list&quot;,&#xd;
838                &quot;description&quot;: &quot;List of entity id&apos;s not allowed to have control loop operations on.&quot;,&#xd;
839                &quot;required&quot;: true,&#xd;
840                &quot;entry_schema&quot;: {&#xd;
841                   &quot;type&quot;: &quot;string&quot;&#xd;
842                }&#xd;
843             }&#xd;
844          }&#xd;
845       }&#xd;
846    }&#xd;
847 }</stringProp>
848                 <stringProp name="Argument.metadata">=</stringProp>
849               </elementProp>
850             </collectionProp>
851           </elementProp>
852           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
853           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
854           <stringProp name="HTTPSampler.protocol">https</stringProp>
855           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
856           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
857           <stringProp name="HTTPSampler.method">POST</stringProp>
858           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
859           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
860           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
861           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
862           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
863           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
864           <stringProp name="HTTPSampler.response_timeout"></stringProp>
865         </HTTPSamplerProxy>
866         <hashTree>
867           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
868             <collectionProp name="Asserion.test_strings">
869               <stringProp name="49586">200</stringProp>
870             </collectionProp>
871             <stringProp name="Assertion.custom_message"></stringProp>
872             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
873             <boolProp name="Assertion.assume_success">false</boolProp>
874             <intProp name="Assertion.test_type">1</intProp>
875           </ResponseAssertion>
876           <hashTree/>
877           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
878             <stringProp name="scriptLanguage">groovy</stringProp>
879             <stringProp name="parameters"></stringProp>
880             <stringProp name="filename"></stringProp>
881             <stringProp name="cacheKey">true</stringProp>
882             <stringProp name="script">import groovy.json.JsonSlurper;
883
884 def res = [];
885 if (prev.getResponseCode() == &apos;200&apos;) {
886     def jsonSlurper = new JsonSlurper();
887     res = jsonSlurper.parseText(prev.getResponseDataAsString());
888
889     assert res instanceof Map;
890     assert res.policy_types instanceof Map;
891     assert res.policy_types.size() == 1;
892     assert res.policy_types.values()[0] instanceof Map;
893 }</stringProp>
894           </JSR223Assertion>
895           <hashTree/>
896         </hashTree>
897         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Native APEX" enabled="true">
898           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
899           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
900             <collectionProp name="Arguments.arguments">
901               <elementProp name="" elementType="HTTPArgument">
902                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
903                 <stringProp name="Argument.value">{&#xd;
904    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
905    &quot;policy_types&quot;: {&#xd;
906       &quot;onap.policies.Native&quot;: {&#xd;
907          &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
908          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
909          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
910       },&#xd;
911       &quot;onap.policies.native.Apex&quot;: {&#xd;
912          &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
913          &quot;description&quot;: &quot;a policy type for native apex policies&quot;,&#xd;
914          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
915          &quot;properties&quot;: {&#xd;
916             &quot;engine_service&quot;: {&#xd;
917                &quot;type&quot;: &quot;onap.datatypes.native.apex.EngineService&quot;,&#xd;
918                &quot;description&quot;: &quot;APEX Engine Service Parameters&quot;&#xd;
919             },&#xd;
920             &quot;inputs&quot;: {&#xd;
921                &quot;type&quot;: &quot;map&quot;,&#xd;
922                &quot;description&quot;: &quot;Inputs for handling events coming into the APEX engine&quot;,&#xd;
923                &quot;entry_schema&quot;: {&#xd;
924                   &quot;type&quot;: &quot;onap.datatypes.native.apex.EventHandler&quot;&#xd;
925                }&#xd;
926             },&#xd;
927             &quot;outputs&quot;: {&#xd;
928                &quot;type&quot;: &quot;map&quot;,&#xd;
929                &quot;description&quot;: &quot;Outputs for handling events going out of the APEX engine&quot;,&#xd;
930                &quot;entry_schema&quot;: {&#xd;
931                   &quot;type&quot;: &quot;onap.datatypes.native.apex.EventHandler&quot;&#xd;
932                }&#xd;
933             },&#xd;
934             &quot;environment&quot;: {&#xd;
935                &quot;type&quot;: &quot;list&quot;,&#xd;
936                &quot;description&quot;: &quot;Envioronmental parameters for the APEX engine&quot;,&#xd;
937                &quot;entry_schema&quot;: {&#xd;
938                   &quot;type&quot;: &quot;onap.datatypes.native.apex.Environment&quot;&#xd;
939                }&#xd;
940             }&#xd;
941          }&#xd;
942       }&#xd;
943    },&#xd;
944    &quot;data_types&quot;: {&#xd;
945       &quot;onap.datatypes.native.apex.EngineService&quot;: {&#xd;
946          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
947          &quot;properties&quot;: {&#xd;
948             &quot;name&quot;: {&#xd;
949                &quot;type&quot;: &quot;string&quot;,&#xd;
950                &quot;description&quot;: &quot;Specifies the engine name&quot;,&#xd;
951                &quot;required&quot;: false,&#xd;
952                &quot;default&quot;: &quot;ApexEngineService&quot;&#xd;
953             },&#xd;
954             &quot;version&quot;: {&#xd;
955                &quot;type&quot;: &quot;string&quot;,&#xd;
956                &quot;description&quot;: &quot;Specifies the engine version in double dotted format&quot;,&#xd;
957                &quot;required&quot;: false,&#xd;
958                &quot;default&quot;: &quot;1.0.0&quot;&#xd;
959             },&#xd;
960             &quot;id&quot;: {&#xd;
961                &quot;type&quot;: &quot;integer&quot;,&#xd;
962                &quot;description&quot;: &quot;Specifies the engine id&quot;,&#xd;
963                &quot;required&quot;: true&#xd;
964             },&#xd;
965             &quot;instance_count&quot;: {&#xd;
966                &quot;type&quot;: &quot;integer&quot;,&#xd;
967                &quot;description&quot;: &quot;Specifies the number of engine threads that should be run&quot;,&#xd;
968                &quot;required&quot;: true&#xd;
969             },&#xd;
970             &quot;deployment_port&quot;: {&#xd;
971                &quot;type&quot;: &quot;integer&quot;,&#xd;
972                &quot;description&quot;: &quot;Specifies the port to connect to for engine administration&quot;,&#xd;
973                &quot;required&quot;: false,&#xd;
974                &quot;default&quot;: 1&#xd;
975             },&#xd;
976             &quot;policy_model_file_name&quot;: {&#xd;
977                &quot;type&quot;: &quot;string&quot;,&#xd;
978                &quot;description&quot;: &quot;The name of the file from which to read the APEX policy model&quot;,&#xd;
979                &quot;required&quot;: false&#xd;
980             },&#xd;
981             &quot;policy_type_impl&quot;: {&#xd;
982                &quot;type&quot;: &quot;string&quot;,&#xd;
983                &quot;description&quot;: &quot;The policy type implementation from which to read the APEX policy model&quot;,&#xd;
984                &quot;required&quot;: false&#xd;
985             },&#xd;
986             &quot;periodic_event_period&quot;: {&#xd;
987                &quot;type&quot;: &quot;string&quot;,&#xd;
988                &quot;description&quot;: &quot;The time interval in milliseconds for the periodic scanning event, 0 means don&apos;t scan&quot;,&#xd;
989                &quot;required&quot;: false&#xd;
990             },&#xd;
991             &quot;engine&quot;: {&#xd;
992                &quot;type&quot;: &quot;onap.datatypes.native.apex.engineservice.Engine&quot;,&#xd;
993                &quot;description&quot;: &quot;The parameters for all engines in the APEX engine service&quot;,&#xd;
994                &quot;required&quot;: true&#xd;
995             }&#xd;
996          }&#xd;
997       },&#xd;
998       &quot;onap.datatypes.native.apex.EventHandler&quot;: {&#xd;
999          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1000          &quot;properties&quot;: {&#xd;
1001             &quot;name&quot;: {&#xd;
1002                &quot;type&quot;: &quot;string&quot;,&#xd;
1003                &quot;description&quot;: &quot;Specifies the event handler name, if not specified this is set to the key name&quot;,&#xd;
1004                &quot;required&quot;: false&#xd;
1005             },&#xd;
1006             &quot;carrier_technology&quot;: {&#xd;
1007                &quot;type&quot;: &quot;onap.datatypes.native.apex.CarrierTechnology&quot;,&#xd;
1008                &quot;description&quot;: &quot;Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)&quot;,&#xd;
1009                &quot;required&quot;: true&#xd;
1010             },&#xd;
1011             &quot;event_protocol&quot;: {&#xd;
1012                &quot;type&quot;: &quot;onap.datatypes.native.apex.EventProtocol&quot;,&#xd;
1013                &quot;description&quot;: &quot;Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)&quot;,&#xd;
1014                &quot;required&quot;: true&#xd;
1015             },&#xd;
1016             &quot;event_name&quot;: {&#xd;
1017                &quot;type&quot;: &quot;string&quot;,&#xd;
1018                &quot;description&quot;: &quot;Specifies the event name for events on this event handler, if not specified, the event name is read from or written to the event being received or sent&quot;,&#xd;
1019                &quot;required&quot;: false&#xd;
1020             },&#xd;
1021             &quot;event_name_filter&quot;: {&#xd;
1022                &quot;type&quot;: &quot;string&quot;,&#xd;
1023                &quot;description&quot;: &quot;Specifies a filter as a regular expression, events that do not match the filter are dropped, the default is to let all events through&quot;,&#xd;
1024                &quot;required&quot;: false&#xd;
1025             },&#xd;
1026             &quot;synchronous_mode&quot;: {&#xd;
1027                &quot;type&quot;: &quot;boolean&quot;,&#xd;
1028                &quot;description&quot;: &quot;Specifies the event handler is syncronous (receive event and send response)&quot;,&#xd;
1029                &quot;required&quot;: false,&#xd;
1030                &quot;default&quot;: false&#xd;
1031             },&#xd;
1032             &quot;synchronous_peer&quot;: {&#xd;
1033                &quot;type&quot;: &quot;string&quot;,&#xd;
1034                &quot;description&quot;: &quot;The peer event handler (output for input or input for output) of this event handler in synchronous mode, this parameter is mandatory if the event handler is in synchronous mode&quot;,&#xd;
1035                &quot;required&quot;: false&#xd;
1036             },&#xd;
1037             &quot;synchronous_timeout&quot;: {&#xd;
1038                &quot;type&quot;: &quot;integer&quot;,&#xd;
1039                &quot;description&quot;: &quot;The timeout in milliseconds for responses to be issued by APEX torequests, this parameter is mandatory if the event handler is in synchronous mode&quot;,&#xd;
1040                &quot;required&quot;: false&#xd;
1041             },&#xd;
1042             &quot;requestor_mode&quot;: {&#xd;
1043                &quot;type&quot;: &quot;boolean&quot;,&#xd;
1044                &quot;description&quot;: &quot;Specifies the event handler is in requestor mode (send event and wait for response mode)&quot;,&#xd;
1045                &quot;required&quot;: false,&#xd;
1046                &quot;default&quot;: false&#xd;
1047             },&#xd;
1048             &quot;requestor_peer&quot;: {&#xd;
1049                &quot;type&quot;: &quot;string&quot;,&#xd;
1050                &quot;description&quot;: &quot;The peer event handler (output for input or input for output) of this event handler in requestor mode, this parameter is mandatory if the event handler is in requestor mode&quot;,&#xd;
1051                &quot;required&quot;: false&#xd;
1052             },&#xd;
1053             &quot;requestor_timeout&quot;: {&#xd;
1054                &quot;type&quot;: &quot;integer&quot;,&#xd;
1055                &quot;description&quot;: &quot;The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode&quot;,&#xd;
1056                &quot;required&quot;: false&#xd;
1057             }&#xd;
1058          }&#xd;
1059       },&#xd;
1060       &quot;onap.datatypes.native.apex.CarrierTechnology&quot;: {&#xd;
1061          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1062          &quot;properties&quot;: {&#xd;
1063             &quot;label&quot;: {&#xd;
1064                &quot;type&quot;: &quot;string&quot;,&#xd;
1065                &quot;description&quot;: &quot;The label (name) of the carrier technology (such as REST, Kafka, WebSocket)&quot;,&#xd;
1066                &quot;required&quot;: true&#xd;
1067             },&#xd;
1068             &quot;plugin_parameter_class_name&quot;: {&#xd;
1069                &quot;type&quot;: &quot;string&quot;,&#xd;
1070                &quot;description&quot;: &quot;The class name of the class that overrides default handling of event input or output for this carrier technology, defaults to the supplied input or output class&quot;,&#xd;
1071                &quot;required&quot;: false&#xd;
1072             }&#xd;
1073          }&#xd;
1074       },&#xd;
1075       &quot;onap.datatypes.native.apex.EventProtocol&quot;: {&#xd;
1076          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1077          &quot;properties&quot;: {&#xd;
1078             &quot;label&quot;: {&#xd;
1079                &quot;type&quot;: &quot;string&quot;,&#xd;
1080                &quot;description&quot;: &quot;The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)&quot;,&#xd;
1081                &quot;required&quot;: true&#xd;
1082             },&#xd;
1083             &quot;event_protocol_plugin_class&quot;: {&#xd;
1084                &quot;type&quot;: &quot;string&quot;,&#xd;
1085                &quot;description&quot;: &quot;The class name of the class that overrides default handling of the event protocol for this carrier technology, defaults to the supplied event protocol class&quot;,&#xd;
1086                &quot;required&quot;: false&#xd;
1087             }&#xd;
1088          }&#xd;
1089       },&#xd;
1090       &quot;onap.datatypes.native.apex.Environment&quot;: {&#xd;
1091          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1092          &quot;properties&quot;: {&#xd;
1093             &quot;name&quot;: {&#xd;
1094                &quot;type&quot;: &quot;string&quot;,&#xd;
1095                &quot;description&quot;: &quot;The name of the environment variable&quot;,&#xd;
1096                &quot;required&quot;: true&#xd;
1097             },&#xd;
1098             &quot;value&quot;: {&#xd;
1099                &quot;type&quot;: &quot;string&quot;,&#xd;
1100                &quot;description&quot;: &quot;The value of the environment variable&quot;,&#xd;
1101                &quot;required&quot;: true&#xd;
1102             }&#xd;
1103          }&#xd;
1104       },&#xd;
1105       &quot;onap.datatypes.native.apex.engineservice.Engine&quot;: {&#xd;
1106          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1107          &quot;properties&quot;: {&#xd;
1108             &quot;context&quot;: {&#xd;
1109                &quot;type&quot;: &quot;onap.datatypes.native.apex.engineservice.engine.Context&quot;,&#xd;
1110                &quot;description&quot;: &quot;The properties for handling context in APEX engines, defaults to using Java maps for context&quot;,&#xd;
1111                &quot;required&quot;: false&#xd;
1112             },&#xd;
1113             &quot;executors&quot;: {&#xd;
1114                &quot;type&quot;: &quot;map&quot;,&#xd;
1115                &quot;description&quot;: &quot;The plugins for policy executors used in engines such as javascript, MVEL, Jython&quot;,&#xd;
1116                &quot;required&quot;: true,&#xd;
1117                &quot;entry_schema&quot;: {&#xd;
1118                   &quot;description&quot;: &quot;The plugin class path for this policy executor&quot;,&#xd;
1119                   &quot;type&quot;: &quot;string&quot;&#xd;
1120                }&#xd;
1121             }&#xd;
1122          }&#xd;
1123       },&#xd;
1124       &quot;onap.datatypes.native.apex.engineservice.engine.Context&quot;: {&#xd;
1125          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1126          &quot;properties&quot;: {&#xd;
1127             &quot;distributor&quot;: {&#xd;
1128                &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
1129                &quot;description&quot;: &quot;The plugin to be used for distributing context between APEX PDPs at runtime&quot;,&#xd;
1130                &quot;required&quot;: false&#xd;
1131             },&#xd;
1132             &quot;schemas&quot;: {&#xd;
1133                &quot;type&quot;: &quot;map&quot;,&#xd;
1134                &quot;description&quot;: &quot;The plugins for context schemas available in APEX PDPs such as Java and Avro&quot;,&#xd;
1135                &quot;required&quot;: false,&#xd;
1136                &quot;entry_schema&quot;: {&#xd;
1137                   &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;&#xd;
1138                }&#xd;
1139             },&#xd;
1140             &quot;locking&quot;: {&#xd;
1141                &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
1142                &quot;description&quot;: &quot;The plugin to be used for locking context in and between APEX PDPs at runtime&quot;,&#xd;
1143                &quot;required&quot;: false&#xd;
1144             },&#xd;
1145             &quot;persistence&quot;: {&#xd;
1146                &quot;type&quot;: &quot;onap.datatypes.native.apex.Plugin&quot;,&#xd;
1147                &quot;description&quot;: &quot;The plugin to be used for persisting context for APEX PDPs at runtime&quot;,&#xd;
1148                &quot;required&quot;: false&#xd;
1149             }&#xd;
1150          }&#xd;
1151       },&#xd;
1152       &quot;onap.datatypes.native.apex.Plugin&quot;: {&#xd;
1153          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1154          &quot;properties&quot;: {&#xd;
1155             &quot;name&quot;: {&#xd;
1156                &quot;type&quot;: &quot;string&quot;,&#xd;
1157                &quot;description&quot;: &quot;The name of the executor such as Javascript, Jython or MVEL&quot;,&#xd;
1158                &quot;required&quot;: true&#xd;
1159             },&#xd;
1160             &quot;plugin_class_name&quot;: {&#xd;
1161                &quot;type&quot;: &quot;string&quot;,&#xd;
1162                &quot;description&quot;: &quot;The class path of the plugin class for this executor&quot;&#xd;
1163             }&#xd;
1164          }&#xd;
1165       }&#xd;
1166    }&#xd;
1167 }</stringProp>
1168                 <stringProp name="Argument.metadata">=</stringProp>
1169               </elementProp>
1170             </collectionProp>
1171           </elementProp>
1172           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1173           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1174           <stringProp name="HTTPSampler.protocol">https</stringProp>
1175           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1176           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1177           <stringProp name="HTTPSampler.method">POST</stringProp>
1178           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1179           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1180           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1181           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1182           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1183           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1184           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1185         </HTTPSamplerProxy>
1186         <hashTree>
1187           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1188             <collectionProp name="Asserion.test_strings">
1189               <stringProp name="49586">200</stringProp>
1190             </collectionProp>
1191             <stringProp name="Assertion.custom_message"></stringProp>
1192             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1193             <boolProp name="Assertion.assume_success">false</boolProp>
1194             <intProp name="Assertion.test_type">1</intProp>
1195           </ResponseAssertion>
1196           <hashTree/>
1197           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1198             <stringProp name="scriptLanguage">groovy</stringProp>
1199             <stringProp name="parameters"></stringProp>
1200             <stringProp name="filename"></stringProp>
1201             <stringProp name="cacheKey">true</stringProp>
1202             <stringProp name="script">import groovy.json.JsonSlurper;
1203
1204 def res = [];
1205 if (prev.getResponseCode() == &apos;200&apos;) {
1206     def jsonSlurper = new JsonSlurper();
1207     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1208
1209     assert res instanceof Map;
1210     assert res.policy_types instanceof Map;
1211     assert res.policy_types.size() == 2;
1212     assert res.policy_types.values()[0] instanceof Map;
1213     assert res.policy_types.values()[1] instanceof Map;
1214 }</stringProp>
1215           </JSR223Assertion>
1216           <hashTree/>
1217         </hashTree>
1218         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Native Drools" enabled="true">
1219           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1220           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1221             <collectionProp name="Arguments.arguments">
1222               <elementProp name="" elementType="HTTPArgument">
1223                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1224                 <stringProp name="Argument.value">{&#xd;
1225    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
1226    &quot;policy_types&quot;: {&#xd;
1227       &quot;onap.policies.Native&quot;: {&#xd;
1228          &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
1229          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
1230          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
1231       },&#xd;
1232       &quot;onap.policies.native.Drools&quot;: {&#xd;
1233          &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
1234          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
1235          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
1236       },&#xd;
1237       &quot;onap.policies.native.drools.Controller&quot;: {&#xd;
1238          &quot;derived_from&quot;: &quot;onap.policies.native.Drools&quot;,&#xd;
1239          &quot;description&quot;: &quot;a policy type for a drools controller configuration&quot;,&#xd;
1240          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1241          &quot;properties&quot;: {&#xd;
1242             &quot;controllerName&quot;: {&#xd;
1243                &quot;type&quot;: &quot;string&quot;,&#xd;
1244                &quot;required&quot;: true,&#xd;
1245                &quot;description&quot;: &quot;the drools controller name&quot;&#xd;
1246             },&#xd;
1247             &quot;sourceTopics&quot;: {&#xd;
1248                &quot;type&quot;: &quot;list&quot;,&#xd;
1249                &quot;required&quot;: false,&#xd;
1250                &quot;description&quot;: &quot;source topics and applicable events&quot;,&#xd;
1251                &quot;entry_schema&quot;: {&#xd;
1252                   &quot;type&quot;: &quot;onap.datatypes.dmaap.topic&quot;&#xd;
1253                }&#xd;
1254             },&#xd;
1255             &quot;sinkTopics&quot;: {&#xd;
1256                &quot;type&quot;: &quot;list&quot;,&#xd;
1257                &quot;required&quot;: false,&#xd;
1258                &quot;description&quot;: &quot;sink topics and applicable events&quot;,&#xd;
1259                &quot;entry_schema&quot;: {&#xd;
1260                   &quot;type&quot;: &quot;onap.datatypes.dmaap.topic&quot;&#xd;
1261                }&#xd;
1262             },&#xd;
1263             &quot;customConfig&quot;: {&#xd;
1264                &quot;type&quot;: &quot;map&quot;,&#xd;
1265                &quot;required&quot;: false,&#xd;
1266                &quot;description&quot;: &quot;any use case specific configurations relevant to the drools controller&quot;,&#xd;
1267                &quot;entry_schema&quot;: {&#xd;
1268                   &quot;type&quot;: &quot;string&quot;&#xd;
1269                }&#xd;
1270             }&#xd;
1271          }&#xd;
1272       },&#xd;
1273       &quot;onap.policies.native.drools.Artifact&quot;: {&#xd;
1274          &quot;derived_from&quot;: &quot;onap.policies.native.Drools&quot;,&#xd;
1275          &quot;description&quot;: &quot;a policy type for native drools artifact policies&quot;,&#xd;
1276          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1277          &quot;properties&quot;: {&#xd;
1278             &quot;rulesArtifact&quot;: {&#xd;
1279                &quot;type&quot;: &quot;onap.datatypes.native.rules_artifact&quot;,&#xd;
1280                &quot;required&quot;: true,&#xd;
1281                &quot;description&quot;: &quot;the GAV information of the maven artifact&quot;&#xd;
1282             },&#xd;
1283             &quot;controller&quot;: {&#xd;
1284                &quot;type&quot;: &quot;onap.datatypes.drools.controller.relation&quot;,&#xd;
1285                &quot;required&quot;: true,&#xd;
1286                &quot;description&quot;: &quot;the drools controller to which the current native policy is assigned&quot;&#xd;
1287             }&#xd;
1288          }&#xd;
1289       }&#xd;
1290    },&#xd;
1291    &quot;data_types&quot;: {&#xd;
1292       &quot;onap.datatypes.dmaap.topic&quot;: {&#xd;
1293          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1294          &quot;properties&quot;: {&#xd;
1295             &quot;topicName&quot;: {&#xd;
1296                &quot;type&quot;: &quot;string&quot;,&#xd;
1297                &quot;required&quot;: true,&#xd;
1298                &quot;description&quot;: &quot;the dmaap topic name&quot;&#xd;
1299             },&#xd;
1300             &quot;events&quot;: {&#xd;
1301                &quot;type&quot;: &quot;list&quot;,&#xd;
1302                &quot;required&quot;: true,&#xd;
1303                &quot;description&quot;: &quot;events used by this topic&quot;,&#xd;
1304                &quot;entry_schema&quot;: {&#xd;
1305                   &quot;type&quot;: &quot;onap.datatypes.dmaap.events&quot;&#xd;
1306                }&#xd;
1307             }&#xd;
1308          }&#xd;
1309       },&#xd;
1310       &quot;onap.datatypes.dmaap.events&quot;: {&#xd;
1311          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1312          &quot;properties&quot;: {&#xd;
1313             &quot;eventClass&quot;: {&#xd;
1314                &quot;type&quot;: &quot;string&quot;,&#xd;
1315                &quot;required&quot;: true,&#xd;
1316                &quot;description&quot;: &quot;the event canonical class for serialization&quot;&#xd;
1317             },&#xd;
1318             &quot;eventFilter&quot;: {&#xd;
1319                &quot;type&quot;: &quot;string&quot;,&#xd;
1320                &quot;required&quot;: false,&#xd;
1321                &quot;description&quot;: &quot;the JSONPath based condition to filter out the events to serialize&quot;&#xd;
1322             },&#xd;
1323             &quot;customSerialization&quot;: {&#xd;
1324                &quot;type&quot;: &quot;onap.datatypes.dmaap.custom_serialization&quot;,&#xd;
1325                &quot;required&quot;: false,&#xd;
1326                &quot;description&quot;: &quot;overrides the default serialization/deserialization mechanisms with custom ones&quot;&#xd;
1327             }&#xd;
1328          }&#xd;
1329       },&#xd;
1330       &quot;onap.datatypes.dmaap.custom_serialization&quot;: {&#xd;
1331          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1332          &quot;properties&quot;: {&#xd;
1333             &quot;customSerializerClass&quot;: {&#xd;
1334                &quot;type&quot;: &quot;string&quot;,&#xd;
1335                &quot;required&quot;: true,&#xd;
1336                &quot;description&quot;: &quot;the class that contains the JSON parser serializer/deserializer.&quot;&#xd;
1337             },&#xd;
1338             &quot;jsonParser&quot;: {&#xd;
1339                &quot;type&quot;: &quot;string&quot;,&#xd;
1340                &quot;required&quot;: true,&#xd;
1341                &quot;description&quot;: &quot;static field in customSerialized class with the json parser (currently only gson supported)&quot;&#xd;
1342             }&#xd;
1343          }&#xd;
1344       },&#xd;
1345       &quot;onap.datatypes.native.rules_artifact&quot;: {&#xd;
1346          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1347          &quot;properties&quot;: {&#xd;
1348             &quot;groupId&quot;: {&#xd;
1349                &quot;type&quot;: &quot;string&quot;,&#xd;
1350                &quot;required&quot;: true,&#xd;
1351                &quot;description&quot;: &quot;the groupId of the maven artifact&quot;&#xd;
1352             },&#xd;
1353             &quot;artifactId&quot;: {&#xd;
1354                &quot;type&quot;: &quot;string&quot;,&#xd;
1355                &quot;required&quot;: true,&#xd;
1356                &quot;description&quot;: &quot;the artifactId of the maven artifact&quot;&#xd;
1357             },&#xd;
1358             &quot;version&quot;: {&#xd;
1359                &quot;type&quot;: &quot;string&quot;,&#xd;
1360                &quot;required&quot;: true,&#xd;
1361                &quot;description&quot;: &quot;the version of the maven artifact&quot;&#xd;
1362             }&#xd;
1363          }&#xd;
1364       },&#xd;
1365       &quot;onap.datatypes.drools.controller.relation&quot;: {&#xd;
1366          &quot;derived_from&quot;: &quot;tosca.datatypes.Root&quot;,&#xd;
1367          &quot;properties&quot;: {&#xd;
1368             &quot;controllerName&quot;: {&#xd;
1369                &quot;type&quot;: &quot;string&quot;,&#xd;
1370                &quot;required&quot;: true,&#xd;
1371                &quot;description&quot;: &quot;the name of drools controller policy&quot;&#xd;
1372             }&#xd;
1373          }&#xd;
1374       }&#xd;
1375    }&#xd;
1376 }</stringProp>
1377                 <stringProp name="Argument.metadata">=</stringProp>
1378               </elementProp>
1379             </collectionProp>
1380           </elementProp>
1381           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1382           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1383           <stringProp name="HTTPSampler.protocol">https</stringProp>
1384           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1385           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1386           <stringProp name="HTTPSampler.method">POST</stringProp>
1387           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1388           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1389           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1390           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1391           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1392           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1393           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1394         </HTTPSamplerProxy>
1395         <hashTree>
1396           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1397             <collectionProp name="Asserion.test_strings">
1398               <stringProp name="49586">200</stringProp>
1399             </collectionProp>
1400             <stringProp name="Assertion.custom_message"></stringProp>
1401             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1402             <boolProp name="Assertion.assume_success">false</boolProp>
1403             <intProp name="Assertion.test_type">1</intProp>
1404           </ResponseAssertion>
1405           <hashTree/>
1406           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1407             <stringProp name="scriptLanguage">groovy</stringProp>
1408             <stringProp name="parameters"></stringProp>
1409             <stringProp name="filename"></stringProp>
1410             <stringProp name="cacheKey">true</stringProp>
1411             <stringProp name="script">import groovy.json.JsonSlurper;
1412
1413 def res = [];
1414 if (prev.getResponseCode() == &apos;200&apos;) {
1415     def jsonSlurper = new JsonSlurper();
1416     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1417
1418     assert res instanceof Map;
1419     assert res.policy_types instanceof Map;
1420     assert res.policy_types.size() == 4;
1421     assert res.policy_types.values()[0] instanceof Map;
1422     assert res.policy_types.values()[1] instanceof Map;
1423     assert res.policy_types.values()[2] instanceof Map;
1424     assert res.policy_types.values()[3] instanceof Map;        
1425 }</stringProp>
1426           </JSR223Assertion>
1427           <hashTree/>
1428         </hashTree>
1429         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Type Native XACML" enabled="true">
1430           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1431           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1432             <collectionProp name="Arguments.arguments">
1433               <elementProp name="" elementType="HTTPArgument">
1434                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1435                 <stringProp name="Argument.value">{&#xd;
1436    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
1437    &quot;policy_types&quot;: {&#xd;
1438       &quot;onap.policies.Native&quot;: {&#xd;
1439          &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
1440          &quot;description&quot;: &quot;a base policy type for all native PDP policies&quot;,&#xd;
1441          &quot;version&quot;: &quot;1.0.0&quot;&#xd;
1442       },&#xd;
1443       &quot;onap.policies.native.Xacml&quot;: {&#xd;
1444          &quot;derived_from&quot;: &quot;onap.policies.Native&quot;,&#xd;
1445          &quot;description&quot;: &quot;a policy type for native xacml policies&quot;,&#xd;
1446          &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1447          &quot;properties&quot;: {&#xd;
1448             &quot;policy&quot;: {&#xd;
1449                &quot;type&quot;: &quot;string&quot;,&#xd;
1450                &quot;required&quot;: true,&#xd;
1451                &quot;description&quot;: &quot;The XML XACML 3.0 PolicySet or Policy&quot;,&#xd;
1452                &quot;metadata&quot;: {&#xd;
1453                   &quot;encoding&quot;: &quot;Base64&quot;&#xd;
1454                }&#xd;
1455             }&#xd;
1456          }&#xd;
1457       }&#xd;
1458    }&#xd;
1459 }</stringProp>
1460                 <stringProp name="Argument.metadata">=</stringProp>
1461               </elementProp>
1462             </collectionProp>
1463           </elementProp>
1464           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1465           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1466           <stringProp name="HTTPSampler.protocol">https</stringProp>
1467           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1468           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1469           <stringProp name="HTTPSampler.method">POST</stringProp>
1470           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1471           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1472           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1473           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1474           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1475           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1476           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1477         </HTTPSamplerProxy>
1478         <hashTree>
1479           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1480             <collectionProp name="Asserion.test_strings">
1481               <stringProp name="49586">200</stringProp>
1482             </collectionProp>
1483             <stringProp name="Assertion.custom_message"></stringProp>
1484             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1485             <boolProp name="Assertion.assume_success">false</boolProp>
1486             <intProp name="Assertion.test_type">1</intProp>
1487           </ResponseAssertion>
1488           <hashTree/>
1489           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1490             <stringProp name="scriptLanguage">groovy</stringProp>
1491             <stringProp name="parameters"></stringProp>
1492             <stringProp name="filename"></stringProp>
1493             <stringProp name="cacheKey">true</stringProp>
1494             <stringProp name="script">import groovy.json.JsonSlurper;
1495
1496 def res = [];
1497 if (prev.getResponseCode() == &apos;200&apos;) {
1498     def jsonSlurper = new JsonSlurper();
1499     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1500
1501     assert res instanceof Map;
1502     assert res.policy_types instanceof Map;
1503     assert res.policy_types.size() == 2;
1504     assert res.policy_types.values()[0] instanceof Map;
1505     assert res.policy_types.values()[1] instanceof Map;
1506 }</stringProp>
1507           </JSR223Assertion>
1508           <hashTree/>
1509         </hashTree>
1510         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Policy Types" enabled="true">
1511           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1512             <collectionProp name="Arguments.arguments"/>
1513           </elementProp>
1514           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1515           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1516           <stringProp name="HTTPSampler.protocol">https</stringProp>
1517           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1518           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
1519           <stringProp name="HTTPSampler.method">GET</stringProp>
1520           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1521           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1522           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1523           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1524           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1525           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1526           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1527         </HTTPSamplerProxy>
1528         <hashTree>
1529           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1530             <collectionProp name="Asserion.test_strings">
1531               <stringProp name="49586">200</stringProp>
1532             </collectionProp>
1533             <stringProp name="Assertion.custom_message"></stringProp>
1534             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1535             <boolProp name="Assertion.assume_success">false</boolProp>
1536             <intProp name="Assertion.test_type">1</intProp>
1537           </ResponseAssertion>
1538           <hashTree/>
1539           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1540             <stringProp name="scriptLanguage">groovy</stringProp>
1541             <stringProp name="parameters"></stringProp>
1542             <stringProp name="filename"></stringProp>
1543             <stringProp name="cacheKey">true</stringProp>
1544             <stringProp name="script">import groovy.json.JsonSlurper;
1545
1546 def res = [];
1547 if (prev.getResponseCode() == &apos;200&apos;) {
1548     def jsonSlurper = new JsonSlurper();
1549     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1550
1551     assert res instanceof Map;
1552     assert res.policy_types instanceof Map;
1553     assert res.policy_types.size() == 33;
1554
1555     def n = 33;
1556     for (i=0; i&lt;n; i++) {
1557         assert res.policy_types.values()[i] instanceof Map;     
1558     }
1559 }</stringProp>
1560           </JSR223Assertion>
1561           <hashTree/>
1562         </hashTree>
1563         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Versions of TCA Policy Type" enabled="true">
1564           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1565             <collectionProp name="Arguments.arguments"/>
1566           </elementProp>
1567           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1568           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1569           <stringProp name="HTTPSampler.protocol">https</stringProp>
1570           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1571           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app</stringProp>
1572           <stringProp name="HTTPSampler.method">GET</stringProp>
1573           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1574           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1575           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1576           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1577           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1578           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1579           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1580           <stringProp name="TestPlan.comments">This is not working in Frankfurt and hence disabled.</stringProp>
1581         </HTTPSamplerProxy>
1582         <hashTree>
1583           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1584             <collectionProp name="Asserion.test_strings">
1585               <stringProp name="49586">200</stringProp>
1586             </collectionProp>
1587             <stringProp name="Assertion.custom_message"></stringProp>
1588             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1589             <boolProp name="Assertion.assume_success">false</boolProp>
1590             <intProp name="Assertion.test_type">1</intProp>
1591           </ResponseAssertion>
1592           <hashTree/>
1593           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1594             <stringProp name="scriptLanguage">groovy</stringProp>
1595             <stringProp name="parameters"></stringProp>
1596             <stringProp name="filename"></stringProp>
1597             <stringProp name="cacheKey">true</stringProp>
1598             <stringProp name="script">import groovy.json.JsonSlurper;
1599
1600 def res = [];
1601 if (prev.getResponseCode() == &apos;200&apos;) {
1602     def jsonSlurper = new JsonSlurper();
1603     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1604
1605     assert res instanceof Map;
1606     assert res.policy_types instanceof Map;
1607     assert res.policy_types.size() &gt; 0 &amp;&amp; res.policy_types.size() &lt; 10;
1608
1609     for (i=0; i&lt;res.policy_types.size(); i++) {
1610         assert res.policy_types.values()[i] instanceof Map;     
1611     }
1612 }</stringProp>
1613           </JSR223Assertion>
1614           <hashTree/>
1615         </hashTree>
1616         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Monitoring" enabled="true">
1617           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1618             <collectionProp name="Arguments.arguments"/>
1619           </elementProp>
1620           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1621           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1622           <stringProp name="HTTPSampler.protocol">https</stringProp>
1623           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1624           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}</stringProp>
1625           <stringProp name="HTTPSampler.method">GET</stringProp>
1626           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1627           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1628           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1629           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1630           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1631           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1632           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1633         </HTTPSamplerProxy>
1634         <hashTree>
1635           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1636             <collectionProp name="Asserion.test_strings">
1637               <stringProp name="49586">200</stringProp>
1638             </collectionProp>
1639             <stringProp name="Assertion.custom_message"></stringProp>
1640             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1641             <boolProp name="Assertion.assume_success">false</boolProp>
1642             <intProp name="Assertion.test_type">1</intProp>
1643           </ResponseAssertion>
1644           <hashTree/>
1645           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1646             <stringProp name="scriptLanguage">groovy</stringProp>
1647             <stringProp name="parameters"></stringProp>
1648             <stringProp name="filename"></stringProp>
1649             <stringProp name="cacheKey">true</stringProp>
1650             <stringProp name="script">import groovy.json.JsonSlurper;
1651
1652 def res = [];
1653 if (prev.getResponseCode() == &apos;200&apos;) {
1654     def jsonSlurper = new JsonSlurper();
1655     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1656
1657     assert res instanceof Map;
1658     assert res.policy_types instanceof Map;
1659     assert res.policy_types.size() == 2;
1660
1661     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;) instanceof Map;
1662     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version == &quot;6.0.${__threadNum}&quot;;
1663 }</stringProp>
1664           </JSR223Assertion>
1665           <hashTree/>
1666         </hashTree>
1667         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Optimization" enabled="true">
1668           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1669             <collectionProp name="Arguments.arguments"/>
1670           </elementProp>
1671           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1672           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1673           <stringProp name="HTTPSampler.protocol">https</stringProp>
1674           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1675           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}</stringProp>
1676           <stringProp name="HTTPSampler.method">GET</stringProp>
1677           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1678           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1679           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1680           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1681           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1682           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1683           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1684         </HTTPSamplerProxy>
1685         <hashTree>
1686           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1687             <collectionProp name="Asserion.test_strings">
1688               <stringProp name="49586">200</stringProp>
1689             </collectionProp>
1690             <stringProp name="Assertion.custom_message"></stringProp>
1691             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1692             <boolProp name="Assertion.assume_success">false</boolProp>
1693             <intProp name="Assertion.test_type">1</intProp>
1694           </ResponseAssertion>
1695           <hashTree/>
1696           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1697             <stringProp name="scriptLanguage">groovy</stringProp>
1698             <stringProp name="parameters"></stringProp>
1699             <stringProp name="filename"></stringProp>
1700             <stringProp name="cacheKey">true</stringProp>
1701             <stringProp name="script">import groovy.json.JsonSlurper;
1702
1703 def res = [];
1704 if (prev.getResponseCode() == &apos;200&apos;) {
1705     def jsonSlurper = new JsonSlurper();
1706     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1707
1708     assert res instanceof Map;
1709     assert res.policy_types instanceof Map;
1710     assert res.policy_types.size() == 3;
1711
1712     assert res.policy_types.get(&apos;onap.policies.optimization.resource.AffinityPolicy&apos;) instanceof Map;
1713     assert res.policy_types.get(&apos;onap.policies.optimization.resource.AffinityPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
1714 }</stringProp>
1715           </JSR223Assertion>
1716           <hashTree/>
1717         </hashTree>
1718         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Guard" enabled="true">
1719           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1720             <collectionProp name="Arguments.arguments"/>
1721           </elementProp>
1722           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1723           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1724           <stringProp name="HTTPSampler.protocol">https</stringProp>
1725           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1726           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}</stringProp>
1727           <stringProp name="HTTPSampler.method">GET</stringProp>
1728           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1729           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1730           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1731           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1732           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1733           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1734           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1735         </HTTPSamplerProxy>
1736         <hashTree>
1737           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1738             <collectionProp name="Asserion.test_strings">
1739               <stringProp name="49586">200</stringProp>
1740             </collectionProp>
1741             <stringProp name="Assertion.custom_message"></stringProp>
1742             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1743             <boolProp name="Assertion.assume_success">false</boolProp>
1744             <intProp name="Assertion.test_type">1</intProp>
1745           </ResponseAssertion>
1746           <hashTree/>
1747           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1748             <stringProp name="scriptLanguage">groovy</stringProp>
1749             <stringProp name="parameters"></stringProp>
1750             <stringProp name="filename"></stringProp>
1751             <stringProp name="cacheKey">true</stringProp>
1752             <stringProp name="script">import groovy.json.JsonSlurper;
1753
1754 def res = [];
1755 if (prev.getResponseCode() == &apos;200&apos;) {
1756     def jsonSlurper = new JsonSlurper();
1757     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1758
1759     assert res instanceof Map;
1760     assert res.policy_types instanceof Map;
1761     assert res.policy_types.size() == 2;
1762
1763     assert res.policy_types.get(&apos;onap.policies.controlloop.guard.common.Blacklist&apos;) instanceof Map;
1764     assert res.policy_types.get(&apos;onap.policies.controlloop.guard.common.Blacklist&apos;).version == &quot;6.0.${__threadNum}&quot;;
1765 }</stringProp>
1766           </JSR223Assertion>
1767           <hashTree/>
1768         </hashTree>
1769         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Native APEX" enabled="true">
1770           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1771             <collectionProp name="Arguments.arguments"/>
1772           </elementProp>
1773           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1774           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1775           <stringProp name="HTTPSampler.protocol">https</stringProp>
1776           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1777           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}</stringProp>
1778           <stringProp name="HTTPSampler.method">GET</stringProp>
1779           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1780           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1781           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1782           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1783           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1784           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1785           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1786         </HTTPSamplerProxy>
1787         <hashTree>
1788           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1789             <collectionProp name="Asserion.test_strings">
1790               <stringProp name="49586">200</stringProp>
1791             </collectionProp>
1792             <stringProp name="Assertion.custom_message"></stringProp>
1793             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1794             <boolProp name="Assertion.assume_success">false</boolProp>
1795             <intProp name="Assertion.test_type">1</intProp>
1796           </ResponseAssertion>
1797           <hashTree/>
1798           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1799             <stringProp name="scriptLanguage">groovy</stringProp>
1800             <stringProp name="parameters"></stringProp>
1801             <stringProp name="filename"></stringProp>
1802             <stringProp name="cacheKey">true</stringProp>
1803             <stringProp name="script">import groovy.json.JsonSlurper;
1804
1805 def res = [];
1806 if (prev.getResponseCode() == &apos;200&apos;) {
1807     def jsonSlurper = new JsonSlurper();
1808     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1809
1810     assert res instanceof Map;
1811     assert res.policy_types instanceof Map;
1812     assert res.policy_types.size() == 2;
1813
1814     assert res.policy_types.get(&apos;onap.policies.native.Apex&apos;) instanceof Map;
1815     assert res.policy_types.get(&apos;onap.policies.native.Apex&apos;).version == &quot;6.0.${__threadNum}&quot;;
1816 }</stringProp>
1817           </JSR223Assertion>
1818           <hashTree/>
1819         </hashTree>
1820         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Native Drools" enabled="true">
1821           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1822             <collectionProp name="Arguments.arguments"/>
1823           </elementProp>
1824           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1825           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1826           <stringProp name="HTTPSampler.protocol">https</stringProp>
1827           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1828           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Controller/versions/6.0.${__threadNum}</stringProp>
1829           <stringProp name="HTTPSampler.method">GET</stringProp>
1830           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1831           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1832           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1833           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1834           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1835           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1836           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1837         </HTTPSamplerProxy>
1838         <hashTree>
1839           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1840             <collectionProp name="Asserion.test_strings">
1841               <stringProp name="49586">200</stringProp>
1842             </collectionProp>
1843             <stringProp name="Assertion.custom_message"></stringProp>
1844             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1845             <boolProp name="Assertion.assume_success">false</boolProp>
1846             <intProp name="Assertion.test_type">1</intProp>
1847           </ResponseAssertion>
1848           <hashTree/>
1849           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1850             <stringProp name="scriptLanguage">groovy</stringProp>
1851             <stringProp name="parameters"></stringProp>
1852             <stringProp name="filename"></stringProp>
1853             <stringProp name="cacheKey">true</stringProp>
1854             <stringProp name="script">import groovy.json.JsonSlurper;
1855
1856 def res = [];
1857 if (prev.getResponseCode() == &apos;200&apos;) {
1858     def jsonSlurper = new JsonSlurper();
1859     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1860
1861     assert res instanceof Map;
1862     assert res.policy_types instanceof Map;
1863     assert res.policy_types.size() == 3;
1864
1865     assert res.policy_types.get(&apos;onap.policies.native.drools.Controller&apos;) instanceof Map;
1866     assert res.policy_types.get(&apos;onap.policies.native.drools.Controller&apos;).version == &quot;6.0.${__threadNum}&quot;;
1867 }</stringProp>
1868           </JSR223Assertion>
1869           <hashTree/>
1870         </hashTree>
1871         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Type Native XACML" enabled="true">
1872           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1873             <collectionProp name="Arguments.arguments"/>
1874           </elementProp>
1875           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1876           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1877           <stringProp name="HTTPSampler.protocol">https</stringProp>
1878           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1879           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}</stringProp>
1880           <stringProp name="HTTPSampler.method">GET</stringProp>
1881           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1882           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1883           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1884           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1885           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1886           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1887           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1888         </HTTPSamplerProxy>
1889         <hashTree>
1890           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1891             <collectionProp name="Asserion.test_strings">
1892               <stringProp name="49586">200</stringProp>
1893             </collectionProp>
1894             <stringProp name="Assertion.custom_message"></stringProp>
1895             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1896             <boolProp name="Assertion.assume_success">false</boolProp>
1897             <intProp name="Assertion.test_type">1</intProp>
1898           </ResponseAssertion>
1899           <hashTree/>
1900           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1901             <stringProp name="scriptLanguage">groovy</stringProp>
1902             <stringProp name="parameters"></stringProp>
1903             <stringProp name="filename"></stringProp>
1904             <stringProp name="cacheKey">true</stringProp>
1905             <stringProp name="script">import groovy.json.JsonSlurper;
1906
1907 def res = [];
1908 if (prev.getResponseCode() == &apos;200&apos;) {
1909     def jsonSlurper = new JsonSlurper();
1910     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1911
1912     assert res instanceof Map;
1913     assert res.policy_types instanceof Map;
1914     assert res.policy_types.size() == 2;
1915
1916     assert res.policy_types.get(&apos;onap.policies.native.Xacml&apos;) instanceof Map;
1917     assert res.policy_types.get(&apos;onap.policies.native.Xacml&apos;).version == &quot;6.0.${__threadNum}&quot;;
1918 }</stringProp>
1919           </JSR223Assertion>
1920           <hashTree/>
1921         </hashTree>
1922         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Latest Monitoring Policy Type" enabled="true">
1923           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1924             <collectionProp name="Arguments.arguments"/>
1925           </elementProp>
1926           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
1927           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1928           <stringProp name="HTTPSampler.protocol">https</stringProp>
1929           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1930           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/latest</stringProp>
1931           <stringProp name="HTTPSampler.method">GET</stringProp>
1932           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1933           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1934           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1935           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1936           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1937           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1938           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1939         </HTTPSamplerProxy>
1940         <hashTree>
1941           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1942             <collectionProp name="Asserion.test_strings">
1943               <stringProp name="49586">200</stringProp>
1944             </collectionProp>
1945             <stringProp name="Assertion.custom_message"></stringProp>
1946             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1947             <boolProp name="Assertion.assume_success">false</boolProp>
1948             <intProp name="Assertion.test_type">1</intProp>
1949           </ResponseAssertion>
1950           <hashTree/>
1951           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1952             <stringProp name="scriptLanguage">groovy</stringProp>
1953             <stringProp name="parameters"></stringProp>
1954             <stringProp name="filename"></stringProp>
1955             <stringProp name="cacheKey">true</stringProp>
1956             <stringProp name="script">import groovy.json.JsonSlurper;
1957
1958 def res = [];
1959 if (prev.getResponseCode() == &apos;200&apos;) {
1960     def jsonSlurper = new JsonSlurper();
1961     res = jsonSlurper.parseText(prev.getResponseDataAsString());
1962
1963     assert res instanceof Map;
1964     assert res.policy_types instanceof Map;
1965     assert res.policy_types.size() &gt; 0 &amp;&amp; res.policy_types.size() &lt; 10;
1966
1967     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;) instanceof Map;
1968     assert res.policy_types.get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version ==~ /7.0.\d+/;
1969 }</stringProp>
1970           </JSR223Assertion>
1971           <hashTree/>
1972         </hashTree>
1973         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Monitoring" enabled="true">
1974           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1975           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1976             <collectionProp name="Arguments.arguments">
1977               <elementProp name="" elementType="HTTPArgument">
1978                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1979                 <stringProp name="Argument.value">{&#xd;
1980     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
1981     &quot;topology_template&quot;: {&#xd;
1982         &quot;policies&quot;: [&#xd;
1983             {&#xd;
1984                 &quot;onap.restart.tca&quot;: {&#xd;
1985                     &quot;type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;,&#xd;
1986                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1987                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
1988                     &quot;metadata&quot;: {&#xd;
1989                         &quot;policy-id&quot;: &quot;onap.restart.tca&quot;&#xd;
1990                     },&#xd;
1991                     &quot;properties&quot;: {&#xd;
1992                         &quot;tca_policy&quot;: {&#xd;
1993                             &quot;domain&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
1994                             &quot;metricsPerEventName&quot;: [&#xd;
1995                                 {&#xd;
1996                                     &quot;eventName&quot;: &quot;Measurement_vGMUX&quot;,&#xd;
1997                                     &quot;controlLoopSchemaType&quot;: &quot;VNF&quot;,&#xd;
1998                                     &quot;policyScope&quot;: &quot;DCAE&quot;,&#xd;
1999                                     &quot;policyName&quot;: &quot;DCAE.Config_tca-hi-lo&quot;,&#xd;
2000                                     &quot;policyVersion&quot;: &quot;v0.0.1&quot;,&#xd;
2001                                     &quot;thresholds&quot;: [&#xd;
2002                                         {&#xd;
2003                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
2004                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
2005                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
2006                                             &quot;thresholdValue&quot;: 0,&#xd;
2007                                             &quot;direction&quot;: &quot;EQUAL&quot;,&#xd;
2008                                             &quot;severity&quot;: &quot;MAJOR&quot;,&#xd;
2009                                             &quot;closedLoopEventStatus&quot;: &quot;ABATED&quot;&#xd;
2010                                         },&#xd;
2011                                         {&#xd;
2012                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
2013                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
2014                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
2015                                             &quot;thresholdValue&quot;: 0,&#xd;
2016                                             &quot;direction&quot;: &quot;GREATER&quot;,&#xd;
2017                                             &quot;severity&quot;: &quot;CRITICAL&quot;,&#xd;
2018                                             &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;&#xd;
2019                                         }&#xd;
2020                                     ]&#xd;
2021                                 }&#xd;
2022                             ]&#xd;
2023                         }&#xd;
2024                     }&#xd;
2025                 }&#xd;
2026             }&#xd;
2027         ]&#xd;
2028     }&#xd;
2029 }</stringProp>
2030                 <stringProp name="Argument.metadata">=</stringProp>
2031               </elementProp>
2032             </collectionProp>
2033           </elementProp>
2034           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2035           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2036           <stringProp name="HTTPSampler.protocol">https</stringProp>
2037           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2038           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
2039           <stringProp name="HTTPSampler.method">POST</stringProp>
2040           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2041           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2042           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2043           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2044           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2045           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2046           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2047         </HTTPSamplerProxy>
2048         <hashTree>
2049           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2050             <collectionProp name="Asserion.test_strings">
2051               <stringProp name="49586">200</stringProp>
2052             </collectionProp>
2053             <stringProp name="Assertion.custom_message"></stringProp>
2054             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2055             <boolProp name="Assertion.assume_success">false</boolProp>
2056             <intProp name="Assertion.test_type">1</intProp>
2057           </ResponseAssertion>
2058           <hashTree/>
2059           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2060             <stringProp name="scriptLanguage">groovy</stringProp>
2061             <stringProp name="parameters"></stringProp>
2062             <stringProp name="filename"></stringProp>
2063             <stringProp name="cacheKey">true</stringProp>
2064             <stringProp name="script">import groovy.json.JsonSlurper;
2065
2066 def res = [];
2067 if (prev.getResponseCode() == &apos;200&apos;) {
2068     def jsonSlurper = new JsonSlurper();
2069     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2070
2071     assert res instanceof Map;
2072     assert res.topology_template.policies instanceof List;
2073     assert res.topology_template.policies.size == 1;
2074     assert res.topology_template.policies[0] instanceof Map;
2075 }</stringProp>
2076           </JSR223Assertion>
2077           <hashTree/>
2078         </hashTree>
2079         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Monitoring V2" enabled="true">
2080           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2081           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2082             <collectionProp name="Arguments.arguments">
2083               <elementProp name="" elementType="HTTPArgument">
2084                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2085                 <stringProp name="Argument.value">{&#xd;
2086     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2087     &quot;topology_template&quot;: {&#xd;
2088         &quot;policies&quot;: [&#xd;
2089             {&#xd;
2090                 &quot;onap.restart.tca&quot;: {&#xd;
2091                     &quot;type&quot;: &quot;onap.policies.monitoring.cdap.tca.hi.lo.app&quot;,&#xd;
2092                     &quot;type_version&quot;: &quot;7.0.${__threadNum}&quot;,&#xd;
2093                     &quot;version&quot;: &quot;7.0.${__threadNum}&quot;,&#xd;
2094                     &quot;metadata&quot;: {&#xd;
2095                         &quot;policy-id&quot;: &quot;onap.restart.tca&quot;&#xd;
2096                     },&#xd;
2097                     &quot;properties&quot;: {&#xd;
2098                         &quot;tca_policy&quot;: {&#xd;
2099                             &quot;domain&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
2100                             &quot;metricsPerEventName&quot;: [&#xd;
2101                                 {&#xd;
2102                                     &quot;eventName&quot;: &quot;Measurement_vGMUX&quot;,&#xd;
2103                                     &quot;controlLoopSchemaType&quot;: &quot;VNF&quot;,&#xd;
2104                                     &quot;policyScope&quot;: &quot;DCAE&quot;,&#xd;
2105                                     &quot;policyName&quot;: &quot;DCAE.Config_tca-hi-lo&quot;,&#xd;
2106                                     &quot;policyVersion&quot;: &quot;v0.0.1&quot;,&#xd;
2107                                     &quot;thresholds&quot;: [&#xd;
2108                                         {&#xd;
2109                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
2110                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
2111                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
2112                                             &quot;thresholdValue&quot;: 0,&#xd;
2113                                             &quot;direction&quot;: &quot;EQUAL&quot;,&#xd;
2114                                             &quot;severity&quot;: &quot;MAJOR&quot;,&#xd;
2115                                             &quot;closedLoopEventStatus&quot;: &quot;ABATED&quot;&#xd;
2116                                         },&#xd;
2117                                         {&#xd;
2118                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
2119                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
2120                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
2121                                             &quot;thresholdValue&quot;: 0,&#xd;
2122                                             &quot;direction&quot;: &quot;GREATER&quot;,&#xd;
2123                                             &quot;severity&quot;: &quot;CRITICAL&quot;,&#xd;
2124                                             &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;&#xd;
2125                                         }&#xd;
2126                                     ]&#xd;
2127                                 }&#xd;
2128                             ]&#xd;
2129                         }&#xd;
2130                     }&#xd;
2131                 }&#xd;
2132             }&#xd;
2133         ]&#xd;
2134     }&#xd;
2135 }</stringProp>
2136                 <stringProp name="Argument.metadata">=</stringProp>
2137               </elementProp>
2138             </collectionProp>
2139           </elementProp>
2140           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2141           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2142           <stringProp name="HTTPSampler.protocol">https</stringProp>
2143           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2144           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
2145           <stringProp name="HTTPSampler.method">POST</stringProp>
2146           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2147           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2148           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2149           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2150           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2151           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2152           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2153         </HTTPSamplerProxy>
2154         <hashTree>
2155           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2156             <collectionProp name="Asserion.test_strings">
2157               <stringProp name="49586">200</stringProp>
2158             </collectionProp>
2159             <stringProp name="Assertion.custom_message"></stringProp>
2160             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2161             <boolProp name="Assertion.assume_success">false</boolProp>
2162             <intProp name="Assertion.test_type">1</intProp>
2163           </ResponseAssertion>
2164           <hashTree/>
2165           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2166             <stringProp name="scriptLanguage">groovy</stringProp>
2167             <stringProp name="parameters"></stringProp>
2168             <stringProp name="filename"></stringProp>
2169             <stringProp name="cacheKey">true</stringProp>
2170             <stringProp name="script">import groovy.json.JsonSlurper;
2171
2172 def res = [];
2173 if (prev.getResponseCode() == &apos;200&apos;) {
2174     def jsonSlurper = new JsonSlurper();
2175     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2176
2177     assert res instanceof Map;
2178     assert res.topology_template.policies instanceof List;
2179     assert res.topology_template.policies.size == 1;
2180     assert res.topology_template.policies[0] instanceof Map;
2181 }</stringProp>
2182           </JSR223Assertion>
2183           <hashTree/>
2184         </hashTree>
2185         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Optimization" enabled="true">
2186           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2187           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2188             <collectionProp name="Arguments.arguments">
2189               <elementProp name="" elementType="HTTPArgument">
2190                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2191                 <stringProp name="Argument.value">{&#xd;
2192     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2193     &quot;topology_template&quot;: {&#xd;
2194         &quot;policies&quot;: [&#xd;
2195             {&#xd;
2196                 &quot;OSDF_CASABLANCA.Affinity_Default&quot;: {&#xd;
2197                     &quot;type&quot;: &quot;onap.policies.optimization.resource.AffinityPolicy&quot;,&#xd;
2198                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2199                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2200                     &quot;metadata&quot;: {&#xd;
2201                         &quot;policy-id&quot;: &quot;OSDF_CASABLANCA.Affinity_Default&quot;,&#xd;
2202                         &quot;policy-version&quot;: 1&#xd;
2203                     },&#xd;
2204                     &quot;properties&quot;: {&#xd;
2205                         &quot;scope&quot;: [],&#xd;
2206                         &quot;services&quot;: [],&#xd;
2207                         &quot;resources&quot;: [],&#xd;
2208                         &quot;geography&quot;: [],&#xd;
2209                         &quot;identity&quot;: &quot;affinity_vCPE&quot;,&#xd;
2210                         &quot;applicableResources&quot;: &quot;any&quot;,&#xd;
2211                         &quot;affinityProperties&quot;: {&#xd;
2212                             &quot;qualifier&quot;: &quot;same&quot;,&#xd;
2213                             &quot;category&quot;: &quot;complex&quot;&#xd;
2214                         }&#xd;
2215                     }&#xd;
2216                 }&#xd;
2217             }&#xd;
2218         ]&#xd;
2219     }&#xd;
2220 }</stringProp>
2221                 <stringProp name="Argument.metadata">=</stringProp>
2222               </elementProp>
2223             </collectionProp>
2224           </elementProp>
2225           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2226           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2227           <stringProp name="HTTPSampler.protocol">https</stringProp>
2228           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2229           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/2.0.0/policies</stringProp>
2230           <stringProp name="HTTPSampler.method">POST</stringProp>
2231           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2232           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2233           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2234           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2235           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2236           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2237           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2238         </HTTPSamplerProxy>
2239         <hashTree>
2240           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2241             <collectionProp name="Asserion.test_strings">
2242               <stringProp name="49586">200</stringProp>
2243             </collectionProp>
2244             <stringProp name="Assertion.custom_message"></stringProp>
2245             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2246             <boolProp name="Assertion.assume_success">false</boolProp>
2247             <intProp name="Assertion.test_type">1</intProp>
2248           </ResponseAssertion>
2249           <hashTree/>
2250           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2251             <stringProp name="scriptLanguage">groovy</stringProp>
2252             <stringProp name="parameters"></stringProp>
2253             <stringProp name="filename"></stringProp>
2254             <stringProp name="cacheKey">true</stringProp>
2255             <stringProp name="script">import groovy.json.JsonSlurper;
2256
2257 def res = [];
2258 if (prev.getResponseCode() == &apos;200&apos;) {
2259     def jsonSlurper = new JsonSlurper();
2260     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2261
2262     assert res instanceof Map;
2263     assert res.topology_template.policies instanceof List;
2264     assert res.topology_template.policies.size == 1;
2265     assert res.topology_template.policies[0] instanceof Map;
2266 }</stringProp>
2267           </JSR223Assertion>
2268           <hashTree/>
2269         </hashTree>
2270         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Guard" enabled="true">
2271           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2272           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2273             <collectionProp name="Arguments.arguments">
2274               <elementProp name="" elementType="HTTPArgument">
2275                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2276                 <stringProp name="Argument.value">{&#xd;
2277    &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2278    &quot;topology_template&quot;: {&#xd;
2279       &quot;policies&quot;: [&#xd;
2280          {&#xd;
2281             &quot;guard.blacklist.scaleout&quot;: {&#xd;
2282                &quot;type&quot;: &quot;onap.policies.controlloop.guard.common.Blacklist&quot;,&#xd;
2283                &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2284                &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2285                &quot;metadata&quot;: {&#xd;
2286                   &quot;policy-id&quot;: &quot;guard.blacklist.scaleout&quot;&#xd;
2287                },&#xd;
2288                &quot;properties&quot;: {&#xd;
2289                   &quot;actor&quot;: &quot;SO&quot;,&#xd;
2290                   &quot;operation&quot;: &quot;VF Module Create&quot;,&#xd;
2291                   &quot;id&quot;: &quot;ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3&quot;,&#xd;
2292                   &quot;blacklist&quot;: [&#xd;
2293                      &quot;the-vfmodule-where-root-is-true&quot;,&#xd;
2294                      &quot;another-vfmodule-where-root-is-true&quot;&#xd;
2295                   ]&#xd;
2296                }&#xd;
2297             }&#xd;
2298          }&#xd;
2299       ]&#xd;
2300    }&#xd;
2301 }</stringProp>
2302                 <stringProp name="Argument.metadata">=</stringProp>
2303               </elementProp>
2304             </collectionProp>
2305           </elementProp>
2306           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2307           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2308           <stringProp name="HTTPSampler.protocol">https</stringProp>
2309           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2310           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/1.0.0/policies</stringProp>
2311           <stringProp name="HTTPSampler.method">POST</stringProp>
2312           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2313           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2314           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2315           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2316           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2317           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2318           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2319         </HTTPSamplerProxy>
2320         <hashTree>
2321           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2322             <collectionProp name="Asserion.test_strings">
2323               <stringProp name="49586">200</stringProp>
2324             </collectionProp>
2325             <stringProp name="Assertion.custom_message"></stringProp>
2326             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2327             <boolProp name="Assertion.assume_success">false</boolProp>
2328             <intProp name="Assertion.test_type">1</intProp>
2329           </ResponseAssertion>
2330           <hashTree/>
2331           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2332             <stringProp name="scriptLanguage">groovy</stringProp>
2333             <stringProp name="parameters"></stringProp>
2334             <stringProp name="filename"></stringProp>
2335             <stringProp name="cacheKey">true</stringProp>
2336             <stringProp name="script">import groovy.json.JsonSlurper;
2337
2338 def res = [];
2339 if (prev.getResponseCode() == &apos;200&apos;) {
2340     def jsonSlurper = new JsonSlurper();
2341     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2342
2343     assert res instanceof Map;
2344     assert res.topology_template.policies instanceof List;
2345     assert res.topology_template.policies.size == 1;
2346     assert res.topology_template.policies[0] instanceof Map;
2347 }</stringProp>
2348           </JSR223Assertion>
2349           <hashTree/>
2350         </hashTree>
2351         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Native APEX" enabled="true">
2352           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2353           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2354             <collectionProp name="Arguments.arguments">
2355               <elementProp name="" elementType="HTTPArgument">
2356                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2357                 <stringProp name="Argument.value">{&#xd;
2358   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2359   &quot;topology_template&quot;: {&#xd;
2360     &quot;policies&quot;: [&#xd;
2361       {&#xd;
2362         &quot;operational.apex.vCPE&quot;: {&#xd;
2363           &quot;type&quot;: &quot;onap.policies.native.Apex&quot;,&#xd;
2364           &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2365           &quot;derived_from&quot;: &quot;tosca.policies.Root&quot;,&#xd;
2366           &quot;name&quot;: &quot;operational.apex.vCPE&quot;,&#xd;
2367           &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2368           &quot;properties&quot;: {&#xd;
2369             &quot;engineServiceParameters&quot;: {&#xd;
2370               &quot;name&quot;: &quot;MyApexEngine&quot;,&#xd;
2371               &quot;version&quot;: &quot;0.0.1&quot;,&#xd;
2372               &quot;id&quot;: 45,&#xd;
2373               &quot;instanceCount&quot;: 4,&#xd;
2374               &quot;deploymentPort&quot;: 12561,&#xd;
2375               &quot;policy_type_impl&quot;: {&#xd;
2376               },&#xd;
2377               &quot;engineParameters&quot;: {&#xd;
2378                 &quot;executorParameters&quot;: {&#xd;
2379                   &quot;JAVASCRIPT&quot;: {&#xd;
2380                     &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.executor.javascript.JavascriptExecutorParameters&quot;&#xd;
2381                   }&#xd;
2382                 },&#xd;
2383                 &quot;contextParameters&quot;: {&#xd;
2384                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.parameters.ContextParameters&quot;,&#xd;
2385                   &quot;schemaParameters&quot;: {&#xd;
2386                     &quot;Avro&quot;: {&#xd;
2387                       &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.context.schema.avro.AvroSchemaHelperParameters&quot;&#xd;
2388                     },&#xd;
2389                     &quot;Java&quot;: {&#xd;
2390                       &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.context.impl.schema.java.JavaSchemaHelperParameters&quot;,&#xd;
2391                       &quot;jsonAdapters&quot;: {&#xd;
2392                         &quot;Instant&quot;: {&#xd;
2393                           &quot;adaptedClass&quot;: &quot;java.time.Instant&quot;,&#xd;
2394                           &quot;adaptorClass&quot;: &quot;org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter&quot;&#xd;
2395                         }&#xd;
2396                       }&#xd;
2397                     }&#xd;
2398                   }&#xd;
2399                 },&#xd;
2400                 &quot;taskParameters&quot;: [&#xd;
2401                   {&#xd;
2402                     &quot;key&quot;: &quot;ParameterKey1&quot;,&#xd;
2403                     &quot;value&quot;: &quot;ParameterValue1&quot;&#xd;
2404                   },&#xd;
2405                   {&#xd;
2406                     &quot;taskId&quot;: &quot;AAILookupTask:0.0.1&quot;,&#xd;
2407                     &quot;key&quot;: &quot;SomeKeyForThisTask&quot;,&#xd;
2408                     &quot;value&quot;: &quot;Value&quot;&#xd;
2409                   }&#xd;
2410                 ]&#xd;
2411               }&#xd;
2412             },&#xd;
2413             &quot;eventInputParameters&quot;: {&#xd;
2414               &quot;GuardRequestorConsumer&quot;: {&#xd;
2415                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2416                   &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
2417                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;,&#xd;
2418                   &quot;parameters&quot;: {&#xd;
2419                     &quot;url&quot;: &quot;http://111.222.333.444:5555/pdp/api/getDecision&quot;,&#xd;
2420                     &quot;httpMethod&quot;: &quot;POST&quot;,&#xd;
2421                     &quot;restRequestTimeout&quot;: 2000,&#xd;
2422                     &quot;httpHeader&quot;: &quot;Authorization:aaaaaaaaa== ClientAuth:bbbbbbbbb=&quot;&#xd;
2423                   }&#xd;
2424                 },&#xd;
2425                 &quot;eventProtocolParameters&quot;: {&#xd;
2426                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2427                 },&#xd;
2428                 &quot;eventName&quot;: &quot;GuardResponseEvent&quot;,&#xd;
2429                 &quot;eventNameFilter&quot;: &quot;GuardResponseEvent&quot;,&#xd;
2430                 &quot;requestorMode&quot;: true,&#xd;
2431                 &quot;requestorPeer&quot;: &quot;GuardRequestorProducer&quot;,&#xd;
2432                 &quot;requestorTimeout&quot;: 500&#xd;
2433               },&#xd;
2434               &quot;DCAEConsumer&quot;: {&#xd;
2435                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2436                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
2437                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
2438                   &quot;parameters&quot;: {&#xd;
2439                     &quot;url&quot;: &quot;http://message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT/APEX/1?timeout=60000&quot;&#xd;
2440                   }&#xd;
2441                 },&#xd;
2442                 &quot;eventProtocolParameters&quot;: {&#xd;
2443                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
2444                   &quot;parameters&quot;: {&#xd;
2445                     &quot;nameAlias&quot;: &quot;closedLoopControlName&quot;,&#xd;
2446                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
2447                     &quot;sourceAlias&quot;: &quot;from&quot;,&#xd;
2448                     &quot;pojoField&quot;: &quot;VirtualControlLoopEvent&quot;&#xd;
2449                   }&#xd;
2450                 },&#xd;
2451                 &quot;eventName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;&#xd;
2452               },&#xd;
2453               &quot;APPCConsumer&quot;: {&#xd;
2454                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2455                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
2456                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
2457                   &quot;parameters&quot;: {&#xd;
2458                     &quot;url&quot;: &quot;http://message-router:3904/events/APPC-LCM-WRITE/APEX/1?timeout=60000&quot;&#xd;
2459                   }&#xd;
2460                 },&#xd;
2461                 &quot;eventProtocolParameters&quot;: {&#xd;
2462                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
2463                   &quot;parameters&quot;: {&#xd;
2464                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
2465                     &quot;pojoField&quot;: &quot;APPCLCMResponseEvent&quot;&#xd;
2466                   }&#xd;
2467                 },&#xd;
2468                 &quot;eventName&quot;: &quot;APPCRestartVNFResponseEvent&quot;,&#xd;
2469                 &quot;eventNameFilter&quot;: &quot;APPCRestartVNFResponseEvent&quot;&#xd;
2470               }&#xd;
2471             },&#xd;
2472             &quot;eventOutputParameters&quot;: {&#xd;
2473               &quot;logProducer&quot;: {&#xd;
2474                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2475                   &quot;carrierTechnology&quot;: &quot;FILE&quot;,&#xd;
2476                   &quot;parameters&quot;: {&#xd;
2477                     &quot;fileName&quot;: &quot;/tmp/VCPEEventsOut.json&quot;&#xd;
2478                   }&#xd;
2479                 },&#xd;
2480                 &quot;eventProtocolParameters&quot;: {&#xd;
2481                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2482                 }&#xd;
2483               },&#xd;
2484               &quot;GuardRequestorProducer&quot;: {&#xd;
2485                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2486                   &quot;carrierTechnology&quot;: &quot;RESTREQUESTOR&quot;,&#xd;
2487                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters&quot;&#xd;
2488                 },&#xd;
2489                 &quot;eventProtocolParameters&quot;: {&#xd;
2490                   &quot;eventProtocol&quot;: &quot;JSON&quot;&#xd;
2491                 },&#xd;
2492                 &quot;eventNameFilter&quot;: &quot;GuardRequestEvent&quot;,&#xd;
2493                 &quot;requestorMode&quot;: true,&#xd;
2494                 &quot;requestorPeer&quot;: &quot;GuardRequestorConsumer&quot;,&#xd;
2495                 &quot;requestorTimeout&quot;: 500&#xd;
2496               },&#xd;
2497               &quot;APPCProducer&quot;: {&#xd;
2498                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2499                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
2500                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
2501                   &quot;parameters&quot;: {&#xd;
2502                     &quot;url&quot;: &quot;http://message-router:3904/events/APPC-LCM-READ&quot;&#xd;
2503                   }&#xd;
2504                 },&#xd;
2505                 &quot;eventProtocolParameters&quot;: {&#xd;
2506                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
2507                   &quot;parameters&quot;: {&#xd;
2508                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
2509                     &quot;sourceAlias&quot;: &quot;from&quot;,&#xd;
2510                     &quot;pojoField&quot;: &quot;APPCLCMRequestEvent&quot;&#xd;
2511                   }&#xd;
2512                 },&#xd;
2513                 &quot;eventNameFilter&quot;: &quot;APPCRestartVNFRequestEvent&quot;&#xd;
2514               },&#xd;
2515               &quot;PolicyLogProducer&quot;: {&#xd;
2516                 &quot;carrierTechnologyParameters&quot;: {&#xd;
2517                   &quot;carrierTechnology&quot;: &quot;RESTCLIENT&quot;,&#xd;
2518                   &quot;parameterClassName&quot;: &quot;org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters&quot;,&#xd;
2519                   &quot;parameters&quot;: {&#xd;
2520                     &quot;url&quot;: &quot;http://message-router:3904/events/POLICY-CL-MGT&quot;&#xd;
2521                   }&#xd;
2522                 },&#xd;
2523                 &quot;eventProtocolParameters&quot;: {&#xd;
2524                   &quot;eventProtocol&quot;: &quot;JSON&quot;,&#xd;
2525                   &quot;parameters&quot;: {&#xd;
2526                     &quot;versionAlias&quot;: &quot;version&quot;,&#xd;
2527                     &quot;sourceAlias&quot;: &quot;from&quot;,&#xd;
2528                     &quot;pojoField&quot;: &quot;VirtualControlLoopNotification&quot;&#xd;
2529                   }&#xd;
2530                 },&#xd;
2531                 &quot;eventNameFilter&quot;: &quot;ControlLoopLogEvent&quot;&#xd;
2532               }&#xd;
2533             }&#xd;
2534           }&#xd;
2535         }&#xd;
2536       }&#xd;
2537     ]&#xd;
2538   }&#xd;
2539 }</stringProp>
2540                 <stringProp name="Argument.metadata">=</stringProp>
2541               </elementProp>
2542             </collectionProp>
2543           </elementProp>
2544           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2545           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2546           <stringProp name="HTTPSampler.protocol">https</stringProp>
2547           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2548           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
2549           <stringProp name="HTTPSampler.method">POST</stringProp>
2550           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2551           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2552           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2553           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2554           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2555           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2556           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2557         </HTTPSamplerProxy>
2558         <hashTree>
2559           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2560             <collectionProp name="Asserion.test_strings">
2561               <stringProp name="49586">200</stringProp>
2562             </collectionProp>
2563             <stringProp name="Assertion.custom_message"></stringProp>
2564             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2565             <boolProp name="Assertion.assume_success">false</boolProp>
2566             <intProp name="Assertion.test_type">1</intProp>
2567           </ResponseAssertion>
2568           <hashTree/>
2569           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2570             <stringProp name="scriptLanguage">groovy</stringProp>
2571             <stringProp name="parameters"></stringProp>
2572             <stringProp name="filename"></stringProp>
2573             <stringProp name="cacheKey">true</stringProp>
2574             <stringProp name="script">import groovy.json.JsonSlurper;
2575
2576 def res = [];
2577 if (prev.getResponseCode() == &apos;200&apos;) {
2578     def jsonSlurper = new JsonSlurper();
2579     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2580
2581     assert res instanceof Map;
2582     assert res.topology_template.policies instanceof List;
2583     assert res.topology_template.policies.size == 1;
2584     assert res.topology_template.policies[0] instanceof Map;
2585 }</stringProp>
2586           </JSR223Assertion>
2587           <hashTree/>
2588         </hashTree>
2589         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Native Drools" enabled="true">
2590           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2591           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2592             <collectionProp name="Arguments.arguments">
2593               <elementProp name="" elementType="HTTPArgument">
2594                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2595                 <stringProp name="Argument.value">{&#xd;
2596     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2597     &quot;topology_template&quot;: {&#xd;
2598         &quot;policies&quot;: [&#xd;
2599             {&#xd;
2600                 &quot;usecases.artifacts&quot;: {&#xd;
2601                     &quot;type&quot;: &quot;onap.policies.native.drools.Artifact&quot;,&#xd;
2602                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2603                     &quot;name&quot;: &quot;usecases.artifacts&quot;,&#xd;
2604                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2605                     &quot;metadata&quot;: {&#xd;
2606                         &quot;policy-id&quot;: &quot;usecases.artifacts&quot;&#xd;
2607                     },&#xd;
2608                     &quot;properties&quot;: {&#xd;
2609                         &quot;rulesArtifact&quot;: {&#xd;
2610                             &quot;groupId&quot;: &quot;org.onap.policy.drools-applications.controlloop.common&quot;,&#xd;
2611                             &quot;artifactId&quot;: &quot;controller-usecases&quot;,&#xd;
2612                             &quot;version&quot;: &quot;1.6.1&quot;&#xd;
2613                         },&#xd;
2614                         &quot;controller&quot;: {&#xd;
2615                             &quot;name&quot;: &quot;frankfurt&quot;&#xd;
2616                         }&#xd;
2617                     }&#xd;
2618                 }&#xd;
2619             }&#xd;
2620         ]&#xd;
2621     }&#xd;
2622 }</stringProp>
2623                 <stringProp name="Argument.metadata">=</stringProp>
2624               </elementProp>
2625             </collectionProp>
2626           </elementProp>
2627           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2628           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2629           <stringProp name="HTTPSampler.protocol">https</stringProp>
2630           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2631           <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp>
2632           <stringProp name="HTTPSampler.method">POST</stringProp>
2633           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2634           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2635           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2636           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2637           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2638           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2639           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2640         </HTTPSamplerProxy>
2641         <hashTree>
2642           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2643             <collectionProp name="Asserion.test_strings">
2644               <stringProp name="49586">200</stringProp>
2645             </collectionProp>
2646             <stringProp name="Assertion.custom_message"></stringProp>
2647             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2648             <boolProp name="Assertion.assume_success">false</boolProp>
2649             <intProp name="Assertion.test_type">1</intProp>
2650           </ResponseAssertion>
2651           <hashTree/>
2652           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2653             <stringProp name="scriptLanguage">groovy</stringProp>
2654             <stringProp name="parameters"></stringProp>
2655             <stringProp name="filename"></stringProp>
2656             <stringProp name="cacheKey">true</stringProp>
2657             <stringProp name="script">import groovy.json.JsonSlurper;
2658
2659 def res = [];
2660 if (prev.getResponseCode() == &apos;200&apos;) {
2661     def jsonSlurper = new JsonSlurper();
2662     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2663
2664     assert res instanceof Map;
2665     assert res.topology_template.policies instanceof List;
2666     assert res.topology_template.policies.size == 1;
2667     assert res.topology_template.policies[0] instanceof Map;
2668 }</stringProp>
2669           </JSR223Assertion>
2670           <hashTree/>
2671         </hashTree>
2672         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Policy Native XACML" enabled="true">
2673           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2674           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2675             <collectionProp name="Arguments.arguments">
2676               <elementProp name="" elementType="HTTPArgument">
2677                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2678                 <stringProp name="Argument.value">{&#xd;
2679     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
2680     &quot;topology_template&quot;: {&#xd;
2681         &quot;policies&quot;: [&#xd;
2682             {&#xd;
2683                 &quot;onap.policies.native.xacml.NativeXacmlPolicy&quot;: {&#xd;
2684                     &quot;type&quot;: &quot;onap.policies.native.Xacml&quot;,&#xd;
2685                     &quot;type_version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2686                     &quot;version&quot;: &quot;6.0.${__threadNum}&quot;,&#xd;
2687                     &quot;metadata&quot;: {&#xd;
2688                         &quot;policy-id&quot;: &quot;onap.policies.native.xacml.NativeXacmlPolicy&quot;&#xd;
2689                     },&#xd;
2690                     &quot;properties&quot;: {&#xd;
2691                         &quot;tca_policy&quot;: {&#xd;
2692                             &quot;domain&quot;: &quot;measurementsForVfScaling&quot;,&#xd;
2693                             &quot;metricsPerEventName&quot;: [&#xd;
2694                                 {&#xd;
2695                                     &quot;eventName&quot;: &quot;Measurement_vGMUX&quot;,&#xd;
2696                                     &quot;controlLoopSchemaType&quot;: &quot;VNF&quot;,&#xd;
2697                                     &quot;policyScope&quot;: &quot;DCAE&quot;,&#xd;
2698                                     &quot;policyName&quot;: &quot;DCAE.Config_tca-hi-lo&quot;,&#xd;
2699                                     &quot;policyVersion&quot;: &quot;v0.0.1&quot;,&#xd;
2700                                     &quot;thresholds&quot;: [&#xd;
2701                                         {&#xd;
2702                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
2703                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
2704                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
2705                                             &quot;thresholdValue&quot;: 0,&#xd;
2706                                             &quot;direction&quot;: &quot;EQUAL&quot;,&#xd;
2707                                             &quot;severity&quot;: &quot;MAJOR&quot;,&#xd;
2708                                             &quot;closedLoopEventStatus&quot;: &quot;ABATED&quot;&#xd;
2709                                         },&#xd;
2710                                         {&#xd;
2711                                             &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
2712                                             &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
2713                                             &quot;fieldPath&quot;: &quot;$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value&quot;,&#xd;
2714                                             &quot;thresholdValue&quot;: 0,&#xd;
2715                                             &quot;direction&quot;: &quot;GREATER&quot;,&#xd;
2716                                             &quot;severity&quot;: &quot;CRITICAL&quot;,&#xd;
2717                                             &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;&#xd;
2718                                         }&#xd;
2719                                     ]&#xd;
2720                                 }&#xd;
2721                             ]&#xd;
2722                         }&#xd;
2723                     }&#xd;
2724                 }&#xd;
2725             }&#xd;
2726         ]&#xd;
2727     }&#xd;
2728 }</stringProp>
2729                 <stringProp name="Argument.metadata">=</stringProp>
2730               </elementProp>
2731             </collectionProp>
2732           </elementProp>
2733           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2734           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2735           <stringProp name="HTTPSampler.protocol">https</stringProp>
2736           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2737           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/2.0.0/policies</stringProp>
2738           <stringProp name="HTTPSampler.method">POST</stringProp>
2739           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2740           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2741           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2742           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2743           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2744           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2745           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2746         </HTTPSamplerProxy>
2747         <hashTree>
2748           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2749             <collectionProp name="Asserion.test_strings">
2750               <stringProp name="49586">200</stringProp>
2751             </collectionProp>
2752             <stringProp name="Assertion.custom_message"></stringProp>
2753             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2754             <boolProp name="Assertion.assume_success">false</boolProp>
2755             <intProp name="Assertion.test_type">1</intProp>
2756           </ResponseAssertion>
2757           <hashTree/>
2758           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2759             <stringProp name="scriptLanguage">groovy</stringProp>
2760             <stringProp name="parameters"></stringProp>
2761             <stringProp name="filename"></stringProp>
2762             <stringProp name="cacheKey">true</stringProp>
2763             <stringProp name="script">import groovy.json.JsonSlurper;
2764
2765 def res = [];
2766 if (prev.getResponseCode() == &apos;200&apos;) {
2767     def jsonSlurper = new JsonSlurper();
2768     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2769
2770     assert res instanceof Map;
2771     assert res.topology_template.policies instanceof List;
2772     assert res.topology_template.policies.size == 1;
2773     assert res.topology_template.policies[0] instanceof Map;
2774 }</stringProp>
2775           </JSR223Assertion>
2776           <hashTree/>
2777         </hashTree>
2778         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All TCA Policies" enabled="true">
2779           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2780             <collectionProp name="Arguments.arguments"/>
2781           </elementProp>
2782           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2783           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2784           <stringProp name="HTTPSampler.protocol">https</stringProp>
2785           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2786           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies</stringProp>
2787           <stringProp name="HTTPSampler.method">GET</stringProp>
2788           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2789           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2790           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2791           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2792           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2793           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2794           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2795         </HTTPSamplerProxy>
2796         <hashTree>
2797           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2798             <collectionProp name="Asserion.test_strings">
2799               <stringProp name="49586">200</stringProp>
2800             </collectionProp>
2801             <stringProp name="Assertion.custom_message"></stringProp>
2802             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2803             <boolProp name="Assertion.assume_success">false</boolProp>
2804             <intProp name="Assertion.test_type">1</intProp>
2805           </ResponseAssertion>
2806           <hashTree/>
2807           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2808             <stringProp name="scriptLanguage">groovy</stringProp>
2809             <stringProp name="parameters"></stringProp>
2810             <stringProp name="filename"></stringProp>
2811             <stringProp name="cacheKey">true</stringProp>
2812             <stringProp name="script">import groovy.json.JsonSlurper;
2813
2814 def res = [];
2815 if (prev.getResponseCode() == &apos;200&apos;) {
2816     def jsonSlurper = new JsonSlurper();
2817     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2818
2819     assert res instanceof Map;
2820     assert res.topology_template.policies instanceof List;
2821     assert res.topology_template.policies.size &gt; 0 &amp;&amp; res.topology_template.policies.size &lt; 10;
2822
2823
2824     for (i=0; i&lt;res.topology_template.policies.size; i++) {
2825         assert res.topology_template.policies[i] instanceof Map;
2826     }
2827 }</stringProp>
2828           </JSR223Assertion>
2829           <hashTree/>
2830         </hashTree>
2831         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Versions of Monitoring Policy" enabled="true">
2832           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2833             <collectionProp name="Arguments.arguments"/>
2834           </elementProp>
2835           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2836           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2837           <stringProp name="HTTPSampler.protocol">https</stringProp>
2838           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2839           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies</stringProp>
2840           <stringProp name="HTTPSampler.method">GET</stringProp>
2841           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2842           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2843           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2844           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2845           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2846           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2847           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2848         </HTTPSamplerProxy>
2849         <hashTree>
2850           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2851             <collectionProp name="Asserion.test_strings">
2852               <stringProp name="49586">200</stringProp>
2853             </collectionProp>
2854             <stringProp name="Assertion.custom_message"></stringProp>
2855             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2856             <boolProp name="Assertion.assume_success">false</boolProp>
2857             <intProp name="Assertion.test_type">1</intProp>
2858           </ResponseAssertion>
2859           <hashTree/>
2860           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2861             <stringProp name="scriptLanguage">groovy</stringProp>
2862             <stringProp name="parameters"></stringProp>
2863             <stringProp name="filename"></stringProp>
2864             <stringProp name="cacheKey">true</stringProp>
2865             <stringProp name="script">import groovy.json.JsonSlurper;
2866
2867 def res = [];
2868 if (prev.getResponseCode() == &apos;200&apos;) {
2869     def jsonSlurper = new JsonSlurper();
2870     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2871
2872     assert res instanceof Map;
2873     assert res.topology_template.policies instanceof List;
2874     assert res.topology_template.policies.size &gt; 0 &amp;&amp; res.topology_template.policies.size &lt; 6;
2875
2876     for (i=0; i&lt;res.topology_template.policies.size; i++) {
2877         assert res.topology_template.policies[i] instanceof Map;
2878         assert res.topology_template.policies[i].get(&apos;onap.restart.tca&apos;).version == &quot;6.0.${__threadNum}&quot;;
2879     }
2880 }</stringProp>
2881           </JSR223Assertion>
2882           <hashTree/>
2883         </hashTree>
2884         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Monitoring" enabled="true">
2885           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2886             <collectionProp name="Arguments.arguments"/>
2887           </elementProp>
2888           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2889           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2890           <stringProp name="HTTPSampler.protocol">https</stringProp>
2891           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2892           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/6.0.${__threadNum}</stringProp>
2893           <stringProp name="HTTPSampler.method">GET</stringProp>
2894           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2895           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2896           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2897           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2898           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2899           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2900           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2901         </HTTPSamplerProxy>
2902         <hashTree>
2903           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2904             <collectionProp name="Asserion.test_strings">
2905               <stringProp name="49586">200</stringProp>
2906             </collectionProp>
2907             <stringProp name="Assertion.custom_message"></stringProp>
2908             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2909             <boolProp name="Assertion.assume_success">false</boolProp>
2910             <intProp name="Assertion.test_type">1</intProp>
2911           </ResponseAssertion>
2912           <hashTree/>
2913           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2914             <stringProp name="scriptLanguage">groovy</stringProp>
2915             <stringProp name="parameters"></stringProp>
2916             <stringProp name="filename"></stringProp>
2917             <stringProp name="cacheKey">true</stringProp>
2918             <stringProp name="script">import groovy.json.JsonSlurper;
2919
2920 def res = [];
2921 if (prev.getResponseCode() == &apos;200&apos;) {
2922     def jsonSlurper = new JsonSlurper();
2923     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2924
2925     assert res instanceof Map;
2926     assert res.topology_template.policies instanceof List;
2927     assert res.topology_template.policies.size == 1;
2928
2929     assert res.topology_template.policies[0] instanceof Map;
2930     assert res.topology_template.policies [0].get(&apos;onap.restart.tca&apos;).version == &quot;6.0.${__threadNum}&quot;;
2931 }</stringProp>
2932           </JSR223Assertion>
2933           <hashTree/>
2934         </hashTree>
2935         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Optimization" enabled="true">
2936           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2937             <collectionProp name="Arguments.arguments"/>
2938           </elementProp>
2939           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2940           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2941           <stringProp name="HTTPSampler.protocol">https</stringProp>
2942           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2943           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}/policies/OSDF_CASABLANCA.Affinity_Default/versions/6.0.${__threadNum}</stringProp>
2944           <stringProp name="HTTPSampler.method">GET</stringProp>
2945           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2946           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2947           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2948           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2949           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2950           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2951           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2952         </HTTPSamplerProxy>
2953         <hashTree>
2954           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2955             <collectionProp name="Asserion.test_strings">
2956               <stringProp name="49586">200</stringProp>
2957             </collectionProp>
2958             <stringProp name="Assertion.custom_message"></stringProp>
2959             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2960             <boolProp name="Assertion.assume_success">false</boolProp>
2961             <intProp name="Assertion.test_type">1</intProp>
2962           </ResponseAssertion>
2963           <hashTree/>
2964           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2965             <stringProp name="scriptLanguage">groovy</stringProp>
2966             <stringProp name="parameters"></stringProp>
2967             <stringProp name="filename"></stringProp>
2968             <stringProp name="cacheKey">true</stringProp>
2969             <stringProp name="script">import groovy.json.JsonSlurper;
2970
2971 def res = [];
2972 if (prev.getResponseCode() == &apos;200&apos;) {
2973     def jsonSlurper = new JsonSlurper();
2974     res = jsonSlurper.parseText(prev.getResponseDataAsString());
2975
2976     assert res instanceof Map;
2977     assert res.topology_template.policies instanceof List;
2978     assert res.topology_template.policies.size == 1;
2979
2980     assert res.topology_template.policies[0] instanceof Map;
2981     assert res.topology_template.policies [0].get(&apos;OSDF_CASABLANCA.Affinity_Default&apos;).version == &quot;6.0.${__threadNum}&quot;;
2982 }</stringProp>
2983           </JSR223Assertion>
2984           <hashTree/>
2985         </hashTree>
2986         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Guard" enabled="true">
2987           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2988             <collectionProp name="Arguments.arguments"/>
2989           </elementProp>
2990           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2991           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2992           <stringProp name="HTTPSampler.protocol">https</stringProp>
2993           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2994           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}/policies/guard.blacklist.scaleout/versions/6.0.${__threadNum}</stringProp>
2995           <stringProp name="HTTPSampler.method">GET</stringProp>
2996           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2997           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2998           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2999           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3000           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3001           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3002           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3003         </HTTPSamplerProxy>
3004         <hashTree>
3005           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3006             <collectionProp name="Asserion.test_strings">
3007               <stringProp name="49586">200</stringProp>
3008             </collectionProp>
3009             <stringProp name="Assertion.custom_message"></stringProp>
3010             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3011             <boolProp name="Assertion.assume_success">false</boolProp>
3012             <intProp name="Assertion.test_type">1</intProp>
3013           </ResponseAssertion>
3014           <hashTree/>
3015           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3016             <stringProp name="scriptLanguage">groovy</stringProp>
3017             <stringProp name="parameters"></stringProp>
3018             <stringProp name="filename"></stringProp>
3019             <stringProp name="cacheKey">true</stringProp>
3020             <stringProp name="script">import groovy.json.JsonSlurper;
3021
3022 def res = [];
3023 if (prev.getResponseCode() == &apos;200&apos;) {
3024     def jsonSlurper = new JsonSlurper();
3025     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3026
3027     assert res instanceof Map;
3028     assert res.topology_template.policies instanceof List;
3029     assert res.topology_template.policies.size == 1;
3030
3031     assert res.topology_template.policies[0] instanceof Map;
3032     assert res.topology_template.policies [0].get(&apos;guard.blacklist.scaleout&apos;).version == &quot;6.0.${__threadNum}&quot;;
3033 }</stringProp>
3034           </JSR223Assertion>
3035           <hashTree/>
3036         </hashTree>
3037         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Native APEX" enabled="true">
3038           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3039             <collectionProp name="Arguments.arguments"/>
3040           </elementProp>
3041           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3042           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3043           <stringProp name="HTTPSampler.protocol">https</stringProp>
3044           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3045           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}/policies/operational.apex.vCPE/versions/6.0.${__threadNum}</stringProp>
3046           <stringProp name="HTTPSampler.method">GET</stringProp>
3047           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3048           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3049           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3050           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3051           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3052           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3053           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3054         </HTTPSamplerProxy>
3055         <hashTree>
3056           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3057             <collectionProp name="Asserion.test_strings">
3058               <stringProp name="49586">200</stringProp>
3059             </collectionProp>
3060             <stringProp name="Assertion.custom_message"></stringProp>
3061             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3062             <boolProp name="Assertion.assume_success">false</boolProp>
3063             <intProp name="Assertion.test_type">1</intProp>
3064           </ResponseAssertion>
3065           <hashTree/>
3066           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3067             <stringProp name="scriptLanguage">groovy</stringProp>
3068             <stringProp name="parameters"></stringProp>
3069             <stringProp name="filename"></stringProp>
3070             <stringProp name="cacheKey">true</stringProp>
3071             <stringProp name="script">import groovy.json.JsonSlurper;
3072
3073 def res = [];
3074 if (prev.getResponseCode() == &apos;200&apos;) {
3075     def jsonSlurper = new JsonSlurper();
3076     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3077
3078     assert res instanceof Map;
3079     assert res.topology_template.policies instanceof List;
3080     assert res.topology_template.policies.size == 1;
3081
3082     assert res.topology_template.policies[0] instanceof Map;
3083     assert res.topology_template.policies [0].get(&apos;operational.apex.vCPE&apos;).version == &quot;6.0.${__threadNum}&quot;;
3084 }</stringProp>
3085           </JSR223Assertion>
3086           <hashTree/>
3087         </hashTree>
3088         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Native Drools" enabled="true">
3089           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3090             <collectionProp name="Arguments.arguments"/>
3091           </elementProp>
3092           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3093           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3094           <stringProp name="HTTPSampler.protocol">https</stringProp>
3095           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3096           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Artifact/versions/6.0.${__threadNum}/policies/usecases.artifacts/versions/6.0.${__threadNum}</stringProp>
3097           <stringProp name="HTTPSampler.method">GET</stringProp>
3098           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3099           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3100           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3101           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3102           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3103           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3104           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3105         </HTTPSamplerProxy>
3106         <hashTree>
3107           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3108             <collectionProp name="Asserion.test_strings">
3109               <stringProp name="49586">200</stringProp>
3110             </collectionProp>
3111             <stringProp name="Assertion.custom_message"></stringProp>
3112             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3113             <boolProp name="Assertion.assume_success">false</boolProp>
3114             <intProp name="Assertion.test_type">1</intProp>
3115           </ResponseAssertion>
3116           <hashTree/>
3117           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3118             <stringProp name="scriptLanguage">groovy</stringProp>
3119             <stringProp name="parameters"></stringProp>
3120             <stringProp name="filename"></stringProp>
3121             <stringProp name="cacheKey">true</stringProp>
3122             <stringProp name="script">import groovy.json.JsonSlurper;
3123
3124 def res = [];
3125 if (prev.getResponseCode() == &apos;200&apos;) {
3126     def jsonSlurper = new JsonSlurper();
3127     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3128
3129     assert res instanceof Map;
3130     assert res.topology_template.policies instanceof List;
3131     assert res.topology_template.policies.size == 1;
3132
3133     assert res.topology_template.policies[0] instanceof Map;
3134     assert res.topology_template.policies [0].get(&apos;usecases.artifacts&apos;).version == &quot;6.0.${__threadNum}&quot;;
3135 }</stringProp>
3136           </JSR223Assertion>
3137           <hashTree/>
3138         </hashTree>
3139         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Policy Native XACML" enabled="true">
3140           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3141             <collectionProp name="Arguments.arguments"/>
3142           </elementProp>
3143           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3144           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3145           <stringProp name="HTTPSampler.protocol">https</stringProp>
3146           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3147           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}/policies/onap.policies.native.xacml.NativeXacmlPolicy/versions/6.0.${__threadNum}</stringProp>
3148           <stringProp name="HTTPSampler.method">GET</stringProp>
3149           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3150           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3151           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3152           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3153           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3154           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3155           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3156         </HTTPSamplerProxy>
3157         <hashTree>
3158           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3159             <collectionProp name="Asserion.test_strings">
3160               <stringProp name="49586">200</stringProp>
3161             </collectionProp>
3162             <stringProp name="Assertion.custom_message"></stringProp>
3163             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3164             <boolProp name="Assertion.assume_success">false</boolProp>
3165             <intProp name="Assertion.test_type">1</intProp>
3166           </ResponseAssertion>
3167           <hashTree/>
3168           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3169             <stringProp name="scriptLanguage">groovy</stringProp>
3170             <stringProp name="parameters"></stringProp>
3171             <stringProp name="filename"></stringProp>
3172             <stringProp name="cacheKey">true</stringProp>
3173             <stringProp name="script">import groovy.json.JsonSlurper;
3174
3175 def res = [];
3176 if (prev.getResponseCode() == &apos;200&apos;) {
3177     def jsonSlurper = new JsonSlurper();
3178     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3179
3180     assert res instanceof Map;
3181     assert res.topology_template.policies instanceof List;
3182     assert res.topology_template.policies.size == 1;
3183
3184     assert res.topology_template.policies[0] instanceof Map;
3185     assert res.topology_template.policies [0].get(&apos;onap.policies.native.xacml.NativeXacmlPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
3186 }</stringProp>
3187           </JSR223Assertion>
3188           <hashTree/>
3189         </hashTree>
3190         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get latest Monitoring Policy" enabled="true">
3191           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3192             <collectionProp name="Arguments.arguments"/>
3193           </elementProp>
3194           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3195           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3196           <stringProp name="HTTPSampler.protocol">https</stringProp>
3197           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3198           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/latest</stringProp>
3199           <stringProp name="HTTPSampler.method">GET</stringProp>
3200           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3201           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3202           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3203           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3204           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3205           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3206           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3207         </HTTPSamplerProxy>
3208         <hashTree>
3209           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3210             <collectionProp name="Asserion.test_strings">
3211               <stringProp name="49586">200</stringProp>
3212             </collectionProp>
3213             <stringProp name="Assertion.custom_message"></stringProp>
3214             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3215             <boolProp name="Assertion.assume_success">false</boolProp>
3216             <intProp name="Assertion.test_type">1</intProp>
3217           </ResponseAssertion>
3218           <hashTree/>
3219           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3220             <stringProp name="scriptLanguage">groovy</stringProp>
3221             <stringProp name="parameters"></stringProp>
3222             <stringProp name="filename"></stringProp>
3223             <stringProp name="cacheKey">true</stringProp>
3224             <stringProp name="script">import groovy.json.JsonSlurper;
3225
3226 def res = [];
3227 if (prev.getResponseCode() == &apos;200&apos;) {
3228     def jsonSlurper = new JsonSlurper();
3229     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3230
3231     assert res instanceof Map;
3232     assert res.topology_template.policies instanceof List;
3233     assert res.topology_template.policies.size == 1;
3234
3235     assert res.topology_template.policies[0] instanceof Map;
3236     assert res.topology_template.policies [0].get(&apos;onap.restart.tca&apos;).version ==~ /6.0.\d+/;
3237 }</stringProp>
3238           </JSR223Assertion>
3239           <hashTree/>
3240         </hashTree>
3241         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Monitoring" enabled="true">
3242           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3243             <collectionProp name="Arguments.arguments"/>
3244           </elementProp>
3245           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3246           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3247           <stringProp name="HTTPSampler.protocol">https</stringProp>
3248           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3249           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/6.0.${__threadNum}</stringProp>
3250           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3251           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3252           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3253           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3254           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3255           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3256           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3257           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3258         </HTTPSamplerProxy>
3259         <hashTree>
3260           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3261             <collectionProp name="Asserion.test_strings">
3262               <stringProp name="49586">200</stringProp>
3263             </collectionProp>
3264             <stringProp name="Assertion.custom_message"></stringProp>
3265             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3266             <boolProp name="Assertion.assume_success">false</boolProp>
3267             <intProp name="Assertion.test_type">1</intProp>
3268           </ResponseAssertion>
3269           <hashTree/>
3270           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3271             <stringProp name="scriptLanguage">groovy</stringProp>
3272             <stringProp name="parameters"></stringProp>
3273             <stringProp name="filename"></stringProp>
3274             <stringProp name="cacheKey">true</stringProp>
3275             <stringProp name="script">import groovy.json.JsonSlurper;
3276
3277 def res = [];
3278 if (prev.getResponseCode() == &apos;200&apos;) {
3279     def jsonSlurper = new JsonSlurper();
3280     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3281
3282     assert res instanceof Map;
3283     assert res.topology_template.policies instanceof List;
3284     assert res.topology_template.policies.size == 1;
3285     assert res.topology_template.policies[0] instanceof Map;
3286     assert res.topology_template.policies[0].get(&apos;onap.restart.tca&apos;).version == &quot;6.0.${__threadNum}&quot;;
3287 }</stringProp>
3288           </JSR223Assertion>
3289           <hashTree/>
3290         </hashTree>
3291         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Monitoring V2" enabled="true">
3292           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3293             <collectionProp name="Arguments.arguments"/>
3294           </elementProp>
3295           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3296           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3297           <stringProp name="HTTPSampler.protocol">https</stringProp>
3298           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3299           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}/policies/onap.restart.tca/versions/7.0.${__threadNum}</stringProp>
3300           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3301           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3302           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3303           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3304           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3305           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3306           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3307           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3308         </HTTPSamplerProxy>
3309         <hashTree>
3310           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3311             <collectionProp name="Asserion.test_strings">
3312               <stringProp name="49586">200</stringProp>
3313             </collectionProp>
3314             <stringProp name="Assertion.custom_message"></stringProp>
3315             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3316             <boolProp name="Assertion.assume_success">false</boolProp>
3317             <intProp name="Assertion.test_type">1</intProp>
3318           </ResponseAssertion>
3319           <hashTree/>
3320           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3321             <stringProp name="scriptLanguage">groovy</stringProp>
3322             <stringProp name="parameters"></stringProp>
3323             <stringProp name="filename"></stringProp>
3324             <stringProp name="cacheKey">true</stringProp>
3325             <stringProp name="script">import groovy.json.JsonSlurper;
3326
3327 def res = [];
3328 if (prev.getResponseCode() == &apos;200&apos;) {
3329     def jsonSlurper = new JsonSlurper();
3330     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3331
3332     assert res instanceof Map;
3333     assert res.topology_template.policies instanceof List;
3334     assert res.topology_template.policies.size == 1;
3335     assert res.topology_template.policies[0] instanceof Map;
3336     assert res.topology_template.policies[0].get(&apos;onap.restart.tca&apos;).version == &quot;7.0.${__threadNum}&quot;;
3337 }</stringProp>
3338           </JSR223Assertion>
3339           <hashTree/>
3340         </hashTree>
3341         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Optimization" enabled="true">
3342           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3343             <collectionProp name="Arguments.arguments"/>
3344           </elementProp>
3345           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3346           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3347           <stringProp name="HTTPSampler.protocol">https</stringProp>
3348           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3349           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}/policies/OSDF_CASABLANCA.Affinity_Default/versions/6.0.${__threadNum}</stringProp>
3350           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3351           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3352           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3353           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3354           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3355           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3356           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3357           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3358         </HTTPSamplerProxy>
3359         <hashTree>
3360           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3361             <collectionProp name="Asserion.test_strings">
3362               <stringProp name="49586">200</stringProp>
3363             </collectionProp>
3364             <stringProp name="Assertion.custom_message"></stringProp>
3365             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3366             <boolProp name="Assertion.assume_success">false</boolProp>
3367             <intProp name="Assertion.test_type">1</intProp>
3368           </ResponseAssertion>
3369           <hashTree/>
3370           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3371             <stringProp name="scriptLanguage">groovy</stringProp>
3372             <stringProp name="parameters"></stringProp>
3373             <stringProp name="filename"></stringProp>
3374             <stringProp name="cacheKey">true</stringProp>
3375             <stringProp name="script">import groovy.json.JsonSlurper;
3376
3377 def res = [];
3378 if (prev.getResponseCode() == &apos;200&apos;) {
3379     def jsonSlurper = new JsonSlurper();
3380     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3381
3382     assert res instanceof Map;
3383     assert res.topology_template.policies instanceof List;
3384     assert res.topology_template.policies.size == 1;
3385     assert res.topology_template.policies[0] instanceof Map;
3386     assert res.topology_template.policies[0].get(&apos;OSDF_CASABLANCA.Affinity_Default&apos;).version == &quot;6.0.${__threadNum}&quot;;
3387 }</stringProp>
3388           </JSR223Assertion>
3389           <hashTree/>
3390         </hashTree>
3391         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Guard" enabled="true">
3392           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3393             <collectionProp name="Arguments.arguments"/>
3394           </elementProp>
3395           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3396           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3397           <stringProp name="HTTPSampler.protocol">https</stringProp>
3398           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3399           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}/policies/guard.blacklist.scaleout/versions/6.0.${__threadNum}</stringProp>
3400           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3401           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3402           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3403           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3404           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3405           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3406           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3407           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3408         </HTTPSamplerProxy>
3409         <hashTree>
3410           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3411             <collectionProp name="Asserion.test_strings">
3412               <stringProp name="49586">200</stringProp>
3413             </collectionProp>
3414             <stringProp name="Assertion.custom_message"></stringProp>
3415             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3416             <boolProp name="Assertion.assume_success">false</boolProp>
3417             <intProp name="Assertion.test_type">1</intProp>
3418           </ResponseAssertion>
3419           <hashTree/>
3420           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3421             <stringProp name="scriptLanguage">groovy</stringProp>
3422             <stringProp name="parameters"></stringProp>
3423             <stringProp name="filename"></stringProp>
3424             <stringProp name="cacheKey">true</stringProp>
3425             <stringProp name="script">import groovy.json.JsonSlurper;
3426
3427 def res = [];
3428 if (prev.getResponseCode() == &apos;200&apos;) {
3429     def jsonSlurper = new JsonSlurper();
3430     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3431
3432     assert res instanceof Map;
3433     assert res.topology_template.policies instanceof List;
3434     assert res.topology_template.policies.size == 1;
3435     assert res.topology_template.policies[0] instanceof Map;
3436     assert res.topology_template.policies[0].get(&apos;guard.blacklist.scaleout&apos;).version == &quot;6.0.${__threadNum}&quot;;
3437 }</stringProp>
3438           </JSR223Assertion>
3439           <hashTree/>
3440         </hashTree>
3441         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Native APEX" enabled="true">
3442           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3443             <collectionProp name="Arguments.arguments"/>
3444           </elementProp>
3445           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3446           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3447           <stringProp name="HTTPSampler.protocol">https</stringProp>
3448           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3449           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}/policies/operational.apex.vCPE/versions/6.0.${__threadNum}</stringProp>
3450           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3451           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3452           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3453           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3454           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3455           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3456           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3457           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3458         </HTTPSamplerProxy>
3459         <hashTree>
3460           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3461             <collectionProp name="Asserion.test_strings">
3462               <stringProp name="49586">200</stringProp>
3463             </collectionProp>
3464             <stringProp name="Assertion.custom_message"></stringProp>
3465             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3466             <boolProp name="Assertion.assume_success">false</boolProp>
3467             <intProp name="Assertion.test_type">1</intProp>
3468           </ResponseAssertion>
3469           <hashTree/>
3470           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3471             <stringProp name="scriptLanguage">groovy</stringProp>
3472             <stringProp name="parameters"></stringProp>
3473             <stringProp name="filename"></stringProp>
3474             <stringProp name="cacheKey">true</stringProp>
3475             <stringProp name="script">import groovy.json.JsonSlurper;
3476
3477 def res = [];
3478 if (prev.getResponseCode() == &apos;200&apos;) {
3479     def jsonSlurper = new JsonSlurper();
3480     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3481
3482     assert res instanceof Map;
3483     assert res.topology_template.policies instanceof List;
3484     assert res.topology_template.policies.size == 1;
3485     assert res.topology_template.policies[0] instanceof Map;
3486     assert res.topology_template.policies[0].get(&apos;operational.apex.vCPE&apos;).version == &quot;6.0.${__threadNum}&quot;;
3487 }</stringProp>
3488           </JSR223Assertion>
3489           <hashTree/>
3490         </hashTree>
3491         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Native Drools" enabled="true">
3492           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3493             <collectionProp name="Arguments.arguments"/>
3494           </elementProp>
3495           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3496           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3497           <stringProp name="HTTPSampler.protocol">https</stringProp>
3498           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3499           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Artifact/versions/6.0.${__threadNum}/policies/usecases.artifacts/versions/6.0.${__threadNum}</stringProp>
3500           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3501           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3502           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3503           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3504           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3505           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3506           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3507           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3508         </HTTPSamplerProxy>
3509         <hashTree>
3510           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3511             <collectionProp name="Asserion.test_strings">
3512               <stringProp name="49586">200</stringProp>
3513             </collectionProp>
3514             <stringProp name="Assertion.custom_message"></stringProp>
3515             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3516             <boolProp name="Assertion.assume_success">false</boolProp>
3517             <intProp name="Assertion.test_type">1</intProp>
3518           </ResponseAssertion>
3519           <hashTree/>
3520           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3521             <stringProp name="scriptLanguage">groovy</stringProp>
3522             <stringProp name="parameters"></stringProp>
3523             <stringProp name="filename"></stringProp>
3524             <stringProp name="cacheKey">true</stringProp>
3525             <stringProp name="script">import groovy.json.JsonSlurper;
3526
3527 def res = [];
3528 if (prev.getResponseCode() == &apos;200&apos;) {
3529     def jsonSlurper = new JsonSlurper();
3530     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3531
3532     assert res instanceof Map;
3533     assert res.topology_template.policies instanceof List;
3534     assert res.topology_template.policies.size == 1;
3535     assert res.topology_template.policies[0] instanceof Map;
3536     assert res.topology_template.policies[0].get(&apos;usecases.artifacts&apos;).version == &quot;6.0.${__threadNum}&quot;;
3537 }</stringProp>
3538           </JSR223Assertion>
3539           <hashTree/>
3540         </hashTree>
3541         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Native XACML" enabled="true">
3542           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3543             <collectionProp name="Arguments.arguments"/>
3544           </elementProp>
3545           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3546           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3547           <stringProp name="HTTPSampler.protocol">https</stringProp>
3548           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3549           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}/policies/onap.policies.native.xacml.NativeXacmlPolicy/versions/6.0.${__threadNum}</stringProp>
3550           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3551           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3552           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3553           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3554           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3555           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3556           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3557           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3558         </HTTPSamplerProxy>
3559         <hashTree>
3560           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3561             <collectionProp name="Asserion.test_strings">
3562               <stringProp name="49586">200</stringProp>
3563             </collectionProp>
3564             <stringProp name="Assertion.custom_message"></stringProp>
3565             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3566             <boolProp name="Assertion.assume_success">false</boolProp>
3567             <intProp name="Assertion.test_type">1</intProp>
3568           </ResponseAssertion>
3569           <hashTree/>
3570           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3571             <stringProp name="scriptLanguage">groovy</stringProp>
3572             <stringProp name="parameters"></stringProp>
3573             <stringProp name="filename"></stringProp>
3574             <stringProp name="cacheKey">true</stringProp>
3575             <stringProp name="script">import groovy.json.JsonSlurper;
3576
3577 def res = [];
3578 if (prev.getResponseCode() == &apos;200&apos;) {
3579     def jsonSlurper = new JsonSlurper();
3580     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3581
3582     assert res instanceof Map;
3583     assert res.topology_template.policies instanceof List;
3584     assert res.topology_template.policies.size == 1;
3585     assert res.topology_template.policies[0] instanceof Map;
3586     assert res.topology_template.policies[0].get(&apos;onap.policies.native.xacml.NativeXacmlPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
3587 }</stringProp>
3588           </JSR223Assertion>
3589           <hashTree/>
3590         </hashTree>
3591         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Monitoring" enabled="true">
3592           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3593             <collectionProp name="Arguments.arguments"/>
3594           </elementProp>
3595           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3596           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3597           <stringProp name="HTTPSampler.protocol">https</stringProp>
3598           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3599           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/6.0.${__threadNum}</stringProp>
3600           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3601           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3602           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3603           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3604           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3605           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3606           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3607           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3608         </HTTPSamplerProxy>
3609         <hashTree>
3610           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
3611             <collectionProp name="Asserion.test_strings">
3612               <stringProp name="49586">200</stringProp>
3613             </collectionProp>
3614             <stringProp name="Assertion.custom_message"></stringProp>
3615             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3616             <boolProp name="Assertion.assume_success">false</boolProp>
3617             <intProp name="Assertion.test_type">1</intProp>
3618           </ResponseAssertion>
3619           <hashTree/>
3620           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false">
3621             <stringProp name="scriptLanguage">groovy</stringProp>
3622             <stringProp name="parameters"></stringProp>
3623             <stringProp name="filename"></stringProp>
3624             <stringProp name="cacheKey">true</stringProp>
3625             <stringProp name="script">import groovy.json.JsonSlurper;
3626
3627 def res = [];
3628 if (prev.getResponseCode() == &apos;409&apos;) {
3629     def jsonSlurper = new JsonSlurper();
3630     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3631
3632     assert res instanceof Map;
3633     assert res.policy_types instanceof List;
3634     assert res.policy_types.size == 1;
3635     assert res.policy_types[0] instanceof Map;
3636     assert res.policy_types[0].get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version == &quot;6.0.${__threadNum}&quot;;
3637  }</stringProp>
3638           </JSR223Assertion>
3639           <hashTree/>
3640         </hashTree>
3641         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Monitoring V2" enabled="true">
3642           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3643             <collectionProp name="Arguments.arguments"/>
3644           </elementProp>
3645           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3646           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3647           <stringProp name="HTTPSampler.protocol">https</stringProp>
3648           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3649           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/7.0.${__threadNum}</stringProp>
3650           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3651           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3652           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3653           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3654           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3655           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3656           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3657           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3658         </HTTPSamplerProxy>
3659         <hashTree>
3660           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="false">
3661             <collectionProp name="Asserion.test_strings">
3662               <stringProp name="49586">200</stringProp>
3663             </collectionProp>
3664             <stringProp name="Assertion.custom_message"></stringProp>
3665             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3666             <boolProp name="Assertion.assume_success">false</boolProp>
3667             <intProp name="Assertion.test_type">1</intProp>
3668           </ResponseAssertion>
3669           <hashTree/>
3670           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false">
3671             <stringProp name="scriptLanguage">groovy</stringProp>
3672             <stringProp name="parameters"></stringProp>
3673             <stringProp name="filename"></stringProp>
3674             <stringProp name="cacheKey">true</stringProp>
3675             <stringProp name="script">import groovy.json.JsonSlurper;
3676
3677 def res = [];
3678 if (prev.getResponseCode() == &apos;409&apos;) {
3679     def jsonSlurper = new JsonSlurper();
3680     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3681
3682     assert res instanceof Map;
3683     assert res.policy_types instanceof List;
3684     assert res.policy_types.size == 1;
3685     assert res.policy_types[0] instanceof Map;
3686     assert res.policy_types[0].get(&apos;onap.policies.monitoring.cdap.tca.hi.lo.app&apos;).version == &quot;7.0.${__threadNum}&quot;;
3687  }</stringProp>
3688           </JSR223Assertion>
3689           <hashTree/>
3690         </hashTree>
3691         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Optimization" enabled="true">
3692           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3693             <collectionProp name="Arguments.arguments"/>
3694           </elementProp>
3695           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3696           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3697           <stringProp name="HTTPSampler.protocol">https</stringProp>
3698           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3699           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/6.0.${__threadNum}</stringProp>
3700           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3701           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3702           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3703           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3704           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3705           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3706           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3707           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3708         </HTTPSamplerProxy>
3709         <hashTree>
3710           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3711             <collectionProp name="Asserion.test_strings">
3712               <stringProp name="49586">200</stringProp>
3713             </collectionProp>
3714             <stringProp name="Assertion.custom_message"></stringProp>
3715             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3716             <boolProp name="Assertion.assume_success">false</boolProp>
3717             <intProp name="Assertion.test_type">1</intProp>
3718           </ResponseAssertion>
3719           <hashTree/>
3720           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3721             <stringProp name="scriptLanguage">groovy</stringProp>
3722             <stringProp name="parameters"></stringProp>
3723             <stringProp name="filename"></stringProp>
3724             <stringProp name="cacheKey">true</stringProp>
3725             <stringProp name="script">import groovy.json.JsonSlurper;
3726
3727 def res = [];
3728 if (prev.getResponseCode() == &apos;409&apos;) {
3729     def jsonSlurper = new JsonSlurper();
3730     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3731
3732     assert res instanceof Map;
3733     assert res.policy_types instanceof List;
3734     assert res.policy_types.size == 1;
3735     assert res.policy_types[0] instanceof Map;
3736     assert res.policy_types[0].get(&apos;onap.policies.optimization.resource.AffinityPolicy&apos;).version == &quot;6.0.${__threadNum}&quot;;
3737  }</stringProp>
3738           </JSR223Assertion>
3739           <hashTree/>
3740         </hashTree>
3741         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Guard" enabled="true">
3742           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3743             <collectionProp name="Arguments.arguments"/>
3744           </elementProp>
3745           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3746           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3747           <stringProp name="HTTPSampler.protocol">https</stringProp>
3748           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3749           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.controlloop.guard.common.Blacklist/versions/6.0.${__threadNum}</stringProp>
3750           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3751           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3752           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3753           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3754           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3755           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3756           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3757           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3758         </HTTPSamplerProxy>
3759         <hashTree>
3760           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3761             <collectionProp name="Asserion.test_strings">
3762               <stringProp name="49586">200</stringProp>
3763             </collectionProp>
3764             <stringProp name="Assertion.custom_message"></stringProp>
3765             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3766             <boolProp name="Assertion.assume_success">false</boolProp>
3767             <intProp name="Assertion.test_type">1</intProp>
3768           </ResponseAssertion>
3769           <hashTree/>
3770           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3771             <stringProp name="scriptLanguage">groovy</stringProp>
3772             <stringProp name="parameters"></stringProp>
3773             <stringProp name="filename"></stringProp>
3774             <stringProp name="cacheKey">true</stringProp>
3775             <stringProp name="script">import groovy.json.JsonSlurper;
3776
3777 def res = [];
3778 if (prev.getResponseCode() == &apos;200&apos;) {
3779     def jsonSlurper = new JsonSlurper();
3780     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3781
3782     assert res instanceof Map;
3783     assert res.policy_types instanceof Map;
3784     assert res.policy_types.get(&apos;onap.policies.controlloop.guard.common.Blacklist&apos;).version == &quot;6.0.${__threadNum}&quot;;
3785  }</stringProp>
3786           </JSR223Assertion>
3787           <hashTree/>
3788         </hashTree>
3789         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native APEX" enabled="true">
3790           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3791             <collectionProp name="Arguments.arguments"/>
3792           </elementProp>
3793           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3794           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3795           <stringProp name="HTTPSampler.protocol">https</stringProp>
3796           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3797           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/6.0.${__threadNum}</stringProp>
3798           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3799           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3800           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3801           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3802           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3803           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3804           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3805           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3806         </HTTPSamplerProxy>
3807         <hashTree>
3808           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3809             <collectionProp name="Asserion.test_strings">
3810               <stringProp name="49586">200</stringProp>
3811             </collectionProp>
3812             <stringProp name="Assertion.custom_message"></stringProp>
3813             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3814             <boolProp name="Assertion.assume_success">false</boolProp>
3815             <intProp name="Assertion.test_type">1</intProp>
3816           </ResponseAssertion>
3817           <hashTree/>
3818           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3819             <stringProp name="scriptLanguage">groovy</stringProp>
3820             <stringProp name="parameters"></stringProp>
3821             <stringProp name="filename"></stringProp>
3822             <stringProp name="cacheKey">true</stringProp>
3823             <stringProp name="script">import groovy.json.JsonSlurper;
3824
3825 def res = [];
3826 if (prev.getResponseCode() == &apos;200&apos;) {
3827     def jsonSlurper = new JsonSlurper();
3828     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3829
3830     assert res instanceof Map;
3831     assert res.policy_types instanceof Map;
3832     assert res.policy_types.get(&apos;onap.policies.native.Apex&apos;).version == &quot;6.0.${__threadNum}&quot;;
3833  }</stringProp>
3834           </JSR223Assertion>
3835           <hashTree/>
3836         </hashTree>
3837         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native Drools Controller" enabled="true">
3838           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3839             <collectionProp name="Arguments.arguments"/>
3840           </elementProp>
3841           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3842           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3843           <stringProp name="HTTPSampler.protocol">https</stringProp>
3844           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3845           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Controller/versions/6.0.${__threadNum}</stringProp>
3846           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3847           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3848           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3849           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3850           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3851           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3852           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3853           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3854         </HTTPSamplerProxy>
3855         <hashTree>
3856           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3857             <collectionProp name="Asserion.test_strings">
3858               <stringProp name="49586">200</stringProp>
3859             </collectionProp>
3860             <stringProp name="Assertion.custom_message"></stringProp>
3861             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3862             <boolProp name="Assertion.assume_success">false</boolProp>
3863             <intProp name="Assertion.test_type">1</intProp>
3864           </ResponseAssertion>
3865           <hashTree/>
3866           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3867             <stringProp name="scriptLanguage">groovy</stringProp>
3868             <stringProp name="parameters"></stringProp>
3869             <stringProp name="filename"></stringProp>
3870             <stringProp name="cacheKey">true</stringProp>
3871             <stringProp name="script">import groovy.json.JsonSlurper;
3872
3873 def res = [];
3874 if (prev.getResponseCode() == &apos;200&apos;) {
3875     def jsonSlurper = new JsonSlurper();
3876     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3877
3878     assert res instanceof Map;
3879     assert res.policy_types instanceof Map;
3880     assert res.policy_types.get(&apos;onap.policies.native.drools.Controller&apos;).version == &quot;6.0.${__threadNum}&quot;;
3881  }</stringProp>
3882           </JSR223Assertion>
3883           <hashTree/>
3884         </hashTree>
3885         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native Drools Artifact" enabled="true">
3886           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3887             <collectionProp name="Arguments.arguments"/>
3888           </elementProp>
3889           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3890           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3891           <stringProp name="HTTPSampler.protocol">https</stringProp>
3892           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3893           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.drools.Artifact/versions/6.0.${__threadNum}</stringProp>
3894           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3895           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3896           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3897           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3898           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3899           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3900           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3901           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3902         </HTTPSamplerProxy>
3903         <hashTree>
3904           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3905             <collectionProp name="Asserion.test_strings">
3906               <stringProp name="49586">200</stringProp>
3907             </collectionProp>
3908             <stringProp name="Assertion.custom_message"></stringProp>
3909             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3910             <boolProp name="Assertion.assume_success">false</boolProp>
3911             <intProp name="Assertion.test_type">1</intProp>
3912           </ResponseAssertion>
3913           <hashTree/>
3914           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3915             <stringProp name="scriptLanguage">groovy</stringProp>
3916             <stringProp name="parameters"></stringProp>
3917             <stringProp name="filename"></stringProp>
3918             <stringProp name="cacheKey">true</stringProp>
3919             <stringProp name="script">import groovy.json.JsonSlurper;
3920
3921 def res = [];
3922 if (prev.getResponseCode() == &apos;200&apos;) {
3923     def jsonSlurper = new JsonSlurper();
3924     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3925
3926     assert res instanceof Map;
3927     assert res.policy_types instanceof Map;
3928     assert res.policy_types.get(&apos;onap.policies.native.drools.Artifact&apos;).version == &quot;6.0.${__threadNum}&quot;;
3929  }</stringProp>
3930           </JSR223Assertion>
3931           <hashTree/>
3932         </hashTree>
3933         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy Type Native XACML" enabled="true">
3934           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3935             <collectionProp name="Arguments.arguments"/>
3936           </elementProp>
3937           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
3938           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
3939           <stringProp name="HTTPSampler.protocol">https</stringProp>
3940           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
3941           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Xacml/versions/6.0.${__threadNum}</stringProp>
3942           <stringProp name="HTTPSampler.method">DELETE</stringProp>
3943           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3944           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3945           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3946           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3947           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
3948           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
3949           <stringProp name="HTTPSampler.response_timeout"></stringProp>
3950         </HTTPSamplerProxy>
3951         <hashTree>
3952           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
3953             <collectionProp name="Asserion.test_strings">
3954               <stringProp name="49586">200</stringProp>
3955             </collectionProp>
3956             <stringProp name="Assertion.custom_message"></stringProp>
3957             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
3958             <boolProp name="Assertion.assume_success">false</boolProp>
3959             <intProp name="Assertion.test_type">1</intProp>
3960           </ResponseAssertion>
3961           <hashTree/>
3962           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
3963             <stringProp name="scriptLanguage">groovy</stringProp>
3964             <stringProp name="parameters"></stringProp>
3965             <stringProp name="filename"></stringProp>
3966             <stringProp name="cacheKey">true</stringProp>
3967             <stringProp name="script">import groovy.json.JsonSlurper;
3968
3969 def res = [];
3970 if (prev.getResponseCode() == &apos;200&apos;) {
3971     def jsonSlurper = new JsonSlurper();
3972     res = jsonSlurper.parseText(prev.getResponseDataAsString());
3973
3974     assert res instanceof Map;
3975     assert res.policy_types instanceof Map;
3976     assert res.policy_types.get(&apos;onap.policies.native.Xacml&apos;).version == &quot;6.0.${__threadNum}&quot;;
3977  }</stringProp>
3978           </JSR223Assertion>
3979           <hashTree/>
3980         </hashTree>
3981       </hashTree>
3982       <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
3983         <stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
3984         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
3985           <boolProp name="LoopController.continue_forever">false</boolProp>
3986           <stringProp name="LoopController.loops">1</stringProp>
3987         </elementProp>
3988         <stringProp name="ThreadGroup.num_threads">1</stringProp>
3989         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
3990         <boolProp name="ThreadGroup.scheduler">false</boolProp>
3991         <stringProp name="ThreadGroup.duration"></stringProp>
3992         <stringProp name="ThreadGroup.delay"></stringProp>
3993         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
3994       </PostThreadGroup>
3995       <hashTree>
3996         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Healthcheck" enabled="true">
3997           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
3998             <collectionProp name="Arguments.arguments"/>
3999           </elementProp>
4000           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4001           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4002           <stringProp name="HTTPSampler.protocol">https</stringProp>
4003           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4004           <stringProp name="HTTPSampler.path">/policy/api/v1/healthcheck</stringProp>
4005           <stringProp name="HTTPSampler.method">GET</stringProp>
4006           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4007           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4008           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4009           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4010           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4011           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4012           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4013         </HTTPSamplerProxy>
4014         <hashTree>
4015           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4016             <collectionProp name="Asserion.test_strings">
4017               <stringProp name="49586">200</stringProp>
4018             </collectionProp>
4019             <stringProp name="Assertion.custom_message"></stringProp>
4020             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4021             <boolProp name="Assertion.assume_success">false</boolProp>
4022             <intProp name="Assertion.test_type">1</intProp>
4023           </ResponseAssertion>
4024           <hashTree/>
4025           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4026             <stringProp name="cacheKey">true</stringProp>
4027             <stringProp name="filename"></stringProp>
4028             <stringProp name="parameters"></stringProp>
4029             <stringProp name="script">import groovy.json.JsonSlurper;
4030
4031 def res = [];
4032 if (prev.getResponseCode() == &apos;200&apos;) {
4033     def jsonSlurper = new JsonSlurper();
4034     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4035
4036     assert res instanceof Map;
4037     assert res.code == 200;
4038     assert res.name == &quot;Policy API&quot;;
4039     assert res.healthy==true;
4040     assert res.message==&quot;alive&quot;;
4041 }</stringProp>
4042             <stringProp name="scriptLanguage">groovy</stringProp>
4043           </JSR223Assertion>
4044           <hashTree/>
4045         </hashTree>
4046         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Preloaded Policy Types" enabled="true">
4047           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
4048             <collectionProp name="Arguments.arguments"/>
4049           </elementProp>
4050           <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
4051           <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
4052           <stringProp name="HTTPSampler.protocol">https</stringProp>
4053           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
4054           <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes</stringProp>
4055           <stringProp name="HTTPSampler.method">GET</stringProp>
4056           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
4057           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
4058           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
4059           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
4060           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
4061           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
4062           <stringProp name="HTTPSampler.response_timeout"></stringProp>
4063         </HTTPSamplerProxy>
4064         <hashTree>
4065           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
4066             <collectionProp name="Asserion.test_strings">
4067               <stringProp name="49586">200</stringProp>
4068             </collectionProp>
4069             <stringProp name="Assertion.custom_message"></stringProp>
4070             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
4071             <boolProp name="Assertion.assume_success">false</boolProp>
4072             <intProp name="Assertion.test_type">1</intProp>
4073           </ResponseAssertion>
4074           <hashTree/>
4075           <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
4076             <stringProp name="scriptLanguage">groovy</stringProp>
4077             <stringProp name="parameters"></stringProp>
4078             <stringProp name="filename"></stringProp>
4079             <stringProp name="cacheKey">true</stringProp>
4080             <stringProp name="script">import groovy.json.JsonSlurper;
4081
4082 def res = [];
4083 if (prev.getResponseCode() == &apos;200&apos;) {
4084     def jsonSlurper = new JsonSlurper();
4085     res = jsonSlurper.parseText(prev.getResponseDataAsString());
4086
4087     assert res instanceof Map;
4088     assert res.policy_types instanceof Map;
4089     assert res.policy_types.size() == 27;
4090 }</stringProp>
4091           </JSR223Assertion>
4092           <hashTree/>
4093         </hashTree>
4094       </hashTree>
4095       <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
4096         <boolProp name="ResultCollector.error_logging">false</boolProp>
4097         <objProp>
4098           <name>saveConfig</name>
4099           <value class="SampleSaveConfiguration">
4100             <time>true</time>
4101             <latency>true</latency>
4102             <timestamp>true</timestamp>
4103             <success>true</success>
4104             <label>true</label>
4105             <code>true</code>
4106             <message>true</message>
4107             <threadName>true</threadName>
4108             <dataType>true</dataType>
4109             <encoding>false</encoding>
4110             <assertions>true</assertions>
4111             <subresults>true</subresults>
4112             <responseData>false</responseData>
4113             <samplerData>false</samplerData>
4114             <xml>false</xml>
4115             <fieldNames>true</fieldNames>
4116             <responseHeaders>false</responseHeaders>
4117             <requestHeaders>false</requestHeaders>
4118             <responseDataOnError>false</responseDataOnError>
4119             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
4120             <assertionsResultsToSave>0</assertionsResultsToSave>
4121             <bytes>true</bytes>
4122             <sentBytes>true</sentBytes>
4123             <url>true</url>
4124             <threadCounts>true</threadCounts>
4125             <idleTime>true</idleTime>
4126             <connectTime>true</connectTime>
4127           </value>
4128         </objProp>
4129         <stringProp name="filename">/home/liam/work/WIndriver/summary.log</stringProp>
4130       </ResultCollector>
4131       <hashTree/>
4132       <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
4133         <boolProp name="ResultCollector.error_logging">false</boolProp>
4134         <objProp>
4135           <name>saveConfig</name>
4136           <value class="SampleSaveConfiguration">
4137             <time>true</time>
4138             <latency>true</latency>
4139             <timestamp>true</timestamp>
4140             <success>true</success>
4141             <label>true</label>
4142             <code>true</code>
4143             <message>true</message>
4144             <threadName>true</threadName>
4145             <dataType>true</dataType>
4146             <encoding>false</encoding>
4147             <assertions>true</assertions>
4148             <subresults>true</subresults>
4149             <responseData>false</responseData>
4150             <samplerData>false</samplerData>
4151             <xml>false</xml>
4152             <fieldNames>true</fieldNames>
4153             <responseHeaders>false</responseHeaders>
4154             <requestHeaders>false</requestHeaders>
4155             <responseDataOnError>false</responseDataOnError>
4156             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
4157             <assertionsResultsToSave>0</assertionsResultsToSave>
4158             <bytes>true</bytes>
4159             <sentBytes>true</sentBytes>
4160             <url>true</url>
4161             <threadCounts>true</threadCounts>
4162             <idleTime>true</idleTime>
4163             <connectTime>true</connectTime>
4164           </value>
4165         </objProp>
4166         <stringProp name="filename">/home/ubuntu/s3p/stability.log</stringProp>
4167       </ResultCollector>
4168       <hashTree/>
4169       <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
4170         <boolProp name="ResultCollector.error_logging">false</boolProp>
4171         <objProp>
4172           <name>saveConfig</name>
4173           <value class="SampleSaveConfiguration">
4174             <time>true</time>
4175             <latency>true</latency>
4176             <timestamp>true</timestamp>
4177             <success>true</success>
4178             <label>true</label>
4179             <code>true</code>
4180             <message>true</message>
4181             <threadName>true</threadName>
4182             <dataType>true</dataType>
4183             <encoding>false</encoding>
4184             <assertions>true</assertions>
4185             <subresults>true</subresults>
4186             <responseData>false</responseData>
4187             <samplerData>false</samplerData>
4188             <xml>false</xml>
4189             <fieldNames>true</fieldNames>
4190             <responseHeaders>false</responseHeaders>
4191             <requestHeaders>false</requestHeaders>
4192             <responseDataOnError>false</responseDataOnError>
4193             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
4194             <assertionsResultsToSave>0</assertionsResultsToSave>
4195             <bytes>true</bytes>
4196             <sentBytes>true</sentBytes>
4197             <url>true</url>
4198             <threadCounts>true</threadCounts>
4199             <idleTime>true</idleTime>
4200             <connectTime>true</connectTime>
4201           </value>
4202         </objProp>
4203         <stringProp name="filename">/home/liam/work/WIndriver/Results.log</stringProp>
4204       </ResultCollector>
4205       <hashTree/>
4206     </hashTree>
4207   </hashTree>
4208 </jmeterTestPlan>