I have Jmeter 1.8.1. I want to record a test which creats a booking and views it in the same test (its part of how the application works) I then want to run this every day to check the performance but it must be creating new booking and not referencing the same one. What values do I enter for
Regular expression used to search results from previous request Template for the replacement string, using groups from the regular expression. Format is $[group]$. Example $1$. Which match to use. An integer 1 or greater, RAND to indicate JMeter should randomly choose, A float, or ALL indi Between text. If ALL is selected, the between text will be used to generate the results Default text. Used instead of the template if the regular expression finds no matches Name of function. Used to store values for use elsewhere in the testplan. Once I have these entered in the Function helper where do I enter it in the actual test. Thank you for you help RD -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 July 2004 17:51 To: JMeter Users List Subject: Antwort: Help on Reg exp please'Viren geprueft!' 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/[EMAIL PROTECTED]/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" | | | <[EMAIL PROTECTED]| | | mail.com> | | | | | | 19.07.2004 16:32 | | | Bitte antworten | | | an "JMeter Users | | | List" | | | | |---------+----------------------------> >--------------------------------------------------------------------------- ---------------------------------------------------| | | | An: [EMAIL PROTECTED] | | 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

