BUILD FAILED
D:\ProgramFiles\jakarta-jmeter-2.1.1\mytest\web3\build.xml:18: antcall task call
ing its own parent target.
ant 運行報錯
BUILD FAILED
D:\ProgramFiles\jakarta-jmeter-2.1.1\mytest\web3\build.xml:19: ant task calling
a target that depends on its parent target 'test'.
d,不過從前者的結果看,是不能call its own。因此我將原target test一樣考貝一份取名test2。
則在test中< antcall target="test2"/>,在test2中< antcall target="test"/>,這樣運行就可以達到
我想要的連續測試的要求。
3,只是這樣也有缺陷,因為這沒有編程功能,不能在之中加入比如測500次或測24小時后就不再antcall
而結束的功能。所以要在你想停止的時候手動停止了。
4,這樣xslt轉換就不能寫在這個功能中了,最后手動停止后再做xslt轉換或直接在xml中加入xsl顯示即可。
D:\ProgramFiles\jakarta-jmeter-2.1.1\mytest\web3>ant
Buildfile: build.xml
test:
[jmeter] Executing test plan: D:\ProgramFiles\jakarta-jmeter-2.1.1\mytest\web
3\web1.jmx
[jmeter] Created the tree successfully
[jmeter] Starting the test
[jmeter] Tidying up ...
文章來源于領測軟件測試網 http://www.kjueaiud.com/