API http://jmeter.apache.org/api/org/apache/jmeter/samplers/SampleResult.htmlhtml
public void setSampleLabel(String label)
sampleStartapache
public void sampleStart()
Record the start time of a sample//記錄開始時間api
setSuccessfulspa
public void setSuccessful(boolean success)
Sets the successful attribute of the SampleResult object.//設置successful屬性code
Parameters:htm
success
- the new successful valueget
sampleEndsed
public void sampleEnd()
Record the end time of a sample and calculate the elapsed time//記錄結束時間並計算時間object