I'm using Apache Jmeter's "Regular Expressions Extractor" and I'm trying to extract some parameters from an XML file like this one :-
http://search.spotxchange.com/vast/2.00/101458?VPAID=1&cb=1421845139
I'm extracting parameters like (height,width,type) of a video file from this this tag :-
<MediaFile delivery="progressive" apiFramework="VPAID" bitrate="0" height="360" width="480" type="application/x-shockwave-flash">
I used this regular expression in order to extract these params:-
<MediaFile delivery="(.+?)" type="(.+?)" bitrate="(.+?)" height="(.+?)" width="(.+?)">
the main problem is in these tag parameters, They don't appear in a specific order, So for example sometimes the (width="") appears at the beginning of the media file params and somtimes it's the last one like the previous example.
So, How can I write an efficient regular expression extractor to extract these parameters?