四.jmeter代码学习, SampleResult【持续更新】
生活随笔
收集整理的這篇文章主要介紹了
四.jmeter代码学习, SampleResult【持续更新】
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
2019獨角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>
API http://jmeter.apache.org/api/org/apache/jmeter/samplers/SampleResult.html
?
setSampleLabel
public?void?setSampleLabel(String?label)sampleStart
public?void?sampleStart()Record the start time of a sample//記錄開始時間
setSuccessful
public?void?setSuccessful(boolean?success)Sets the successful attribute of the SampleResult object.//設(shè)置successful屬性
Parameters:
success - the new successful value
sampleEnd
public?void?sampleEnd()Record the end time of a sample and calculate the elapsed time//記錄結(jié)束時間并計算時間
轉(zhuǎn)載于:https://my.oschina.net/u/571166/blog/211877
總結(jié)
以上是生活随笔為你收集整理的四.jmeter代码学习, SampleResult【持续更新】的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CSS浏览器兼容问题集-第四部分
- 下一篇: Centos系统搭建LAMP