void setXmlPathLoc(String path) { setProperty(XML_PATH_LOC, path); } /** * Get the path where XML messages are stored. this is the directory where * JMeter will randomly select a file. */ public String getXmlPathLoc() { return getPropertyAsString(XML_PATH_LOC); } /** * it's kinda obvious, but we state it anyways. Set the xml file with a * string path. * * @param filename */ public void setXmlFile(String filename) { setProperty(XML_DATA_FILE, filename);
void setXPathQuery(String val){ setProperty(XPATH_QUERY,val); } public String getXPathQuery(){ return getPropertyAsString(XPATH_QUERY); } public void setRefName(String refName) { setProperty(REFNAME, refName);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/XPathExtractor.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setXmlPathLoc(String path) {
1
void setXPathQuery(String 
2
		
2
val){
3
setProperty(XML_PATH_LOC, path);
3
        setProperty(XPATH_
4
	}
5
	/**
6
	 * Get the path where XML messages are stored. this is the directory where
7
	 * JMeter will randomly select a file.
8
	 */
9
	
4
QUERY,val);   
5
    }
6
    
10
public String getXmlPathLoc() {
7
    public String getXPathQuery(){
11
		return getPropertyAsString(XML_PATH_LOC);
8
        return getPropertyAsString(XPATH_
12
	}
13
	/**
14
	 * it's kinda obvious, but we state it anyways. Set the xml file with a
15
	 * string path.
16
	 * 
17
	 * @param filename
18
	 */
9
QUERY);
10
    }
11
  
19
	public void setXmlFile(String filename) {
12
	public void setRefName(String refName) {
20
		setProperty(XML_DATA_FILE, filename);
13
		setProperty(REFNAME, refName);
21
	
14
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0