Hi,

I want to extract the protocol name of a URL with a regular expression :
ex : https://www.test.com => https

I'm using the regular expression extractor of JMeter 2.2 to assign a
variable :
- variable : testVar
- regular expression : (.*)://.*
- template : $1$
- num : 1
With this configuration, testVar is not assigned.

But, if I modify the template parameter like this :
- template : $1$---
testVar is assigned with 'https---'

Rq : the same result occurs also with JMeter 2.1

I cannot explain this behaviour.
Can you help me?

Aurel'

-- 
View this message in context: 
http://www.nabble.com/Regular-expression-tf3632255.html#a10142129
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to