Use the RE Post-Processor
http://jakarta.apache.org/jmeter/usermanual/component_reference.html
with an RE of the form:
<option value="1">(\d+)\s+ |(\d+)\s+|(\S+)\s+|(.+?)|(.+?)</option>
The values will then be in the variables:
refname_g1 = id
...
refname_g5 = status
On 12/10/06, Bruno Charloup <[EMAIL PROTECTED]> wrote:
Hi all,
I'm trying to extract information from part of one page, but I can't succeed
in it.
The part of the my page is as follow :
<select class="cell_ListboxNormal" style="width:680px" size="12"
name="lstBox" id="lstBox" onchange="" >
<option value="1">1 |1 |01/04/1995 |1995 Patent Act.
|Applicable</option>
<option value="2">9 |2 |14/10/2006 |Essai test automatique
|Not Used Yet</option>
</select>
I want to extract each values contained in the first option in my select
"cell_ListBoxNormal", in other word, I need to store, for example
1 in ${id},
1 in ${pos},
01/04/1995 in ${date},
1995 Patent Act. in ${description} and
Applicable in ${status}
The string to be considered is a multiline string (from <select ...> to the
first </option>)
Information are separated by a non fixed number of space and a |.
Thanks in advance for any advice, ideas ...
--
Bruno CHARLOUP,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]