You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ZK <st...@gmail.com> on 2012/07/12 08:30:36 UTC
Re: Test if the nodes in a certain layer of the result XML file are
listed by sort.
Hi,
If you know the result will always be the same you could use a http response
assertion.
However if the results are dynamic and change, this would take more work:
1. Extract each value in 'article' with a regular expression extractor
2a. Use a 'BSF postprocessor' to sort these values alphabetically into an
array (you would need to write your own code here to do this)
2b. Compare the 'sorted values' (2a) to your extracted values (1)
ZK
--
View this message in context: http://jmeter.512774.n5.nabble.com/Test-if-the-nodes-in-a-certain-layer-of-the-result-XML-file-are-listed-by-sort-tp5713966p5713988.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org