Hi Elisabeth,

I add a HTTP URL Re-writing modifier as you wrote.
The sessionid is correctly add after the url. Great !

But the trick to catch the token doesn´t work.
Where do I have to add the regexFunktion first?
Into all HTTP Request of the thread which get a token or only into the first
HTTP Request which get back a token?

In my case HTTP Request No. 5 get the token and HTTP Request No. 6 runs
correctly.
But the HTTP Request No. 7 doesn´t send the token which send back with the
HTTP Request No. 6.? The value of the token is blank!
Why?
Torsten

-----Ursprüngliche Nachricht-----
Von: GUERARD Elisabeth [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 26. Januar 2006 09:58
An: JMeter Users List
Betreff: RE: Need help on Regular Expression


Maybe It can help you, I used:
 
HTTP URL Re-writing modifier
Session argument Name: jsessionid
Path Extension (use ";" as separator)  checked
And after in the HTTP request: 
Send Parameter with the request:
Name : org.apache.struts.taglib.html.TOKEN 
Value: ${__regexFunction(<input type="hidden"
name="org.apache.struts.taglib.html.TOKEN" value="(.*)">,$1$,1,,null,token)}
And in the other HTTP request:
Name: org.apache.struts.taglib.html.TOKEN
Value: ${token}
Elisabeth


******************************************************************
Bitte nutzen Sie die E-Mail-Verbindung mit uns ausschliesslich zum 
Informationsaustausch. Wir koennen auf diesem Wege keine 
rechtsgeschaeftlichen Erklaerungen (Auftraege etc.) entgegennehmen.
Der Inhalt dieser Nachricht ist vertraulich und nur fuer den angegebenen 
Empfaenger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe
durch Dritte ist unzulaessig. Sollte diese Nachricht nicht fur Sie bestimmt
sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in 
Verbindung zu setzen.

Please use your E-mail connection with us exclusively for the exchange 
of information. We do not accept legally binding declarations (orders, 
etc.) by this means of communication. The contents of this message is 
confidential and intended only for the recipient indicated. Taking 
notice of this message or disclosure by third parties is not 
permitted. In the event that this message is not intended for you, 
please contact us via E-mail or phone.

******************************************************************


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

Reply via email to