jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nop Lists <>
Subject Regular expression extractor / multiline matching
Date Wed, 03 Aug 2005 13:24:24 GMT
I'm trying to extract the selcted value of a selction box in a form,
which looks like this

<select name="orderData.secAccountId" tabindex="3"
onchange="errorMsg('datenInkonsistenz')" style="z-index:1"
class="input150px"><option value="789123456700"
selected="selected">789 1234567 00</option>
<option value="789123456701">789 1234567 01</option>
<option value="789123456799">789 1234567 99</option></select>

Under the HTTP Request Sampler I use a regular
expression extractor with the following parameter:

Reference Name:		secAccountId
Regular Expression:	(?s) (<select
name="orderData.secAccountId"(.*)<option value="([0-9]*)"
Template:		$2$
Match No.:		1
Default Value:		NOTFOUND

Instead of the value "789123456700" the variable secAccountId has the
value "null".

Does anybody have an idea what I am doing wrong?
Thanks a lot!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message