Configuration
644645646647648649650651652653654
AssertionResult[] assResults = result.getAssertionResults(); if (funcTest) { config.addChild( createConfigForString("samplerData", result.getSamplerData())); for (int i = 0; i < assResults.length; i++) { config.addChild(getConfiguration(assResults[i])); }
648649650651652653654655656657658
{ config.addChild( createConfigForString("samplerData", result.getSamplerData())); 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
650651652653654655656657658659660
createConfigForString("samplerData", result.getSamplerData())); 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 {
658659660661662663664665666667668
// whether to save the response data else { if (assertionsResultsToSave == SAVE_ALL_ASSERTIONS) { config.addChild( createConfigForString( "samplerData", result.getSamplerData())); if (assResults != null) {
666667668669670671672673674675676
result.getSamplerData())); if (assResults != null) { for (int i = 0; i < assResults.length; i++) { config.addChild(getConfiguration(assResults[i])); } } } else if ( (assertionsResultsToSave == SAVE_FIRST_ASSERTION)
675676677678679680681682683684685
else if ( (assertionsResultsToSave == SAVE_FIRST_ASSERTION) && assResults != null && assResults.length > 0) { config.addChild(getConfiguration(assResults[0])); } if (saveResponseData) { config.addChild(getConfiguration(result.getResponseData()));
680681682683684685686687688689690
config.addChild(getConfiguration(assResults[0])); } if (saveResponseData) { config.addChild(getConfiguration(result.getResponseData())); } } return config; }
506507508509510511512513514515516
{ 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()) {
512513514515516517518519520521522
List configList = getConfigsFromTree(subTree.getTree(item)); Iterator iter2 = configList.iterator(); while (iter2.hasNext()) { config.addChild((Configuration) iter2.next()); } configs.add(config); } return configs; }
639640641642643644645646647648649
if (subResults != null) { for (int i = 0; i < subResults.length; i++) { config.addChild(getConfiguration(subResults[i], funcTest)); } } AssertionResult[] assResults = result.getAssertionResults();