jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZK <stevesenio...@gmail.com>
Subject Re: Test if the nodes in a certain layer of the result XML file are listed by sort.
Date Thu, 12 Jul 2012 06:30:36 GMT
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


Mime
View raw message