jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Massimo Forno" <Massimo.Fo...@deltatre.com>
Subject RE: Regular Expression
Date Tue, 20 Jun 2006 16:37:50 GMT

Hi Sebb, 

Nothing, I'm still getting JMeter sending:

POST http://localhost:9000/SBS/EDS/Person/List.htmx

POST data:
__cmsPageId=765&__cmsStartPageId=107&__cmsPageBack=0&__cmsActionTarget=&
__cmsAction=datasaved&CurrentResourceBindingID=${PersonBindID}&CurrentRe
sourceID=${PersonID}&......

Instead of:

POST http://localhost:9000/SBS/EDS/Person/List.htmx

POST data:
__cmsPageId=765&__cmsStartPageId=107&__cmsPageBack=0&__cmsActionTarget=&
__cmsAction=datasaved&CurrentResourceBindingID=${PersonBindID}&CurrentRe
sourceID='THE REAL ID'&.....

I thank you for any other suggestion.

Massimo.



-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Tuesday, June 20, 2006 6:32 PM
To: JMeter Users List
Subject: Re: Regular Expression

The template $0$ means to match the *whole* RE; $1$ means the 1st pair
of ().

Try:

Name: PersonID

ReferenceName: PersonID

Regular Expression: name="ResourceID" value="(\d+)

Template: $1$

Match N0. : 1

This assumes that the Resource ID will only be numeric.
If it can be anything upto to the closing ", then use:

Regular Expression: name="ResourceID" value="(.+?)"

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message