2017-05-04 80 views

回答

0

標準推薦not to use regular expressions for working with HTML and/or XML


轉到了XPath Assertion相反,使用它,你可以使用XPath查詢一樣實現你的要求:

//yourElement[@yourTag!='null' and not(contains(@yourTag,' '))] 

XPath語言是很容易的,至少它是非常容易的,而創建和讀取XPath表達式比「正規」的。請查看XPath Tutorial開始,並使用How to Use JMeter Assertions in Three Easy Steps指南瞭解有關JMeter中可用斷言的更多信息。

相關問題