Currently I'm doing a course on JMeter and I am stuck on something with which I would be grateful if you could point me in the right direction. Using the regular expression extractor I am trying to write a regular expression to extract the values from drop down lists for parameterisation reasons. However, using my expression seems to extract everything on the page which has "option value" in that page i.e i am unable to make the expression to be specific for a particular drop down? many thanks
I have tried:
OPTION VALUE="([A-Za-z]+)"
The following is the relevant HTML:
<SELECT NAME="fromPort">
<OPTION VALUE="Acapulco">Acapulco
<OPTION VALUE="Frankfurt">Frankfurt
<OPTION VALUE="London">London
<OPTION VALUE="New York">New York
<OPTION VALUE="Paris">Paris
<OPTION VALUE="Portland">Portland
<OPTION VALUE="San Francisco">San Francisco
<OPTION VALUE="Seattle">Seattle
<OPTION VALUE="Sydney">Sydney
<OPTION VALUE="Zurich">Zurich
</SELECT>