ranpollak | 7197066 | 2018-05-29 16:00:41 +0300 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <jmeterTestPlan version="1.2" properties="2.9" jmeter="3.0 r1743807"> |
| 3 | <hashTree> |
| 4 | <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="000-VF_creation_Ran_Pollak" enabled="true"> |
| 5 | <stringProp name="TestPlan.comments"></stringProp> |
| 6 | <boolProp name="TestPlan.functional_mode">true</boolProp> |
| 7 | <boolProp name="TestPlan.serialize_threadgroups">true</boolProp> |
| 8 | <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 9 | <collectionProp name="Arguments.arguments"> |
| 10 | <elementProp name="ASDC_SETUP" elementType="Argument"> |
| 11 | <stringProp name="Argument.name">ASDC_SETUP</stringProp> |
| 12 | <stringProp name="Argument.value">${__P(setup,yonadav-build-11856-date-2018-01-0813-19-29)}</stringProp> |
| 13 | <stringProp name="Argument.metadata">=</stringProp> |
| 14 | </elementProp> |
| 15 | <elementProp name="NUM_OF_THREAD" elementType="Argument"> |
| 16 | <stringProp name="Argument.name">NUM_OF_THREAD</stringProp> |
| 17 | <stringProp name="Argument.value">${__P(iterations,1)}</stringProp> |
| 18 | <stringProp name="Argument.metadata">=</stringProp> |
| 19 | </elementProp> |
| 20 | <elementProp name="TEST_DURATION" elementType="Argument"> |
| 21 | <stringProp name="Argument.name">TEST_DURATION</stringProp> |
| 22 | <stringProp name="Argument.value">${__P(Duration,1)}</stringProp> |
| 23 | <stringProp name="Argument.metadata">=</stringProp> |
| 24 | </elementProp> |
| 25 | <elementProp name="MAIN_THREAD_GROUP_CNT" elementType="Argument"> |
| 26 | <stringProp name="Argument.name">MAIN_THREAD_GROUP_CNT</stringProp> |
| 27 | <stringProp name="Argument.value">${__P(loops,1)}</stringProp> |
| 28 | <stringProp name="Argument.metadata">=</stringProp> |
| 29 | </elementProp> |
| 30 | <elementProp name="branch" elementType="Argument"> |
| 31 | <stringProp name="Argument.name">branch</stringProp> |
| 32 | <stringProp name="Argument.value">${__P(workspace,/root/asdc_main/)}</stringProp> |
| 33 | <stringProp name="Argument.metadata">=</stringProp> |
| 34 | </elementProp> |
| 35 | </collectionProp> |
| 36 | </elementProp> |
| 37 | <stringProp name="TestPlan.user_define_classpath"></stringProp> |
| 38 | <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> |
| 39 | </TestPlan> |
| 40 | <hashTree> |
| 41 | <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="Test General Variables" enabled="true"> |
| 42 | <collectionProp name="Arguments.arguments"> |
| 43 | <elementProp name="################## Test-Params ##################" elementType="Argument"> |
| 44 | <stringProp name="Argument.name">################## Test-Params ##################</stringProp> |
| 45 | <stringProp name="Argument.value">##############################################</stringProp> |
| 46 | <stringProp name="Argument.desc">##############################################</stringProp> |
| 47 | <stringProp name="Argument.metadata">=</stringProp> |
| 48 | </elementProp> |
| 49 | <elementProp name="TestName" elementType="Argument"> |
| 50 | <stringProp name="Argument.name">TestName</stringProp> |
| 51 | <stringProp name="Argument.value">000-VF_creation.log</stringProp> |
| 52 | <stringProp name="Argument.metadata">=</stringProp> |
| 53 | </elementProp> |
| 54 | <elementProp name="step" elementType="Argument"> |
| 55 | <stringProp name="Argument.name">step</stringProp> |
| 56 | <stringProp name="Argument.value">0</stringProp> |
| 57 | <stringProp name="Argument.metadata">=</stringProp> |
| 58 | </elementProp> |
| 59 | <elementProp name="product" elementType="Argument"> |
| 60 | <stringProp name="Argument.name">product</stringProp> |
| 61 | <stringProp name="Argument.value">ASDC_Full_distro</stringProp> |
| 62 | <stringProp name="Argument.metadata">=</stringProp> |
| 63 | </elementProp> |
| 64 | <elementProp name="dashboard_path" elementType="Argument"> |
| 65 | <stringProp name="Argument.name">dashboard_path</stringProp> |
| 66 | <stringProp name="Argument.value">/sdc1/proxy-designer1#/dashboard</stringProp> |
| 67 | <stringProp name="Argument.metadata">=</stringProp> |
| 68 | </elementProp> |
| 69 | <elementProp name="service_name" elementType="Argument"> |
| 70 | <stringProp name="Argument.name">service_name</stringProp> |
| 71 | <stringProp name="Argument.value">Internet_${__RandomString(5,ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,)}</stringProp> |
| 72 | <stringProp name="Argument.metadata">=</stringProp> |
| 73 | </elementProp> |
| 74 | <elementProp name="fileRepo" elementType="Argument"> |
| 75 | <stringProp name="Argument.name">fileRepo</stringProp> |
| 76 | <stringProp name="Argument.value">/${branch}/TestsProperties/HEATFiles/</stringProp> |
| 77 | <stringProp name="Argument.metadata">=</stringProp> |
| 78 | </elementProp> |
| 79 | <elementProp name="file" elementType="Argument"> |
| 80 | <stringProp name="Argument.name">file</stringProp> |
| 81 | <stringProp name="Argument.value">1.zip</stringProp> |
| 82 | <stringProp name="Argument.metadata">=</stringProp> |
| 83 | </elementProp> |
| 84 | <elementProp name="zip" elementType="Argument"> |
| 85 | <stringProp name="Argument.name">zip</stringProp> |
| 86 | <stringProp name="Argument.value">application/zip</stringProp> |
| 87 | <stringProp name="Argument.metadata">=</stringProp> |
| 88 | </elementProp> |
| 89 | <elementProp name="##################### URL ####################" elementType="Argument"> |
| 90 | <stringProp name="Argument.name">##################### URL ####################</stringProp> |
| 91 | <stringProp name="Argument.value">##############################################</stringProp> |
| 92 | <stringProp name="Argument.desc">##############################################</stringProp> |
| 93 | <stringProp name="Argument.metadata">=</stringProp> |
| 94 | </elementProp> |
| 95 | <elementProp name="port" elementType="Argument"> |
| 96 | <stringProp name="Argument.name">port</stringProp> |
| 97 | <stringProp name="Argument.value">8285</stringProp> |
| 98 | <stringProp name="Argument.metadata">=</stringProp> |
| 99 | </elementProp> |
| 100 | <elementProp name="protocol" elementType="Argument"> |
| 101 | <stringProp name="Argument.name">protocol</stringProp> |
| 102 | <stringProp name="Argument.value">http</stringProp> |
| 103 | <stringProp name="Argument.metadata">=</stringProp> |
| 104 | </elementProp> |
| 105 | <elementProp name="##############################################" elementType="Argument"> |
| 106 | <stringProp name="Argument.name">##############################################</stringProp> |
| 107 | <stringProp name="Argument.value">##############################################</stringProp> |
| 108 | <stringProp name="Argument.desc">##############################################</stringProp> |
| 109 | <stringProp name="Argument.metadata">=</stringProp> |
| 110 | </elementProp> |
| 111 | <elementProp name="ValidFileName" elementType="Argument"> |
| 112 | <stringProp name="Argument.name">ValidFileName</stringProp> |
| 113 | <stringProp name="Argument.value">vDBE.zip</stringProp> |
| 114 | <stringProp name="Argument.metadata">=</stringProp> |
| 115 | </elementProp> |
| 116 | <elementProp name="file" elementType="Argument"> |
| 117 | <stringProp name="Argument.name">file</stringProp> |
| 118 | <stringProp name="Argument.value">vDBE.zip</stringProp> |
| 119 | <stringProp name="Argument.metadata">=</stringProp> |
| 120 | <stringProp name="Argument.desc">1118-nested2nestedResourceGroup.zip</stringProp> |
| 121 | </elementProp> |
| 122 | <elementProp name="HTTP_Tester_ATTUID" elementType="Argument"> |
| 123 | <stringProp name="Argument.name">HTTP_Tester_ATTUID</stringProp> |
| 124 | <stringProp name="Argument.value">jm0007</stringProp> |
| 125 | <stringProp name="Argument.metadata">=</stringProp> |
| 126 | </elementProp> |
| 127 | <elementProp name="HTTP_OPS_ATTUID" elementType="Argument"> |
| 128 | <stringProp name="Argument.name">HTTP_OPS_ATTUID</stringProp> |
| 129 | <stringProp name="Argument.value">op0001</stringProp> |
| 130 | <stringProp name="Argument.metadata">=</stringProp> |
| 131 | </elementProp> |
| 132 | </collectionProp> |
| 133 | <stringProp name="TestPlan.comments">attvdi142</stringProp> |
| 134 | </Arguments> |
| 135 | <hashTree/> |
| 136 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Test Init" enabled="true"> |
| 137 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
| 138 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> |
| 139 | <boolProp name="LoopController.continue_forever">false</boolProp> |
| 140 | <stringProp name="LoopController.loops">1</stringProp> |
| 141 | </elementProp> |
| 142 | <stringProp name="ThreadGroup.num_threads">1</stringProp> |
| 143 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> |
| 144 | <longProp name="ThreadGroup.start_time">1422885662000</longProp> |
| 145 | <longProp name="ThreadGroup.end_time">1422885662000</longProp> |
| 146 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
| 147 | <stringProp name="ThreadGroup.duration"></stringProp> |
| 148 | <stringProp name="ThreadGroup.delay"></stringProp> |
| 149 | </ThreadGroup> |
| 150 | <hashTree> |
| 151 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 152 | <collectionProp name="HeaderManager.headers"> |
| 153 | <elementProp name="" elementType="Header"> |
| 154 | <stringProp name="Header.name">Accept</stringProp> |
| 155 | <stringProp name="Header.value">application/json</stringProp> |
| 156 | </elementProp> |
| 157 | <elementProp name="" elementType="Header"> |
| 158 | <stringProp name="Header.name">Content-Type</stringProp> |
| 159 | <stringProp name="Header.value">application/json</stringProp> |
| 160 | </elementProp> |
| 161 | <elementProp name="" elementType="Header"> |
| 162 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 163 | <stringProp name="Header.value">${__P(HTTP_REST_USER_ID_HEADER_VALUE)}</stringProp> |
| 164 | </elementProp> |
| 165 | </collectionProp> |
| 166 | </HeaderManager> |
| 167 | <hashTree/> |
| 168 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Test Init" enabled="true"> |
| 169 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/Test_Init.jmx</stringProp> |
| 170 | </IncludeController> |
| 171 | <hashTree/> |
| 172 | </hashTree> |
| 173 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Test Flow" enabled="true"> |
| 174 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
| 175 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> |
| 176 | <boolProp name="LoopController.continue_forever">false</boolProp> |
| 177 | <stringProp name="LoopController.loops">${MAIN_THREAD_GROUP_CNT}</stringProp> |
| 178 | </elementProp> |
| 179 | <stringProp name="ThreadGroup.num_threads">${NUM_OF_THREAD}</stringProp> |
| 180 | <stringProp name="ThreadGroup.ramp_time">${TEST_DURATION}</stringProp> |
| 181 | <longProp name="ThreadGroup.start_time">1422885662000</longProp> |
| 182 | <longProp name="ThreadGroup.end_time">1422885662000</longProp> |
| 183 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
| 184 | <stringProp name="ThreadGroup.duration"></stringProp> |
| 185 | <stringProp name="ThreadGroup.delay"></stringProp> |
| 186 | </ThreadGroup> |
| 187 | <hashTree> |
| 188 | <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> |
| 189 | <boolProp name="LoopController.continue_forever">true</boolProp> |
| 190 | <stringProp name="LoopController.loops">1</stringProp> |
| 191 | </LoopController> |
| 192 | <hashTree> |
| 193 | <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Create VSP" enabled="true"/> |
| 194 | <hashTree> |
| 195 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 196 | <collectionProp name="HeaderManager.headers"> |
| 197 | <elementProp name="" elementType="Header"> |
| 198 | <stringProp name="Header.name">Accept</stringProp> |
| 199 | <stringProp name="Header.value">application/json</stringProp> |
| 200 | </elementProp> |
| 201 | <elementProp name="" elementType="Header"> |
| 202 | <stringProp name="Header.name">Content-Type</stringProp> |
| 203 | <stringProp name="Header.value">application/json</stringProp> |
| 204 | </elementProp> |
| 205 | <elementProp name="" elementType="Header"> |
| 206 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 207 | <stringProp name="Header.value">${__P(HTTP_REST_USER_ID_HEADER_VALUE)}</stringProp> |
| 208 | </elementProp> |
| 209 | </collectionProp> |
| 210 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 211 | </HeaderManager> |
| 212 | <hashTree/> |
| 213 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Vendor License Model" enabled="true"> |
| 214 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM/Create_Single_VLM.jmx</stringProp> |
| 215 | </IncludeController> |
| 216 | <hashTree/> |
| 217 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Entitlement Pool" enabled="true"> |
| 218 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM_Entitlement_Pools/Create_Single_EP.jmx</stringProp> |
| 219 | </IncludeController> |
| 220 | <hashTree/> |
| 221 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="License Key Group" enabled="true"> |
| 222 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM_License_Key_Groups/Create_Single_LKG.jmx</stringProp> |
| 223 | </IncludeController> |
| 224 | <hashTree/> |
| 225 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Feature Group" enabled="true"> |
| 226 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM_Feature_Groups/Create_Single_Feature_Group.jmx</stringProp> |
| 227 | </IncludeController> |
| 228 | <hashTree/> |
| 229 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="License Agreement" enabled="true"> |
| 230 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM_License_Agreements/Create_Single_License_Agreement.jmx</stringProp> |
| 231 | </IncludeController> |
| 232 | <hashTree/> |
| 233 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Commit VLM" enabled="true"> |
| 234 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM/Commit_VLM.jmx</stringProp> |
| 235 | </IncludeController> |
| 236 | <hashTree/> |
| 237 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Submit VLM" enabled="true"> |
| 238 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM/Submit_VLM.jmx</stringProp> |
| 239 | </IncludeController> |
| 240 | <hashTree/> |
| 241 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Get VLM Version ID and Label" enabled="true"> |
| 242 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VLM/Get_VLM_Version_ID_and_Label.jmx</stringProp> |
| 243 | </IncludeController> |
| 244 | <hashTree/> |
| 245 | <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Create VSP+Translate" enabled="true"/> |
| 246 | <hashTree> |
| 247 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Vendor Software Products" enabled="true"> |
| 248 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP/Create_Single_VSP.jmx</stringProp> |
| 249 | </IncludeController> |
| 250 | <hashTree/> |
| 251 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Upload ZIP file to VSP" enabled="true"> |
| 252 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP/Upload_ZIP_File_To_VSP.jmx</stringProp> |
| 253 | </IncludeController> |
| 254 | <hashTree/> |
| 255 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Validatrion/Save/Process" enabled="true"> |
| 256 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP_Processes/Validation_Save_Process.jmx</stringProp> |
| 257 | </IncludeController> |
| 258 | <hashTree/> |
| 259 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Commit VSP" enabled="true"> |
| 260 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP/Commit_VSP.jmx</stringProp> |
| 261 | </IncludeController> |
| 262 | <hashTree/> |
| 263 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Submit VSP" enabled="true"> |
| 264 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP/Submit_VSP.jmx</stringProp> |
| 265 | </IncludeController> |
| 266 | <hashTree/> |
| 267 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Get VSP Version ID and Label" enabled="true"> |
| 268 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP/Get_VSP_Version_ID_and_Label.jmx</stringProp> |
| 269 | </IncludeController> |
| 270 | <hashTree/> |
| 271 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Translate ZIP file" enabled="true"> |
| 272 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VSP/Translate_ZIP_file.jmx</stringProp> |
| 273 | </IncludeController> |
| 274 | <hashTree/> |
| 275 | <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="Create rmp DIR to download" enabled="true"> |
| 276 | <boolProp name="SystemSampler.checkReturnCode">false</boolProp> |
| 277 | <stringProp name="SystemSampler.expectedReturnCode">0</stringProp> |
| 278 | <stringProp name="SystemSampler.command">mkdir</stringProp> |
| 279 | <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 280 | <collectionProp name="Arguments.arguments"> |
| 281 | <elementProp name="" elementType="Argument"> |
| 282 | <stringProp name="Argument.name"></stringProp> |
| 283 | <stringProp name="Argument.value">-p</stringProp> |
| 284 | <stringProp name="Argument.metadata">=</stringProp> |
| 285 | </elementProp> |
| 286 | <elementProp name="" elementType="Argument"> |
| 287 | <stringProp name="Argument.name"></stringProp> |
| 288 | <stringProp name="Argument.value">/tmp/${__TestPlanName}_${__P(VSP_P)}</stringProp> |
| 289 | <stringProp name="Argument.metadata">=</stringProp> |
| 290 | </elementProp> |
| 291 | </collectionProp> |
| 292 | </elementProp> |
| 293 | <elementProp name="SystemSampler.environment" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 294 | <collectionProp name="Arguments.arguments"/> |
| 295 | </elementProp> |
| 296 | <stringProp name="SystemSampler.directory"></stringProp> |
| 297 | </SystemSampler> |
| 298 | <hashTree> |
| 299 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 300 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 301 | <objProp> |
| 302 | <name>saveConfig</name> |
| 303 | <value class="SampleSaveConfiguration"> |
| 304 | <time>true</time> |
| 305 | <latency>true</latency> |
| 306 | <timestamp>true</timestamp> |
| 307 | <success>true</success> |
| 308 | <label>true</label> |
| 309 | <code>true</code> |
| 310 | <message>true</message> |
| 311 | <threadName>true</threadName> |
| 312 | <dataType>true</dataType> |
| 313 | <encoding>true</encoding> |
| 314 | <assertions>true</assertions> |
| 315 | <subresults>true</subresults> |
| 316 | <responseData>true</responseData> |
| 317 | <samplerData>true</samplerData> |
| 318 | <xml>false</xml> |
| 319 | <fieldNames>true</fieldNames> |
| 320 | <responseHeaders>true</responseHeaders> |
| 321 | <requestHeaders>true</requestHeaders> |
| 322 | <responseDataOnError>false</responseDataOnError> |
| 323 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> |
| 324 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 325 | <bytes>true</bytes> |
| 326 | <url>true</url> |
| 327 | <fileName>true</fileName> |
| 328 | <hostname>true</hostname> |
| 329 | <threadCounts>true</threadCounts> |
| 330 | <sampleCount>true</sampleCount> |
| 331 | <idleTime>true</idleTime> |
| 332 | </value> |
| 333 | </objProp> |
| 334 | <stringProp name="filename"></stringProp> |
| 335 | </ResultCollector> |
| 336 | <hashTree/> |
| 337 | </hashTree> |
| 338 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Download Package" enabled="true"> |
| 339 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 340 | <collectionProp name="Arguments.arguments"/> |
| 341 | </elementProp> |
| 342 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 343 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 344 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 345 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 346 | <stringProp name="HTTPSampler.protocol">${protocol}</stringProp> |
| 347 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 348 | <stringProp name="HTTPSampler.path">${__P(ASDC_VSP)}/${__P(PKG)}/${__P(VSP_P)}</stringProp> |
| 349 | <stringProp name="HTTPSampler.method">GET</stringProp> |
| 350 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 351 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 352 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 353 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 354 | <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp> |
| 355 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 356 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 357 | </HTTPSamplerProxy> |
| 358 | <hashTree> |
| 359 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 360 | <collectionProp name="HeaderManager.headers"> |
| 361 | <elementProp name="" elementType="Header"> |
| 362 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 363 | <stringProp name="Header.value">${__P(HTTP_REST_USER_ID_HEADER_VALUE)}</stringProp> |
| 364 | </elementProp> |
| 365 | <elementProp name="" elementType="Header"> |
| 366 | <stringProp name="Header.name">Accept</stringProp> |
| 367 | <stringProp name="Header.value">application/octet-stream</stringProp> |
| 368 | </elementProp> |
| 369 | </collectionProp> |
| 370 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 371 | </HeaderManager> |
| 372 | <hashTree/> |
| 373 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 374 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 375 | <objProp> |
| 376 | <name>saveConfig</name> |
| 377 | <value class="SampleSaveConfiguration"> |
| 378 | <time>true</time> |
| 379 | <latency>true</latency> |
| 380 | <timestamp>true</timestamp> |
| 381 | <success>true</success> |
| 382 | <label>true</label> |
| 383 | <code>true</code> |
| 384 | <message>true</message> |
| 385 | <threadName>true</threadName> |
| 386 | <dataType>true</dataType> |
| 387 | <encoding>false</encoding> |
| 388 | <assertions>true</assertions> |
| 389 | <subresults>true</subresults> |
| 390 | <responseData>false</responseData> |
| 391 | <samplerData>false</samplerData> |
| 392 | <xml>false</xml> |
| 393 | <fieldNames>false</fieldNames> |
| 394 | <responseHeaders>false</responseHeaders> |
| 395 | <requestHeaders>false</requestHeaders> |
| 396 | <responseDataOnError>false</responseDataOnError> |
| 397 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 398 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 399 | <bytes>true</bytes> |
| 400 | <threadCounts>true</threadCounts> |
| 401 | </value> |
| 402 | </objProp> |
| 403 | <stringProp name="filename"></stringProp> |
| 404 | </ResultCollector> |
| 405 | <hashTree/> |
| 406 | <ResultSaver guiclass="ResultSaverGui" testclass="ResultSaver" testname="Save Responses to a file" enabled="true"> |
| 407 | <stringProp name="FileSaver.filename">/tmp/${__TestPlanName}_${__P(VSP_P)}/${__P(VSP_P)}.zip</stringProp> |
| 408 | <boolProp name="FileSaver.errorsonly">false</boolProp> |
| 409 | <boolProp name="FileSaver.skipautonumber">true</boolProp> |
| 410 | <boolProp name="FileSaver.skipsuffix">true</boolProp> |
| 411 | <boolProp name="FileSaver.successonly">true</boolProp> |
| 412 | </ResultSaver> |
| 413 | <hashTree/> |
| 414 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 415 | <boolProp name="resetInterpreter">false</boolProp> |
| 416 | <stringProp name="parameters"></stringProp> |
| 417 | <stringProp name="filename"></stringProp> |
| 418 | <stringProp name="script">//String ResponseString = prev.getResponseDataAsString(); |
| 419 | String ResponseCode = prev.getResponseCode(); |
| 420 | String ResponseMessage = prev.getResponseMessage(); |
| 421 | |
| 422 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 423 | f = new FileOutputStream(test_tmp_folder, true); |
| 424 | p = new PrintStream(f); |
| 425 | |
| 426 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 427 | |
| 428 | p.println("\n#######################"+" Download Package "+"#######################"); |
| 429 | |
| 430 | if (ResponseCode.contains("200")) |
| 431 | { |
| 432 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 433 | p.println("Response Code : " + ResponseCode); |
| 434 | p.println("Response Message : " + ResponseMessage); |
| 435 | //p.println("Response String : " + ResponseString); |
| 436 | } |
| 437 | else |
| 438 | { |
| 439 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 440 | p.println("Response Code : " + ResponseCode); |
| 441 | p.println("Response Message : " + ResponseMessage); |
| 442 | //p.println("Response String : " + ResponseString); |
| 443 | } |
| 444 | |
| 445 | p.println("############################################################################\n"); |
| 446 | |
| 447 | p.close();f.close();</stringProp> |
| 448 | </BeanShellPostProcessor> |
| 449 | <hashTree/> |
| 450 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 451 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 452 | </ConstantTimer> |
| 453 | <hashTree/> |
| 454 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 455 | <intProp name="OnError.action">1</intProp> |
| 456 | </ResultAction> |
| 457 | <hashTree/> |
| 458 | </hashTree> |
| 459 | </hashTree> |
| 460 | </hashTree> |
| 461 | <DebugPostProcessor guiclass="TestBeanGUI" testclass="DebugPostProcessor" testname="Debug PostProcessor" enabled="true"> |
| 462 | <boolProp name="displayJMeterProperties">true</boolProp> |
| 463 | <boolProp name="displayJMeterVariables">true</boolProp> |
| 464 | <boolProp name="displaySamplerProperties">true</boolProp> |
| 465 | <boolProp name="displaySystemProperties">false</boolProp> |
| 466 | </DebugPostProcessor> |
| 467 | <hashTree/> |
| 468 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Create Single VF" enabled="true"> |
| 469 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VF/Create_Single_VF.jmx</stringProp> |
| 470 | </IncludeController> |
| 471 | <hashTree/> |
| 472 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Create VF_Service" enabled="true"> |
| 473 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/VF/Create_VF_Service.jmx</stringProp> |
| 474 | </IncludeController> |
| 475 | <hashTree/> |
| 476 | <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Create VF_Service" enabled="false"/> |
| 477 | <hashTree> |
| 478 | <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Define VF_service Properties" enabled="true"> |
| 479 | <stringProp name="BeanShellSampler.query">${__eval(${__FileToString(${branch}/TestsProperties/ASDC/VF_service_props.txt)})}</stringProp> |
| 480 | <stringProp name="BeanShellSampler.filename"></stringProp> |
| 481 | <stringProp name="BeanShellSampler.parameters"></stringProp> |
| 482 | <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp> |
| 483 | </BeanShellSampler> |
| 484 | <hashTree> |
| 485 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 486 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 487 | </ConstantTimer> |
| 488 | <hashTree/> |
| 489 | </hashTree> |
| 490 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create VF Service" enabled="true"> |
| 491 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
| 492 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
| 493 | <collectionProp name="Arguments.arguments"> |
| 494 | <elementProp name="" elementType="HTTPArgument"> |
| 495 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
| 496 | <stringProp name="Argument.value">${__eval(${__FileToString(${branch}/TestsProperties/ASDC/VF_service_body.txt)})}</stringProp> |
| 497 | <stringProp name="Argument.metadata">=</stringProp> |
| 498 | </elementProp> |
| 499 | </collectionProp> |
| 500 | </elementProp> |
| 501 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 502 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 503 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 504 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 505 | <stringProp name="HTTPSampler.protocol">${protocol}</stringProp> |
| 506 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 507 | <stringProp name="HTTPSampler.path">${__P(ASDC_SERVICES)}</stringProp> |
| 508 | <stringProp name="HTTPSampler.method">POST</stringProp> |
| 509 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 510 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 511 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 512 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 513 | <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp> |
| 514 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 515 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 516 | </HTTPSamplerProxy> |
| 517 | <hashTree> |
| 518 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 519 | <collectionProp name="HeaderManager.headers"> |
| 520 | <elementProp name="" elementType="Header"> |
| 521 | <stringProp name="Header.name">Accept</stringProp> |
| 522 | <stringProp name="Header.value">application/json</stringProp> |
| 523 | </elementProp> |
| 524 | <elementProp name="" elementType="Header"> |
| 525 | <stringProp name="Header.name">Content-Type</stringProp> |
| 526 | <stringProp name="Header.value">application/json</stringProp> |
| 527 | </elementProp> |
| 528 | <elementProp name="" elementType="Header"> |
| 529 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 530 | <stringProp name="Header.value">${__P(HTTP_REST_USER_ID_HEADER_VALUE)}</stringProp> |
| 531 | </elementProp> |
| 532 | </collectionProp> |
| 533 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 534 | </HeaderManager> |
| 535 | <hashTree/> |
| 536 | <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Get VFresourceinstance from response" enabled="true"> |
| 537 | <stringProp name="RegexExtractor.useHeaders">false</stringProp> |
| 538 | <stringProp name="RegexExtractor.refname">VFresourceinstance</stringProp> |
| 539 | <stringProp name="RegexExtractor.regex">"uniqueId":"(.+?)\.</stringProp> |
| 540 | <stringProp name="RegexExtractor.template">$1$</stringProp> |
| 541 | <stringProp name="RegexExtractor.default">0</stringProp> |
| 542 | <stringProp name="RegexExtractor.match_number">1</stringProp> |
| 543 | <stringProp name="Scope.variable"></stringProp> |
| 544 | </RegexExtractor> |
| 545 | <hashTree/> |
| 546 | <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Get parentUniqueId from response" enabled="false"> |
| 547 | <stringProp name="RegexExtractor.useHeaders">false</stringProp> |
| 548 | <stringProp name="RegexExtractor.refname">VFSumbit</stringProp> |
| 549 | <stringProp name="RegexExtractor.regex">"uniqueId":"(.+?)\.</stringProp> |
| 550 | <stringProp name="RegexExtractor.template">$1$</stringProp> |
| 551 | <stringProp name="RegexExtractor.default">0</stringProp> |
| 552 | <stringProp name="RegexExtractor.match_number">1</stringProp> |
| 553 | <stringProp name="Scope.variable"></stringProp> |
| 554 | </RegexExtractor> |
| 555 | <hashTree/> |
| 556 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 557 | <boolProp name="resetInterpreter">false</boolProp> |
| 558 | <stringProp name="parameters"></stringProp> |
| 559 | <stringProp name="filename"></stringProp> |
| 560 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 561 | String ResponseCode = prev.getResponseCode(); |
| 562 | String ResponseMessage = prev.getResponseMessage(); |
| 563 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 564 | f = new FileOutputStream(test_tmp_folder, true); |
| 565 | p = new PrintStream(f); |
| 566 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 567 | props.put("VFinstance_P","${VFresourceinstance}"); |
| 568 | p.println("\n#######################"+"Create VF Service "+"#######################"); |
| 569 | if (ResponseCode.contains("201")) |
| 570 | { |
| 571 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 572 | p.println("Response Code : " + ResponseCode); |
| 573 | p.println("Response Message : " + ResponseMessage); |
| 574 | p.println("Response String : " + ResponseString); |
| 575 | } |
| 576 | else |
| 577 | { |
| 578 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 579 | p.println("Response Code : " + ResponseCode); |
| 580 | p.println("Response Message : " + ResponseMessage + "\nERROR: Create VF Service failed."); |
| 581 | p.println("Response String : " + ResponseString); |
| 582 | } |
| 583 | p.println("#####################################################################\n"); |
| 584 | p.close();f.close();</stringProp> |
| 585 | </BeanShellPostProcessor> |
| 586 | <hashTree/> |
| 587 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 588 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 589 | <objProp> |
| 590 | <name>saveConfig</name> |
| 591 | <value class="SampleSaveConfiguration"> |
| 592 | <time>true</time> |
| 593 | <latency>true</latency> |
| 594 | <timestamp>true</timestamp> |
| 595 | <success>true</success> |
| 596 | <label>true</label> |
| 597 | <code>true</code> |
| 598 | <message>true</message> |
| 599 | <threadName>true</threadName> |
| 600 | <dataType>true</dataType> |
| 601 | <encoding>false</encoding> |
| 602 | <assertions>true</assertions> |
| 603 | <subresults>true</subresults> |
| 604 | <responseData>false</responseData> |
| 605 | <samplerData>false</samplerData> |
| 606 | <xml>false</xml> |
| 607 | <fieldNames>false</fieldNames> |
| 608 | <responseHeaders>false</responseHeaders> |
| 609 | <requestHeaders>false</requestHeaders> |
| 610 | <responseDataOnError>false</responseDataOnError> |
| 611 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 612 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 613 | <bytes>true</bytes> |
| 614 | <threadCounts>true</threadCounts> |
| 615 | </value> |
| 616 | </objProp> |
| 617 | <stringProp name="filename"></stringProp> |
| 618 | </ResultCollector> |
| 619 | <hashTree/> |
| 620 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 621 | <intProp name="OnError.action">1</intProp> |
| 622 | </ResultAction> |
| 623 | <hashTree/> |
| 624 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 625 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 626 | </ConstantTimer> |
| 627 | <hashTree/> |
| 628 | </hashTree> |
| 629 | <BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="Define VF_resourceInstance Properties" enabled="true"> |
| 630 | <stringProp name="BeanShellSampler.query">${__eval(${__FileToString(${branch}/TestsProperties/ASDC/VF_resourceInstance_props.txt)})}</stringProp> |
| 631 | <stringProp name="BeanShellSampler.filename"></stringProp> |
| 632 | <stringProp name="BeanShellSampler.parameters"></stringProp> |
| 633 | <boolProp name="BeanShellSampler.resetInterpreter">false</boolProp> |
| 634 | </BeanShellSampler> |
| 635 | <hashTree> |
| 636 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 637 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 638 | </ConstantTimer> |
| 639 | <hashTree/> |
| 640 | </hashTree> |
| 641 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create VFresourceinstance" enabled="true"> |
| 642 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
| 643 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
| 644 | <collectionProp name="Arguments.arguments"> |
| 645 | <elementProp name="" elementType="HTTPArgument"> |
| 646 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
| 647 | <stringProp name="Argument.value">${__eval(${__FileToString(${branch}/TestsProperties/ASDC/VF_resourceInstance_body.txt)})}</stringProp> |
| 648 | <stringProp name="Argument.metadata">=</stringProp> |
| 649 | </elementProp> |
| 650 | </collectionProp> |
| 651 | </elementProp> |
| 652 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 653 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 654 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 655 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 656 | <stringProp name="HTTPSampler.protocol">${protocol}</stringProp> |
| 657 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 658 | <stringProp name="HTTPSampler.path">${__P(ASDC_SERVICES)}/${__P(VFinstance_P)}/${__P(ResourceInstance)}</stringProp> |
| 659 | <stringProp name="HTTPSampler.method">POST</stringProp> |
| 660 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 661 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 662 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 663 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 664 | <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp> |
| 665 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 666 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 667 | </HTTPSamplerProxy> |
| 668 | <hashTree> |
| 669 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 670 | <collectionProp name="HeaderManager.headers"> |
| 671 | <elementProp name="" elementType="Header"> |
| 672 | <stringProp name="Header.name">Accept</stringProp> |
| 673 | <stringProp name="Header.value">application/json</stringProp> |
| 674 | </elementProp> |
| 675 | <elementProp name="" elementType="Header"> |
| 676 | <stringProp name="Header.name">Content-Type</stringProp> |
| 677 | <stringProp name="Header.value">application/json</stringProp> |
| 678 | </elementProp> |
| 679 | <elementProp name="" elementType="Header"> |
| 680 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 681 | <stringProp name="Header.value">${__P(HTTP_REST_USER_ID_HEADER_VALUE)}</stringProp> |
| 682 | </elementProp> |
| 683 | </collectionProp> |
| 684 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 685 | </HeaderManager> |
| 686 | <hashTree/> |
| 687 | <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Get parentUniqueId from response" enabled="false"> |
| 688 | <stringProp name="RegexExtractor.useHeaders">false</stringProp> |
| 689 | <stringProp name="RegexExtractor.refname">VFSumbit</stringProp> |
| 690 | <stringProp name="RegexExtractor.regex">"uniqueId":"(.+?)\.</stringProp> |
| 691 | <stringProp name="RegexExtractor.template">$1$</stringProp> |
| 692 | <stringProp name="RegexExtractor.default">0</stringProp> |
| 693 | <stringProp name="RegexExtractor.match_number">1</stringProp> |
| 694 | <stringProp name="Scope.variable"></stringProp> |
| 695 | </RegexExtractor> |
| 696 | <hashTree/> |
| 697 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 698 | <boolProp name="resetInterpreter">false</boolProp> |
| 699 | <stringProp name="parameters"></stringProp> |
| 700 | <stringProp name="filename"></stringProp> |
| 701 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 702 | String ResponseCode = prev.getResponseCode(); |
| 703 | String ResponseMessage = prev.getResponseMessage(); |
| 704 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 705 | f = new FileOutputStream(test_tmp_folder, true); |
| 706 | p = new PrintStream(f); |
| 707 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 708 | p.println("\n#######################"+"Create VF resourceinstance "+"#######################"); |
| 709 | if (ResponseCode.contains("201")) |
| 710 | { |
| 711 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 712 | p.println("Response Code : " + ResponseCode); |
| 713 | p.println("Response Message : " + ResponseMessage); |
| 714 | p.println("Response String : " + ResponseString); |
| 715 | } |
| 716 | else |
| 717 | { |
| 718 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 719 | p.println("Response Code : " + ResponseCode); |
| 720 | p.println("Response Message : " + ResponseMessage + "\nERROR: Create VFresourceinstance failed."); |
| 721 | p.println("Response String : " + ResponseString); |
| 722 | } |
| 723 | p.println("#####################################################################\n"); |
| 724 | p.close();f.close();</stringProp> |
| 725 | </BeanShellPostProcessor> |
| 726 | <hashTree/> |
| 727 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 728 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 729 | <objProp> |
| 730 | <name>saveConfig</name> |
| 731 | <value class="SampleSaveConfiguration"> |
| 732 | <time>true</time> |
| 733 | <latency>true</latency> |
| 734 | <timestamp>true</timestamp> |
| 735 | <success>true</success> |
| 736 | <label>true</label> |
| 737 | <code>true</code> |
| 738 | <message>true</message> |
| 739 | <threadName>true</threadName> |
| 740 | <dataType>true</dataType> |
| 741 | <encoding>false</encoding> |
| 742 | <assertions>true</assertions> |
| 743 | <subresults>true</subresults> |
| 744 | <responseData>false</responseData> |
| 745 | <samplerData>false</samplerData> |
| 746 | <xml>false</xml> |
| 747 | <fieldNames>false</fieldNames> |
| 748 | <responseHeaders>false</responseHeaders> |
| 749 | <requestHeaders>false</requestHeaders> |
| 750 | <responseDataOnError>false</responseDataOnError> |
| 751 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 752 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 753 | <bytes>true</bytes> |
| 754 | <threadCounts>true</threadCounts> |
| 755 | </value> |
| 756 | </objProp> |
| 757 | <stringProp name="filename"></stringProp> |
| 758 | </ResultCollector> |
| 759 | <hashTree/> |
| 760 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 761 | <intProp name="OnError.action">1</intProp> |
| 762 | </ResultAction> |
| 763 | <hashTree/> |
| 764 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 765 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 766 | </ConstantTimer> |
| 767 | <hashTree/> |
| 768 | </hashTree> |
| 769 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Submit VFresourceinstance" enabled="true"> |
| 770 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
| 771 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
| 772 | <collectionProp name="Arguments.arguments"> |
| 773 | <elementProp name="" elementType="HTTPArgument"> |
| 774 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
| 775 | <stringProp name="Argument.value">${__eval(${__FileToString(${branch}/TestsProperties/ASDC/VF_Checkin_body.txt)})}</stringProp> |
| 776 | <stringProp name="Argument.metadata">=</stringProp> |
| 777 | </elementProp> |
| 778 | </collectionProp> |
| 779 | </elementProp> |
| 780 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 781 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 782 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 783 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 784 | <stringProp name="HTTPSampler.protocol">${protocol}</stringProp> |
| 785 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 786 | <stringProp name="HTTPSampler.path">${__P(ASDC_SERVICES)}/${__P(VFinstance_P)}/${__P(LifecycleState)}/${__P(CertificationRequest)}</stringProp> |
| 787 | <stringProp name="HTTPSampler.method">POST</stringProp> |
| 788 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 789 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 790 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 791 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 792 | <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp> |
| 793 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 794 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 795 | </HTTPSamplerProxy> |
| 796 | <hashTree> |
| 797 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 798 | <collectionProp name="HeaderManager.headers"> |
| 799 | <elementProp name="" elementType="Header"> |
| 800 | <stringProp name="Header.name">Accept</stringProp> |
| 801 | <stringProp name="Header.value">application/json</stringProp> |
| 802 | </elementProp> |
| 803 | <elementProp name="" elementType="Header"> |
| 804 | <stringProp name="Header.name">Content-Type</stringProp> |
| 805 | <stringProp name="Header.value">application/json</stringProp> |
| 806 | </elementProp> |
| 807 | <elementProp name="" elementType="Header"> |
| 808 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 809 | <stringProp name="Header.value">${__P(HTTP_REST_USER_ID_HEADER_VALUE)}</stringProp> |
| 810 | </elementProp> |
| 811 | </collectionProp> |
| 812 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 813 | </HeaderManager> |
| 814 | <hashTree/> |
| 815 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 816 | <boolProp name="resetInterpreter">false</boolProp> |
| 817 | <stringProp name="parameters"></stringProp> |
| 818 | <stringProp name="filename"></stringProp> |
| 819 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 820 | String ResponseCode = prev.getResponseCode(); |
| 821 | String ResponseMessage = prev.getResponseMessage(); |
| 822 | |
| 823 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 824 | f = new FileOutputStream(test_tmp_folder, true); |
| 825 | p = new PrintStream(f); |
| 826 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 827 | |
| 828 | p.println("\n#######################"+" Submit VFresourceinstance "+"#######################"); |
| 829 | if (ResponseCode.contains("200")) |
| 830 | { |
| 831 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 832 | p.println("Response Code : " + ResponseCode); |
| 833 | p.println("Response Message : " + ResponseMessage); |
| 834 | p.println("Response String : " + ResponseString); |
| 835 | } |
| 836 | else |
| 837 | { |
| 838 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 839 | p.println("Response Code : " + ResponseCode); |
| 840 | p.println("Response Message : " + ResponseMessage + "\nERROR: Submit VFresourceinstance name from response failed."); |
| 841 | p.println("Response String : " + ResponseString); |
| 842 | } |
| 843 | p.println("#####################################################################\n"); |
| 844 | p.close();f.close();</stringProp> |
| 845 | </BeanShellPostProcessor> |
| 846 | <hashTree/> |
| 847 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 848 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 849 | <objProp> |
| 850 | <name>saveConfig</name> |
| 851 | <value class="SampleSaveConfiguration"> |
| 852 | <time>true</time> |
| 853 | <latency>true</latency> |
| 854 | <timestamp>true</timestamp> |
| 855 | <success>true</success> |
| 856 | <label>true</label> |
| 857 | <code>true</code> |
| 858 | <message>true</message> |
| 859 | <threadName>true</threadName> |
| 860 | <dataType>true</dataType> |
| 861 | <encoding>false</encoding> |
| 862 | <assertions>true</assertions> |
| 863 | <subresults>true</subresults> |
| 864 | <responseData>false</responseData> |
| 865 | <samplerData>false</samplerData> |
| 866 | <xml>false</xml> |
| 867 | <fieldNames>false</fieldNames> |
| 868 | <responseHeaders>false</responseHeaders> |
| 869 | <requestHeaders>false</requestHeaders> |
| 870 | <responseDataOnError>false</responseDataOnError> |
| 871 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 872 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 873 | <bytes>true</bytes> |
| 874 | <threadCounts>true</threadCounts> |
| 875 | </value> |
| 876 | </objProp> |
| 877 | <stringProp name="filename"></stringProp> |
| 878 | </ResultCollector> |
| 879 | <hashTree/> |
| 880 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 881 | <intProp name="OnError.action">1</intProp> |
| 882 | </ResultAction> |
| 883 | <hashTree/> |
| 884 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 885 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 886 | </ConstantTimer> |
| 887 | <hashTree/> |
| 888 | </hashTree> |
| 889 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Start VFresourceinstance" enabled="true"> |
| 890 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
| 891 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
| 892 | <collectionProp name="Arguments.arguments"> |
| 893 | <elementProp name="" elementType="HTTPArgument"> |
| 894 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
| 895 | <stringProp name="Argument.value"></stringProp> |
| 896 | <stringProp name="Argument.metadata">=</stringProp> |
| 897 | </elementProp> |
| 898 | </collectionProp> |
| 899 | </elementProp> |
| 900 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 901 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 902 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 903 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 904 | <stringProp name="HTTPSampler.protocol">${protocol}</stringProp> |
| 905 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 906 | <stringProp name="HTTPSampler.path">${__P(ASDC_SERVICES)}/${__P(VFinstance_P)}/${__P(LifecycleState)}/${__P(StartCertification)}</stringProp> |
| 907 | <stringProp name="HTTPSampler.method">POST</stringProp> |
| 908 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 909 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 910 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 911 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 912 | <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp> |
| 913 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 914 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 915 | </HTTPSamplerProxy> |
| 916 | <hashTree> |
| 917 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 918 | <collectionProp name="HeaderManager.headers"> |
| 919 | <elementProp name="" elementType="Header"> |
| 920 | <stringProp name="Header.name">Accept</stringProp> |
| 921 | <stringProp name="Header.value">application/json</stringProp> |
| 922 | </elementProp> |
| 923 | <elementProp name="" elementType="Header"> |
| 924 | <stringProp name="Header.name">Content-Type</stringProp> |
| 925 | <stringProp name="Header.value">application/json</stringProp> |
| 926 | </elementProp> |
| 927 | <elementProp name="" elementType="Header"> |
| 928 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 929 | <stringProp name="Header.value">${HTTP_Tester_ATTUID}</stringProp> |
| 930 | </elementProp> |
| 931 | </collectionProp> |
| 932 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 933 | </HeaderManager> |
| 934 | <hashTree/> |
| 935 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 936 | <boolProp name="resetInterpreter">false</boolProp> |
| 937 | <stringProp name="parameters"></stringProp> |
| 938 | <stringProp name="filename"></stringProp> |
| 939 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 940 | String ResponseCode = prev.getResponseCode(); |
| 941 | String ResponseMessage = prev.getResponseMessage(); |
| 942 | |
| 943 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 944 | f = new FileOutputStream(test_tmp_folder, true); |
| 945 | p = new PrintStream(f); |
| 946 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 947 | props.put("parentUniqueId_P","${parentUniqueId}"); |
| 948 | |
| 949 | p.println("\n#######################"+" Start VFresourceinstance "+"#######################"); |
| 950 | if (ResponseCode.contains("200")) |
| 951 | { |
| 952 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 953 | p.println("Response Code : " + ResponseCode); |
| 954 | p.println("Response Message : " + ResponseMessage); |
| 955 | p.println("Response String : " + ResponseString); |
| 956 | } |
| 957 | else |
| 958 | { |
| 959 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 960 | p.println("Response Code : " + ResponseCode); |
| 961 | p.println("Response Message : " + ResponseMessage + "\nERROR: Start VFresourceinstance failed."); |
| 962 | p.println("Response String : " + ResponseString); |
| 963 | } |
| 964 | p.println("#####################################################################\n"); |
| 965 | p.close();f.close();</stringProp> |
| 966 | </BeanShellPostProcessor> |
| 967 | <hashTree/> |
| 968 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 969 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 970 | <objProp> |
| 971 | <name>saveConfig</name> |
| 972 | <value class="SampleSaveConfiguration"> |
| 973 | <time>true</time> |
| 974 | <latency>true</latency> |
| 975 | <timestamp>true</timestamp> |
| 976 | <success>true</success> |
| 977 | <label>true</label> |
| 978 | <code>true</code> |
| 979 | <message>true</message> |
| 980 | <threadName>true</threadName> |
| 981 | <dataType>true</dataType> |
| 982 | <encoding>false</encoding> |
| 983 | <assertions>true</assertions> |
| 984 | <subresults>true</subresults> |
| 985 | <responseData>false</responseData> |
| 986 | <samplerData>false</samplerData> |
| 987 | <xml>false</xml> |
| 988 | <fieldNames>false</fieldNames> |
| 989 | <responseHeaders>false</responseHeaders> |
| 990 | <requestHeaders>false</requestHeaders> |
| 991 | <responseDataOnError>false</responseDataOnError> |
| 992 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 993 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 994 | <bytes>true</bytes> |
| 995 | <threadCounts>true</threadCounts> |
| 996 | </value> |
| 997 | </objProp> |
| 998 | <stringProp name="filename"></stringProp> |
| 999 | </ResultCollector> |
| 1000 | <hashTree/> |
| 1001 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 1002 | <intProp name="OnError.action">1</intProp> |
| 1003 | </ResultAction> |
| 1004 | <hashTree/> |
| 1005 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 1006 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 1007 | </ConstantTimer> |
| 1008 | <hashTree/> |
| 1009 | </hashTree> |
| 1010 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Accept VFresourceinstance" enabled="true"> |
| 1011 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
| 1012 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
| 1013 | <collectionProp name="Arguments.arguments"> |
| 1014 | <elementProp name="" elementType="HTTPArgument"> |
| 1015 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
| 1016 | <stringProp name="Argument.value">${__eval(${__FileToString(${branch}/TestsProperties/ASDC/VF_Checkin_body.txt)})}</stringProp> |
| 1017 | <stringProp name="Argument.metadata">=</stringProp> |
| 1018 | </elementProp> |
| 1019 | </collectionProp> |
| 1020 | </elementProp> |
| 1021 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 1022 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 1023 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 1024 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 1025 | <stringProp name="HTTPSampler.protocol">${protocol}</stringProp> |
| 1026 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 1027 | <stringProp name="HTTPSampler.path">${__P(ASDC_SERVICES)}/${__P(VFinstance_P)}/${__P(LifecycleState)}/${__P(Certify)}</stringProp> |
| 1028 | <stringProp name="HTTPSampler.method">POST</stringProp> |
| 1029 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 1030 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 1031 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 1032 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 1033 | <stringProp name="HTTPSampler.implementation">HttpClient3.1</stringProp> |
| 1034 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 1035 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 1036 | </HTTPSamplerProxy> |
| 1037 | <hashTree> |
| 1038 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 1039 | <collectionProp name="HeaderManager.headers"> |
| 1040 | <elementProp name="" elementType="Header"> |
| 1041 | <stringProp name="Header.name">Accept</stringProp> |
| 1042 | <stringProp name="Header.value">application/json</stringProp> |
| 1043 | </elementProp> |
| 1044 | <elementProp name="" elementType="Header"> |
| 1045 | <stringProp name="Header.name">Content-Type</stringProp> |
| 1046 | <stringProp name="Header.value">application/json</stringProp> |
| 1047 | </elementProp> |
| 1048 | <elementProp name="" elementType="Header"> |
| 1049 | <stringProp name="Header.name">${__P(HTTP_REST_USER_ID_HEADER_NAME)}</stringProp> |
| 1050 | <stringProp name="Header.value">${HTTP_Tester_ATTUID}</stringProp> |
| 1051 | </elementProp> |
| 1052 | </collectionProp> |
| 1053 | <stringProp name="TestPlan.comments">Accept - application/octet-stream</stringProp> |
| 1054 | </HeaderManager> |
| 1055 | <hashTree/> |
| 1056 | <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Get VFAccept from response" enabled="false"> |
| 1057 | <stringProp name="RegexExtractor.useHeaders">false</stringProp> |
| 1058 | <stringProp name="RegexExtractor.refname">VFAccept</stringProp> |
| 1059 | <stringProp name="RegexExtractor.regex">"ownerId":"(.+?)\.</stringProp> |
| 1060 | <stringProp name="RegexExtractor.template">$1$</stringProp> |
| 1061 | <stringProp name="RegexExtractor.default">0</stringProp> |
| 1062 | <stringProp name="RegexExtractor.match_number">1</stringProp> |
| 1063 | <stringProp name="Scope.variable"></stringProp> |
| 1064 | </RegexExtractor> |
| 1065 | <hashTree/> |
| 1066 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 1067 | <boolProp name="resetInterpreter">false</boolProp> |
| 1068 | <stringProp name="parameters"></stringProp> |
| 1069 | <stringProp name="filename"></stringProp> |
| 1070 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 1071 | String ResponseCode = prev.getResponseCode(); |
| 1072 | String ResponseMessage = prev.getResponseMessage(); |
| 1073 | |
| 1074 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 1075 | f = new FileOutputStream(test_tmp_folder, true); |
| 1076 | p = new PrintStream(f); |
| 1077 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 1078 | props.put("VFAccept_P","${VFAccept}"); |
| 1079 | p.println("\n#######################"+" Accept VFresourceinstance "+"#######################"); |
| 1080 | if (ResponseCode.contains("200")) |
| 1081 | { |
| 1082 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 1083 | p.println("Response Code : " + ResponseCode); |
| 1084 | p.println("Response Message : " + ResponseMessage); |
| 1085 | p.println("Response String : " + ResponseString); |
| 1086 | } |
| 1087 | else |
| 1088 | { |
| 1089 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 1090 | p.println("Response Code : " + ResponseCode); |
| 1091 | p.println("Response Message : " + ResponseMessage + "\nERROR: Accept VFresourceinstance failed."); |
| 1092 | p.println("Response String : " + ResponseString); |
| 1093 | } |
| 1094 | p.println("#####################################################################\n"); |
| 1095 | p.close();f.close();</stringProp> |
| 1096 | </BeanShellPostProcessor> |
| 1097 | <hashTree/> |
| 1098 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 1099 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1100 | <objProp> |
| 1101 | <name>saveConfig</name> |
| 1102 | <value class="SampleSaveConfiguration"> |
| 1103 | <time>true</time> |
| 1104 | <latency>true</latency> |
| 1105 | <timestamp>true</timestamp> |
| 1106 | <success>true</success> |
| 1107 | <label>true</label> |
| 1108 | <code>true</code> |
| 1109 | <message>true</message> |
| 1110 | <threadName>true</threadName> |
| 1111 | <dataType>true</dataType> |
| 1112 | <encoding>false</encoding> |
| 1113 | <assertions>true</assertions> |
| 1114 | <subresults>true</subresults> |
| 1115 | <responseData>false</responseData> |
| 1116 | <samplerData>false</samplerData> |
| 1117 | <xml>false</xml> |
| 1118 | <fieldNames>false</fieldNames> |
| 1119 | <responseHeaders>false</responseHeaders> |
| 1120 | <requestHeaders>false</requestHeaders> |
| 1121 | <responseDataOnError>false</responseDataOnError> |
| 1122 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1123 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1124 | <bytes>true</bytes> |
| 1125 | <threadCounts>true</threadCounts> |
| 1126 | </value> |
| 1127 | </objProp> |
| 1128 | <stringProp name="filename"></stringProp> |
| 1129 | </ResultCollector> |
| 1130 | <hashTree/> |
| 1131 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 1132 | <intProp name="OnError.action">1</intProp> |
| 1133 | </ResultAction> |
| 1134 | <hashTree/> |
| 1135 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 1136 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 1137 | </ConstantTimer> |
| 1138 | <hashTree/> |
| 1139 | </hashTree> |
| 1140 | </hashTree> |
| 1141 | </hashTree> |
| 1142 | <IncludeController guiclass="IncludeControllerGui" testclass="IncludeController" testname="Show log" enabled="true"> |
| 1143 | <stringProp name="IncludeController.includepath">../_JMeter_Test_Fragments/BE/Show_log.jmx</stringProp> |
| 1144 | </IncludeController> |
| 1145 | <hashTree/> |
| 1146 | </hashTree> |
| 1147 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Test Cleanup" enabled="true"> |
| 1148 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
| 1149 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> |
| 1150 | <boolProp name="LoopController.continue_forever">false</boolProp> |
| 1151 | <stringProp name="LoopController.loops">${MAIN_THREAD_GROUP_CNT}</stringProp> |
| 1152 | </elementProp> |
| 1153 | <stringProp name="ThreadGroup.num_threads">${NUM_OF_THREAD}</stringProp> |
| 1154 | <stringProp name="ThreadGroup.ramp_time">${TEST_DURATION}</stringProp> |
| 1155 | <longProp name="ThreadGroup.start_time">1422885662000</longProp> |
| 1156 | <longProp name="ThreadGroup.end_time">1422885662000</longProp> |
| 1157 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
| 1158 | <stringProp name="ThreadGroup.duration"></stringProp> |
| 1159 | <stringProp name="ThreadGroup.delay"></stringProp> |
| 1160 | </ThreadGroup> |
| 1161 | <hashTree> |
| 1162 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager Main" enabled="true"> |
| 1163 | <collectionProp name="HeaderManager.headers"> |
| 1164 | <elementProp name="" elementType="Header"> |
| 1165 | <stringProp name="Header.name">Accept</stringProp> |
| 1166 | <stringProp name="Header.value">application/json</stringProp> |
| 1167 | </elementProp> |
| 1168 | <elementProp name="" elementType="Header"> |
| 1169 | <stringProp name="Header.name">Content-Type</stringProp> |
| 1170 | <stringProp name="Header.value">application/json</stringProp> |
| 1171 | </elementProp> |
| 1172 | </collectionProp> |
| 1173 | </HeaderManager> |
| 1174 | <hashTree/> |
| 1175 | <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="Delete tmp DIR" enabled="false"> |
| 1176 | <boolProp name="SystemSampler.checkReturnCode">false</boolProp> |
| 1177 | <stringProp name="SystemSampler.expectedReturnCode">0</stringProp> |
| 1178 | <stringProp name="SystemSampler.command">rm</stringProp> |
| 1179 | <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 1180 | <collectionProp name="Arguments.arguments"> |
| 1181 | <elementProp name="" elementType="Argument"> |
| 1182 | <stringProp name="Argument.name"></stringProp> |
| 1183 | <stringProp name="Argument.value">-rf</stringProp> |
| 1184 | <stringProp name="Argument.metadata">=</stringProp> |
| 1185 | </elementProp> |
| 1186 | <elementProp name="" elementType="Argument"> |
| 1187 | <stringProp name="Argument.name"></stringProp> |
| 1188 | <stringProp name="Argument.value">/tmp/${__TestPlanName}_${__P(VSP_P)}/</stringProp> |
| 1189 | <stringProp name="Argument.metadata">=</stringProp> |
| 1190 | </elementProp> |
| 1191 | </collectionProp> |
| 1192 | </elementProp> |
| 1193 | <elementProp name="SystemSampler.environment" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 1194 | <collectionProp name="Arguments.arguments"/> |
| 1195 | </elementProp> |
| 1196 | <stringProp name="SystemSampler.directory"></stringProp> |
| 1197 | </SystemSampler> |
| 1198 | <hashTree/> |
| 1199 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete VSP" enabled="false"> |
| 1200 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
| 1201 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
| 1202 | <collectionProp name="Arguments.arguments"> |
| 1203 | <elementProp name="" elementType="HTTPArgument"> |
| 1204 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
| 1205 | <stringProp name="Argument.value"></stringProp> |
| 1206 | <stringProp name="Argument.metadata">=</stringProp> |
| 1207 | </elementProp> |
| 1208 | </collectionProp> |
| 1209 | </elementProp> |
| 1210 | <stringProp name="HTTPSampler.domain">${__P(VM_controller)}</stringProp> |
| 1211 | <stringProp name="HTTPSampler.port">${port}</stringProp> |
| 1212 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> |
| 1213 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
| 1214 | <stringProp name="HTTPSampler.protocol">http</stringProp> |
| 1215 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
| 1216 | <stringProp name="HTTPSampler.path">${__P(ASDC_VSP)}/${__P(vspId)}/versions/${__P(vspNewVersionID_p)}</stringProp> |
| 1217 | <stringProp name="HTTPSampler.method">DELETE</stringProp> |
| 1218 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
| 1219 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
| 1220 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> |
| 1221 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
| 1222 | <stringProp name="HTTPSampler.implementation">HttpClient4</stringProp> |
| 1223 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
| 1224 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
| 1225 | </HTTPSamplerProxy> |
| 1226 | <hashTree> |
| 1227 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 1228 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1229 | <objProp> |
| 1230 | <name>saveConfig</name> |
| 1231 | <value class="SampleSaveConfiguration"> |
| 1232 | <time>true</time> |
| 1233 | <latency>true</latency> |
| 1234 | <timestamp>true</timestamp> |
| 1235 | <success>true</success> |
| 1236 | <label>true</label> |
| 1237 | <code>true</code> |
| 1238 | <message>true</message> |
| 1239 | <threadName>true</threadName> |
| 1240 | <dataType>true</dataType> |
| 1241 | <encoding>false</encoding> |
| 1242 | <assertions>true</assertions> |
| 1243 | <subresults>true</subresults> |
| 1244 | <responseData>false</responseData> |
| 1245 | <samplerData>false</samplerData> |
| 1246 | <xml>false</xml> |
| 1247 | <fieldNames>false</fieldNames> |
| 1248 | <responseHeaders>false</responseHeaders> |
| 1249 | <requestHeaders>false</requestHeaders> |
| 1250 | <responseDataOnError>false</responseDataOnError> |
| 1251 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1252 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1253 | <bytes>true</bytes> |
| 1254 | <threadCounts>true</threadCounts> |
| 1255 | </value> |
| 1256 | </objProp> |
| 1257 | <stringProp name="filename"></stringProp> |
| 1258 | </ResultCollector> |
| 1259 | <hashTree/> |
| 1260 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Log" enabled="true"> |
| 1261 | <boolProp name="resetInterpreter">false</boolProp> |
| 1262 | <stringProp name="parameters"></stringProp> |
| 1263 | <stringProp name="filename"></stringProp> |
| 1264 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 1265 | String ResponseCode = prev.getResponseCode(); |
| 1266 | String ResponseMessage = prev.getResponseMessage(); |
| 1267 | |
| 1268 | String test_tmp_folder = "/tmp/TestResult/${TestName}"; |
| 1269 | f = new FileOutputStream(test_tmp_folder, true); |
| 1270 | p = new PrintStream(f); |
| 1271 | |
| 1272 | mydate = "${__time(dd-MM-yyyy hh:mm:ss)}"; |
| 1273 | |
| 1274 | p.println("\n#######################"+" Delete Temporary VSP "+"#######################"); |
| 1275 | |
| 1276 | if (ResponseCode.contains("200")) |
| 1277 | { |
| 1278 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: PASS"); |
| 1279 | p.println("Response Code : " + ResponseCode); |
| 1280 | p.println("Response Message : " + ResponseMessage); |
| 1281 | p.println("Response String : " + ResponseString); |
| 1282 | } |
| 1283 | else |
| 1284 | { |
| 1285 | p.println(mydate + " : Thread number ${__threadNum()} in step ${__samplerName}: FAIL"); |
| 1286 | p.println("Response Code : " + ResponseCode); |
| 1287 | p.println("Response Message : " + ResponseMessage + "\nERROR: Delete VSP REST failed."); |
| 1288 | p.println("Response String : " + ResponseString); |
| 1289 | } |
| 1290 | |
| 1291 | p.println("############################################################################\n"); |
| 1292 | |
| 1293 | p.close();f.close();</stringProp> |
| 1294 | </BeanShellPostProcessor> |
| 1295 | <hashTree/> |
| 1296 | <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true"> |
| 1297 | <stringProp name="ConstantTimer.delay">300</stringProp> |
| 1298 | </ConstantTimer> |
| 1299 | <hashTree/> |
| 1300 | <ResultAction guiclass="ResultActionGui" testclass="ResultAction" testname="Stop in case of error" enabled="true"> |
| 1301 | <intProp name="OnError.action">1</intProp> |
| 1302 | </ResultAction> |
| 1303 | <hashTree/> |
| 1304 | </hashTree> |
| 1305 | <SystemSampler guiclass="SystemSamplerGui" testclass="SystemSampler" testname="Show log" enabled="true"> |
| 1306 | <boolProp name="SystemSampler.checkReturnCode">false</boolProp> |
| 1307 | <stringProp name="SystemSampler.expectedReturnCode">0</stringProp> |
| 1308 | <stringProp name="SystemSampler.command">cat</stringProp> |
| 1309 | <elementProp name="SystemSampler.arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 1310 | <collectionProp name="Arguments.arguments"> |
| 1311 | <elementProp name="" elementType="Argument"> |
| 1312 | <stringProp name="Argument.name"></stringProp> |
| 1313 | <stringProp name="Argument.value">${TestName}</stringProp> |
| 1314 | <stringProp name="Argument.metadata">=</stringProp> |
| 1315 | </elementProp> |
| 1316 | </collectionProp> |
| 1317 | </elementProp> |
| 1318 | <elementProp name="SystemSampler.environment" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> |
| 1319 | <collectionProp name="Arguments.arguments"/> |
| 1320 | </elementProp> |
| 1321 | <stringProp name="SystemSampler.directory">/tmp/TestResult/</stringProp> |
| 1322 | </SystemSampler> |
| 1323 | <hashTree/> |
| 1324 | </hashTree> |
| 1325 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true"> |
| 1326 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1327 | <objProp> |
| 1328 | <name>saveConfig</name> |
| 1329 | <value class="SampleSaveConfiguration"> |
| 1330 | <time>true</time> |
| 1331 | <latency>true</latency> |
| 1332 | <timestamp>true</timestamp> |
| 1333 | <success>true</success> |
| 1334 | <label>true</label> |
| 1335 | <code>true</code> |
| 1336 | <message>true</message> |
| 1337 | <threadName>true</threadName> |
| 1338 | <dataType>true</dataType> |
| 1339 | <encoding>true</encoding> |
| 1340 | <assertions>true</assertions> |
| 1341 | <subresults>true</subresults> |
| 1342 | <responseData>true</responseData> |
| 1343 | <samplerData>true</samplerData> |
| 1344 | <xml>false</xml> |
| 1345 | <fieldNames>true</fieldNames> |
| 1346 | <responseHeaders>true</responseHeaders> |
| 1347 | <requestHeaders>true</requestHeaders> |
| 1348 | <responseDataOnError>false</responseDataOnError> |
| 1349 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> |
| 1350 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1351 | <bytes>true</bytes> |
| 1352 | <url>true</url> |
| 1353 | <fileName>true</fileName> |
| 1354 | <hostname>true</hostname> |
| 1355 | <threadCounts>true</threadCounts> |
| 1356 | <sampleCount>true</sampleCount> |
| 1357 | <idleTime>true</idleTime> |
| 1358 | </value> |
| 1359 | </objProp> |
| 1360 | <stringProp name="filename"></stringProp> |
| 1361 | </ResultCollector> |
| 1362 | <hashTree/> |
| 1363 | <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.ResponseCodesPerSecondGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="Response Codes per Second" enabled="true"> |
| 1364 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1365 | <objProp> |
| 1366 | <name>saveConfig</name> |
| 1367 | <value class="SampleSaveConfiguration"> |
| 1368 | <time>true</time> |
| 1369 | <latency>true</latency> |
| 1370 | <timestamp>true</timestamp> |
| 1371 | <success>true</success> |
| 1372 | <label>true</label> |
| 1373 | <code>true</code> |
| 1374 | <message>true</message> |
| 1375 | <threadName>true</threadName> |
| 1376 | <dataType>true</dataType> |
| 1377 | <encoding>false</encoding> |
| 1378 | <assertions>true</assertions> |
| 1379 | <subresults>true</subresults> |
| 1380 | <responseData>false</responseData> |
| 1381 | <samplerData>false</samplerData> |
| 1382 | <xml>false</xml> |
| 1383 | <fieldNames>true</fieldNames> |
| 1384 | <responseHeaders>false</responseHeaders> |
| 1385 | <requestHeaders>false</requestHeaders> |
| 1386 | <responseDataOnError>false</responseDataOnError> |
| 1387 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1388 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1389 | <bytes>true</bytes> |
| 1390 | <threadCounts>true</threadCounts> |
| 1391 | </value> |
| 1392 | </objProp> |
| 1393 | <stringProp name="filename">/tmp/TestResult/ResponseCodesPerSecond.jtl</stringProp> |
| 1394 | <longProp name="interval_grouping">1000</longProp> |
| 1395 | <boolProp name="graph_aggregated">false</boolProp> |
| 1396 | <stringProp name="include_sample_labels"></stringProp> |
| 1397 | <stringProp name="exclude_sample_labels"></stringProp> |
| 1398 | <stringProp name="start_offset"></stringProp> |
| 1399 | <stringProp name="end_offset"></stringProp> |
| 1400 | <boolProp name="include_checkbox_state">false</boolProp> |
| 1401 | <boolProp name="exclude_checkbox_state">false</boolProp> |
| 1402 | </kg.apc.jmeter.vizualizers.CorrectedResultCollector> |
| 1403 | <hashTree/> |
| 1404 | <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.ResponseTimesDistributionGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="Response Times Distribution" enabled="true"> |
| 1405 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1406 | <objProp> |
| 1407 | <name>saveConfig</name> |
| 1408 | <value class="SampleSaveConfiguration"> |
| 1409 | <time>true</time> |
| 1410 | <latency>true</latency> |
| 1411 | <timestamp>true</timestamp> |
| 1412 | <success>true</success> |
| 1413 | <label>true</label> |
| 1414 | <code>true</code> |
| 1415 | <message>true</message> |
| 1416 | <threadName>true</threadName> |
| 1417 | <dataType>true</dataType> |
| 1418 | <encoding>false</encoding> |
| 1419 | <assertions>true</assertions> |
| 1420 | <subresults>true</subresults> |
| 1421 | <responseData>false</responseData> |
| 1422 | <samplerData>false</samplerData> |
| 1423 | <xml>false</xml> |
| 1424 | <fieldNames>true</fieldNames> |
| 1425 | <responseHeaders>false</responseHeaders> |
| 1426 | <requestHeaders>false</requestHeaders> |
| 1427 | <responseDataOnError>false</responseDataOnError> |
| 1428 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1429 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1430 | <bytes>true</bytes> |
| 1431 | <threadCounts>true</threadCounts> |
| 1432 | </value> |
| 1433 | </objProp> |
| 1434 | <stringProp name="filename">/tmp/TestResult/ResponseTimesDistribution.jtl</stringProp> |
| 1435 | <longProp name="interval_grouping">100</longProp> |
| 1436 | <boolProp name="graph_aggregated">false</boolProp> |
| 1437 | <stringProp name="include_sample_labels"></stringProp> |
| 1438 | <stringProp name="exclude_sample_labels"></stringProp> |
| 1439 | <stringProp name="start_offset"></stringProp> |
| 1440 | <stringProp name="end_offset"></stringProp> |
| 1441 | <boolProp name="include_checkbox_state">false</boolProp> |
| 1442 | <boolProp name="exclude_checkbox_state">false</boolProp> |
| 1443 | </kg.apc.jmeter.vizualizers.CorrectedResultCollector> |
| 1444 | <hashTree/> |
| 1445 | <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.ResponseTimesOverTimeGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="Response Times Over Time" enabled="true"> |
| 1446 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1447 | <objProp> |
| 1448 | <name>saveConfig</name> |
| 1449 | <value class="SampleSaveConfiguration"> |
| 1450 | <time>true</time> |
| 1451 | <latency>true</latency> |
| 1452 | <timestamp>true</timestamp> |
| 1453 | <success>true</success> |
| 1454 | <label>true</label> |
| 1455 | <code>true</code> |
| 1456 | <message>true</message> |
| 1457 | <threadName>true</threadName> |
| 1458 | <dataType>true</dataType> |
| 1459 | <encoding>false</encoding> |
| 1460 | <assertions>true</assertions> |
| 1461 | <subresults>true</subresults> |
| 1462 | <responseData>false</responseData> |
| 1463 | <samplerData>false</samplerData> |
| 1464 | <xml>false</xml> |
| 1465 | <fieldNames>true</fieldNames> |
| 1466 | <responseHeaders>false</responseHeaders> |
| 1467 | <requestHeaders>false</requestHeaders> |
| 1468 | <responseDataOnError>false</responseDataOnError> |
| 1469 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1470 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1471 | <bytes>true</bytes> |
| 1472 | <threadCounts>true</threadCounts> |
| 1473 | </value> |
| 1474 | </objProp> |
| 1475 | <stringProp name="filename">/tmp/TestResult/ResponseTimesOverTime.jtl</stringProp> |
| 1476 | <longProp name="interval_grouping">500</longProp> |
| 1477 | <boolProp name="graph_aggregated">false</boolProp> |
| 1478 | <stringProp name="include_sample_labels"></stringProp> |
| 1479 | <stringProp name="exclude_sample_labels"></stringProp> |
| 1480 | <stringProp name="start_offset"></stringProp> |
| 1481 | <stringProp name="end_offset"></stringProp> |
| 1482 | <boolProp name="include_checkbox_state">false</boolProp> |
| 1483 | <boolProp name="exclude_checkbox_state">false</boolProp> |
| 1484 | </kg.apc.jmeter.vizualizers.CorrectedResultCollector> |
| 1485 | <hashTree/> |
| 1486 | <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.ResponseTimesPercentilesGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="Response Times Percentiles" enabled="true"> |
| 1487 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1488 | <objProp> |
| 1489 | <name>saveConfig</name> |
| 1490 | <value class="SampleSaveConfiguration"> |
| 1491 | <time>true</time> |
| 1492 | <latency>true</latency> |
| 1493 | <timestamp>true</timestamp> |
| 1494 | <success>true</success> |
| 1495 | <label>true</label> |
| 1496 | <code>true</code> |
| 1497 | <message>true</message> |
| 1498 | <threadName>true</threadName> |
| 1499 | <dataType>true</dataType> |
| 1500 | <encoding>false</encoding> |
| 1501 | <assertions>true</assertions> |
| 1502 | <subresults>true</subresults> |
| 1503 | <responseData>false</responseData> |
| 1504 | <samplerData>false</samplerData> |
| 1505 | <xml>false</xml> |
| 1506 | <fieldNames>true</fieldNames> |
| 1507 | <responseHeaders>false</responseHeaders> |
| 1508 | <requestHeaders>false</requestHeaders> |
| 1509 | <responseDataOnError>false</responseDataOnError> |
| 1510 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1511 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1512 | <bytes>true</bytes> |
| 1513 | <threadCounts>true</threadCounts> |
| 1514 | </value> |
| 1515 | </objProp> |
| 1516 | <stringProp name="filename">/tmp/TestResult/ResponseTimesPercentiles.jtl</stringProp> |
| 1517 | <longProp name="interval_grouping">500</longProp> |
| 1518 | <boolProp name="graph_aggregated">false</boolProp> |
| 1519 | <stringProp name="include_sample_labels"></stringProp> |
| 1520 | <stringProp name="exclude_sample_labels"></stringProp> |
| 1521 | <stringProp name="start_offset"></stringProp> |
| 1522 | <stringProp name="end_offset"></stringProp> |
| 1523 | <boolProp name="include_checkbox_state">false</boolProp> |
| 1524 | <boolProp name="exclude_checkbox_state">false</boolProp> |
| 1525 | </kg.apc.jmeter.vizualizers.CorrectedResultCollector> |
| 1526 | <hashTree/> |
| 1527 | <kg.apc.jmeter.vizualizers.CorrectedResultCollector guiclass="kg.apc.jmeter.vizualizers.HitsPerSecondGui" testclass="kg.apc.jmeter.vizualizers.CorrectedResultCollector" testname="Hits per Second" enabled="true"> |
| 1528 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1529 | <objProp> |
| 1530 | <name>saveConfig</name> |
| 1531 | <value class="SampleSaveConfiguration"> |
| 1532 | <time>true</time> |
| 1533 | <latency>true</latency> |
| 1534 | <timestamp>true</timestamp> |
| 1535 | <success>true</success> |
| 1536 | <label>true</label> |
| 1537 | <code>true</code> |
| 1538 | <message>true</message> |
| 1539 | <threadName>true</threadName> |
| 1540 | <dataType>true</dataType> |
| 1541 | <encoding>false</encoding> |
| 1542 | <assertions>true</assertions> |
| 1543 | <subresults>true</subresults> |
| 1544 | <responseData>false</responseData> |
| 1545 | <samplerData>false</samplerData> |
| 1546 | <xml>false</xml> |
| 1547 | <fieldNames>true</fieldNames> |
| 1548 | <responseHeaders>false</responseHeaders> |
| 1549 | <requestHeaders>false</requestHeaders> |
| 1550 | <responseDataOnError>false</responseDataOnError> |
| 1551 | <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage> |
| 1552 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1553 | <bytes>true</bytes> |
| 1554 | <threadCounts>true</threadCounts> |
| 1555 | </value> |
| 1556 | </objProp> |
| 1557 | <stringProp name="filename">/tmp/TestResult/HitsPerSecond.jtl</stringProp> |
| 1558 | <longProp name="interval_grouping">1000</longProp> |
| 1559 | <boolProp name="graph_aggregated">false</boolProp> |
| 1560 | <stringProp name="include_sample_labels"></stringProp> |
| 1561 | <stringProp name="exclude_sample_labels"></stringProp> |
| 1562 | <stringProp name="start_offset"></stringProp> |
| 1563 | <stringProp name="end_offset"></stringProp> |
| 1564 | <boolProp name="include_checkbox_state">false</boolProp> |
| 1565 | <boolProp name="exclude_checkbox_state">false</boolProp> |
| 1566 | </kg.apc.jmeter.vizualizers.CorrectedResultCollector> |
| 1567 | <hashTree/> |
| 1568 | <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true"> |
| 1569 | <boolProp name="ResultCollector.error_logging">false</boolProp> |
| 1570 | <objProp> |
| 1571 | <name>saveConfig</name> |
| 1572 | <value class="SampleSaveConfiguration"> |
| 1573 | <time>true</time> |
| 1574 | <latency>true</latency> |
| 1575 | <timestamp>true</timestamp> |
| 1576 | <success>true</success> |
| 1577 | <label>true</label> |
| 1578 | <code>true</code> |
| 1579 | <message>true</message> |
| 1580 | <threadName>true</threadName> |
| 1581 | <dataType>true</dataType> |
| 1582 | <encoding>true</encoding> |
| 1583 | <assertions>true</assertions> |
| 1584 | <subresults>true</subresults> |
| 1585 | <responseData>true</responseData> |
| 1586 | <samplerData>true</samplerData> |
| 1587 | <xml>true</xml> |
| 1588 | <fieldNames>true</fieldNames> |
| 1589 | <responseHeaders>true</responseHeaders> |
| 1590 | <requestHeaders>true</requestHeaders> |
| 1591 | <responseDataOnError>false</responseDataOnError> |
| 1592 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> |
| 1593 | <assertionsResultsToSave>0</assertionsResultsToSave> |
| 1594 | <bytes>true</bytes> |
| 1595 | <url>true</url> |
| 1596 | <fileName>true</fileName> |
| 1597 | <hostname>true</hostname> |
| 1598 | <threadCounts>true</threadCounts> |
| 1599 | <sampleCount>true</sampleCount> |
| 1600 | <idleTime>true</idleTime> |
| 1601 | </value> |
| 1602 | </objProp> |
| 1603 | <stringProp name="filename">/tmp/TestResult/ResultsTable.xml</stringProp> |
| 1604 | </ResultCollector> |
| 1605 | <hashTree/> |
| 1606 | </hashTree> |
| 1607 | <WorkBench guiclass="WorkBenchGui" testclass="WorkBench" testname="WorkBench" enabled="true"> |
| 1608 | <boolProp name="WorkBench.save">true</boolProp> |
| 1609 | </WorkBench> |
| 1610 | <hashTree> |
| 1611 | <BeanShellPostProcessor guiclass="TestBeanGUI" testclass="BeanShellPostProcessor" testname="Get Response" enabled="false"> |
| 1612 | <stringProp name="filename"></stringProp> |
| 1613 | <stringProp name="parameters"></stringProp> |
| 1614 | <boolProp name="resetInterpreter">false</boolProp> |
| 1615 | <stringProp name="script">String ResponseString = prev.getResponseDataAsString(); |
| 1616 | String ResponseCode = prev.getResponseCode(); |
| 1617 | String ResponseMessage = prev.getResponseMessage(); |
| 1618 | |
| 1619 | |
| 1620 | vars.put("ResponseCode",ResponseCode); |
| 1621 | vars.put("ResponseString",ResponseString); |
| 1622 | vars.put("ResponseMessage",ResponseMessage);</stringProp> |
| 1623 | </BeanShellPostProcessor> |
| 1624 | <hashTree/> |
| 1625 | </hashTree> |
| 1626 | </hashTree> |
| 1627 | </jmeterTestPlan> |