I haven't tried 1.8.1 but has it got the ConfigElement Regular
ExpressionExtraktor (it's under Post Processors)?
Try attaching it to the Request that brings up your bookingID and add the
folloeing RegEx;
name="bookingID" value="(\S+)"
This will extract the ID and you can use it in the following Request.
I don't know how it works without the Config Element so sorry if you can't
use it.
Best regards
Frank
|---------+---------------------------->
| | "rita danger" |
| | <rita_danger8@hot|
| | mail.com> |
| | |
| | 19.07.2004 17:16 |
| | Bitte antworten |
| | an "JMeter Users |
| | List" |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| An: jmeter-user@jakarta.apache.org
|
| Kopie:
|
| Thema: RE: Antwort: Help on Reg exp please'Viren geprueft!'
|
>------------------------------------------------------------------------------------------------------------------------------|
I am using 1.8.1
This is the html which is created and I want to pull ot the bookingID
<input type="hidden" name="service" value="">
<input type="hidden" name="cacheBuster" value="">
<input type="hidden" name="bookingID" value="10356">
<input type="hidden" name="mode" value="Create">
>From: Frank_Lindner@idg.de
>Reply-To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
>To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
>Subject: Antwort: Help on Reg exp please'Viren geprueft!'
>Date: Mon, 19 Jul 2004 17:51:00 +0100
>
>
>
>
>
>Hello rita,
>
>I can't help you on the JMeter 2.0.1 Problem.
>Try this in your Script for the bookingID
>
> -Thread
> -Request that shows the ID
> -RegEx with following Parameters
> Reference Name=bookingID
> Regular Expression=bookingID=(\S+)
> Template=$1$
> Match=1
> Default Value=anything you want
> -Request that uses the grabbed ID (this is how it's used:
>${bookingID})
>
>Notice that the expression is wildly guessed so you have to work out one
>that works for you.
>Look at this Thread for more Information on RegEX
>http://www.mail-archive.com/jmeter-user@jakarta.apache.org/msg04879.html
>
>I put here a Screenshot how it could look like (hope this gets through)
>(Embedded image moved to file: pic19187.jpg)
>
>Hope it helps a bit!
>
>
>Greetings
> Frank
>
>
>|---------+---------------------------->
>| | "rita danger" |
>| | <rita_danger8@hot|
>| | mail.com> |
>| | |
>| | 19.07.2004 16:32 |
>| | Bitte antworten |
>| | an "JMeter Users |
>| | List" |
>| | |
>|---------+---------------------------->
>
>
>------------------------------------------------------------------------------------------------------------------------------|
> |
> |
> | An: jmeter-user@jakarta.apache.org
> |
> | Kopie:
> |
> | Thema: Help on Reg exp please'Viren geprueft!'
> |
>
>
>------------------------------------------------------------------------------------------------------------------------------|
>
>
>
>
>Hello
>How do you use Reg exp ?
>I want to run jmeter to create a booking but when its created its given an
>bookingID and views that booking via the ID.
>
>I have installed 2.0.1 jmeter but it does not run, so if I use 1.8.1 what
>do
>I need to enter to get a booking ref ?
>
>Thank
>Rita
>
>_________________________________________________________________
>It's fast, it's easy and it's free. Get MSN Messenger today!
>http://www.msn.co.uk/messenger
>
>
>---------------------------------------------------------------------
>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
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
---------------------------------------------------------------------
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
|