Configuration
264265266267268269270271272273274
for (int i = 0; i < assResults.length; i++) { config.addChild(getConfiguration(assResults[i])); } } if (saveConfig.saveResponseData(result)) { config.addChild(getConfiguration(result.getResponseData())); } return config; } private static Configuration getConfigForTestElement(String named, TestElement item) {
451452453454455456457458459460461
{ TestElement item = (TestElement) iter.next(); DefaultConfiguration config = new DefaultConfiguration("node", "node"); config.addChild(getConfigForTestElement(null, item)); List configList = getConfigsFromTree(subTree.getTree(item)); Iterator iter2 = configList.iterator(); while (iter2.hasNext()) {
457458459460461462463464465466467
List configList = getConfigsFromTree(subTree.getTree(item)); Iterator iter2 = configList.iterator(); while (iter2.hasNext()) { config.addChild((Configuration) iter2.next()); } configs.add(config); } return configs; }
584585586587588589590591592593594
if (subResults != null) { for (int i = 0; i < subResults.length; i++) { config.addChild(getConfiguration(subResults[i], funcTest)); } } AssertionResult[] assResults = result.getAssertionResults();
592593594595596597598599600601602
AssertionResult[] assResults = result.getAssertionResults(); if (funcTest) { config.addChild( createConfigForString("samplerData", result.getSamplerData())); if (assResults != null) { for (int i = 0; i < assResults.length; i++) {
598599600601602603604605606607608
createConfigForString("samplerData", result.getSamplerData())); if (assResults != null) { for (int i = 0; i < assResults.length; i++) { config.addChild(getConfiguration(assResults[i])); } } config.addChild(getConfiguration(result.getResponseData())); } // Determine which of the assertion results to save and
601602603604605606607608609610611
for (int i = 0; i < assResults.length; i++) { config.addChild(getConfiguration(assResults[i])); } } config.addChild(getConfiguration(result.getResponseData())); } // Determine which of the assertion results to save and // whether to save the response data else {
609610611612613614615616617618619
// whether to save the response data else { if (assertionsResultsToSave == SAVE_ALL_ASSERTIONS) { config.addChild( createConfigForString( "samplerData", result.getSamplerData())); if (assResults != null) {
617618619620621622623624625626627
result.getSamplerData())); if (assResults != null) { for (int i = 0; i < assResults.length; i++) { config.addChild(getConfiguration(assResults[i])); } } } else if ( (assertionsResultsToSave == SAVE_FIRST_ASSERTION)
626627628629630631632633634635636
else if ( (assertionsResultsToSave == SAVE_FIRST_ASSERTION) && assResults != null && assResults.length > 0) { config.addChild(getConfiguration(assResults[0])); } if (saveResponseData) { config.addChild(getConfiguration(result.getResponseData()));