http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-75174ebf2091fc8142f067e5fd8a6d7e5a566b8c http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#head-838de59592f482b07dd7c7f14a25e3667b8f1863 http://weitz.de/regex-coach/ http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor http://jakarta.apache.org/jmeter/usermanual/build-test-plan.html#scoping_rules http://jakarta.apache.org/jmeter/usermanual/functions.html
On Wed, 2004-08-25 at 09:18, Rita danger wrote: > I am running a Jmeter test which I recorded to create a booking and add a > product (using productID) to the booking. > When I run the test, because it has rcorded the productID it keeps > referencing the same product instead of creating a new productID. How do I > get it to product new productID's instead of referencing the same one? > > Thanks > RD > > > >From: "BAZLEY, Sebastian" <[EMAIL PROTECTED]> > >Reply-To: "JMeter Users List" <[EMAIL PROTECTED]> > >To: 'JMeter Users List' <[EMAIL PROTECTED]> > >Subject: RE: URGENT regexFunction > >Date: Wed, 25 Aug 2004 12:16:29 +0100 > > > >The text of the error messages suggests that you were trying to run JMeter > >using Remote start, without first starting RMI and the remote JMeter > >server. > > > >However, you haven't actually said how you ran the test - the command line > >or menu option you used would be helpful here. > > > >Try running JMeter locally first. > > > >I hesitate to say this, but the user documentation that comes with 2.0.1 is > >worth reading ... > > > >S. > >-----Original Message----- > >From: Rita danger [mailto:[EMAIL PROTECTED] > >Sent: 25 August 2004 11:41 > >To: [EMAIL PROTECTED] > >Subject: Re: URGENT regexFunction > > > > > >Hi Sorry its me again, > > > >I have installed the latest nersion of Jmeter 2.0.1 and Java 1.4.5 > >But when I run my jmeter test it seems to stop straight away. > >The error given is as follows > >004/08/25 11:00:04 ERROR - jmeter.gui.action.RemoteStart: > >java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested > >exception is: > > java.net.ConnectException: Connection refused: connect > > > >Do you know whats wrong or is more information required? > > > >Thank you > >RD > > > > >From: Peter Lin <[EMAIL PROTECTED]> > > >Reply-To: Peter Lin <[EMAIL PROTECTED]> > > >To: JMeter Users List <[EMAIL PROTECTED]> > > >Subject: Re: URGENT regexFunction > > >Date: Tue, 24 Aug 2004 10:40:13 -0500 > > > > > >I would recommend installing jdk1.4.2 > > > > > >peter > > > > > > > > >On Tue, 24 Aug 2004 16:36:40 +0100, BAZLEY, Sebastian > > ><[EMAIL PROTECTED]> wrote: > > > > Not enough information. > > > > > > > > > > > > -----Original Message----- > > > > From: Rita danger [mailto:[EMAIL PROTECTED] > > > > Sent: 24 August 2004 16:08 > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: URGENT regexFunction > > > > > > > > Hi > > > > > > > > I have installed Jmeter 2.0.1 but it does not run, do I have to > >install > > >java > > > > > > > > 1.4.2 ? > > > > RD > > > > > > > > >From: "BAZLEY, Sebastian" <[EMAIL PROTECTED]> > > > > >Reply-To: "JMeter Users List" <[EMAIL PROTECTED]> > > > > >To: 'JMeter Users List' <[EMAIL PROTECTED]> > > > > >Subject: RE: URGENT regexFunction > > > > >Date: Tue, 24 Aug 2004 14:57:40 +0100 > > > > > > > > > >You can specify what columns you want (but not the order) in > > > > >jmeter.properties. > > > > > > > > > >BTW, Excel automatically changes formulae on spreadsheets if you add > >an > > > > >extra column or reorder them - unless you have used very tricky > > >formulae > > > > >with indirect lookup etc. > > > > > > > > > >Excel also allows the use of names to refer to cells and ranges. > > > > >You can then just change the definition of the name. > > > > > > > > > >S. > > > > >-----Original Message----- > > > > >From: Rita danger [mailto:[EMAIL PROTECTED] > > > > >Sent: 24 August 2004 14:39 > > > > >To: [EMAIL PROTECTED] > > > > >Subject: RE: URGENT regexFunction > > > > > > > > > > > > > > >I didn't try and I had some problems, thats why I am still using > >1.8.1 > > > > >After running my tests I export the results onto a spreadsheet and > >the > > > > >problem was that the layout/sequence of the output changed, so the > > > > >formulas on the spreadsheets where all wrong. > > > > >The ONLY reason why I am still using 1.8.1 is because I would have to > > > > >change > > > > > > > > > >pages of excel spreadsheet formulas to recalculate and get the > >results > > >I > > > > >want. > > > > > > > > > >Would you know why this happens or what I can do to change the output > > >to be > > > > >the same layout? > > > > > > > > > >Do you still recommend installing the new version? It does have some > > >new > > > > >feature of interest! > > > > > > > > > >Thanks > > > > >RD > > > > > > > > > > >From: Michael Stover <[EMAIL PROTECTED]> > > > > > >Reply-To: [EMAIL PROTECTED] > > > > > >To: JMeter Users List <[EMAIL PROTECTED]> > > > > > >Subject: RE: URGENT regexFunction > > > > > >Date: Tue, 24 Aug 2004 09:18:00 -0400 > > > > > > > > > > > >This is the sort of information without which our help is > > >meaningless. > > > > > > > > > > > >You might find it useful to upgrade your JMeter to the latest: > >2.0.1. > > > > > > > > > > > >-Mike > > > > > > > > > > > >On Tue, 2004-08-24 at 08:05, Rita danger wrote: > > > > > > > Thank you again > > > > > > > > > > > > > > Sorry if this I this is a silly question > > > > > > > I am running Jmeter version 1.8.1 how do I use the Regular > > >Expression > > > > > > > Extractor > > > > > > > > > > > > > > This is what my test looks like > > > > > > > > > > > > > > Create product > > > > > > > -----create booking > > > > > > > ---Response Assertion > > > > > > > -----Addproduct - this has productID (do I leave the original > > >value > > > > >in) > > > > > > > ---HTML Link Parser > > > > > > > ---Response Assertion - this as > > > > > > > ${__regexFunction(name="productID"\s+value="(\d+)")} > > > > > > > > > > > > > > > > > > > > > Is this what it supposed to look like? > > > > > > > > > > > > > > Thank you > > > > > > > RD > > > > > > > > > > > > > > >From: "BAZLEY, Sebastian" <[EMAIL PROTECTED]> > > > > > > > >Reply-To: "JMeter Users List" <[EMAIL PROTECTED]> > > > > > > > >To: 'JMeter Users List' <[EMAIL PROTECTED]> > > > > > > > >Subject: RE: URGENT regexFunction > > > > > > > >Date: Tue, 24 Aug 2004 11:56:35 +0100 > > > > > > > > > > > > > > > >By the way, you probably want to use the Regular Expression > > >Extractor > > > > > > > >Post-Processor rather than the Function __regex(). > > > > > > > > > > > > > > > >Attach the element as a child of the sampler that returns the > > >html to > > > > > >be > > > > > > > >scanned. > > > > > > > > > > > > > > > >S. > > > > > > > >-----Original Message----- > > > > > > > >From: BAZLEY, Sebastian > > > > > > > >Sent: 24 August 2004 11:49 > > > > > > > >To: 'JMeter Users List' > > > > > > > >Subject: RE: URGENT regexFunction > > > > > > > > > > > > > > > > > > > > > > > >So long as there are no other instances of the string > > > > > > > > name="productID" > > > > > > > >in the response, and the value is always a string of numbers, > >the > > > > > >following > > > > > > > >regex should work: > > > > > > > > > > > > > > > > name="productID"\s+value="(\d+)" > > > > > > > > > > > > > > > >If the name and value might be split across lines, enclose the > > >regex > > > > >as > > > > > > > >follows: > > > > > > > > > > > > > > > > (?s:name="productID"\s+value="(\d+)") > > > > > > > > > > > > > > > >The "s" is a flag to treat the regex as a single line. > > > > > > > > > > > > > > > >I've not tested this, so try it in the Regex tester. > > > > > > > > > > > > > > > >S. > > > > > > > >-----Original Message----- > > > > > > > >From: Rita danger [mailto:[EMAIL PROTECTED] > > > > > > > >Sent: 24 August 2004 11:36 > > > > > > > >To: [EMAIL PROTECTED] > > > > > > > >Subject: RE: URGENT regexFunction > > > > > > > > > > > > > > > > > > > > > > > >Hi > > > > > > > > > > > > > > > >Thank you for replying > > > > > > > >Is this okay? > > > > > > > > > > > > > > > ><input type="hidden" name="service" value=""> > > > > > > > > > > > > > > > ><input type="hidden" name="cacheBuster" value=""> > > > > > > > > > > > > > > > ><input type="hidden" name="productID" value="10442"> > > > > > > > > > > > > > > > ><input type="hidden" name="mode" value="Create"> > > > > > > > > > > > > > > > ><input type="hidden" name="editActiveDetailID" value="-1"> > > > > > > > > > > > > > > > ><input type="hidden" name="deleteActiveDetailID" value="-1"> > > > > > > > > > > > > > > > ><input type="hidden" name="deleteRnLineID" value="-1"> > > > > > > > > > > > > > > > ><input type="hidden" name="pageScrollY" value="0"/> > > > > > > > > > > > > > > > >Let me know if you need more information, > > > > > > > >Thanks > > > > > > > >RD > > > > > > > > > > > > > > > > >From: "BAZLEY, Sebastian" <[EMAIL PROTECTED]> > > > > > > > > >Reply-To: "JMeter Users List" > ><[EMAIL PROTECTED]> > > > > > > > > >To: 'JMeter Users List' <[EMAIL PROTECTED]> > > > > > > > > >Subject: RE: URGENT regexFunction > > > > > > > > >Date: Tue, 24 Aug 2004 11:20:31 +0100 > > > > > > > > > > > > > > > > > >What does the HTML response look like that contains the > > >productID > > > > >(or > > > > > > > > > > >is > > > > > > > >it > > > > > > > > >BookingID?) > > > > > > > > > > > > > > > > > >Regexes need to be carefully crafted to ensure that they pick > > >up > > > > > >exactly > > > > > > > > >what is needed - no more, no less, so *exact* details are > > >needed. > > > > > > > > > > > > > > > > > >S. > > > > > > > > >P.S. Have you read the JMeter FAQ and the Wiki? > > > > > > > > >There is some info on Regexes, including a pointer to an > > >excellent > > > > > > > > >interactive Regex tester. > > > > > > > > >-----Original Message----- > > > > > > > > >From: Rita danger [mailto:[EMAIL PROTECTED] > > > > > > > > >Sent: 24 August 2004 11:04 > > > > > > > > >To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > > > > > > >Subject: Re: URGENT regexFunction > > > > > > > > > > > > > > > > > > > > > > > > > > >I hope this is a better detailed of what I am doing, please > >let > > > > >me > > > > > >know > > > > > > > >if > > > > > > > > >its not up to your standard. > > > > > > > > > > > > > > > > > >what are you trying to do > > > > > > > > >-- I'm trying to create a Jmeter test, using one of our > > > > >applications > > > > > >I > > > > > > > >want > > > > > > > > >to test how long it takes to creating a product ( the > > >application > > > > > >uses > > > > > > > > >java > > > > > > > > > > > > > > > > > >& html and passes a productID when its saved), edit and save > > >it. > > > > > > > > >At the end of the test I want to use the productID to delete > > >the > > > > > >product > > > > > > > > >just created. > > > > > > > > > > > > > > > > > >what have been the results of your attempts, > > > > > > > > >-- I looked at the User's Manual, thats probably why I > >decided > > >to > > > > > >join > > > > > > > >the > > > > > > > > >mail list. > > > > > > > > >I've tried using the regexFunction in Jmeter to create and > > >paste > > > > >the > > > > > > > > >function string > > > > > > > > >${__regexFunction(.*,BookingID%3D,,,,BookingID%3D)}. > > > > > > > > > > > > > > > > > >The site has no examples which would be helpfull in > >situations > > >like > > > > > >this > > > > > > > > >when standards aren't up to your level (ie newbies) > > > > > > > > > > > > > > > > > >Please let me know if you need more information > > > > > > > > >It would be good to get some help, this is really new to me, > > > > > > > > > > > > > > > > > >Thank you > > > > > > > > >RD > > > > > > > > > > > > > > > > > > >From: Michael Stover <[EMAIL PROTECTED]> > > > > > > > > > >Reply-To: [EMAIL PROTECTED] > > > > > > > > > >To: JMeter Users List <[EMAIL PROTECTED]> > > > > > > > > > >Subject: Re: URGENT regexFunction > > > > > > > > > >Date: Mon, 23 Aug 2004 14:17:29 -0400 > > > > > > > > > > > > > > > > > > > >Rita, > > > > > > > > > > If you are wondering why you don't usually get much > > >response > > > > > >to > > > > > > > >your > > > > > > > > > >questions, it's because we don't understand them. At least > >I > > > > > >don't. > > > > > > > > > >You need to make an effort to provide some information > >about > > >your > > > > > > > > > >problem. > > > > > > > > > > > > > > > > > > > >Ie, what are you trying to do, what is your environment, > >how > > >have > > > > > >you > > > > > > > > > >tried to solve it, what have been the results of your > > >attempts, > > > > > >what > > > > > > > > > >error messages have you gotten, etc. You have a bad habit > >of > > > > > >asking > > > > > > > > > >extremely terse questions that provide no information. > > > > > > > > > > > > > > > > > > > >-Mike > > > > > > > > > > > > > > > > > > > >On Mon, 2004-08-23 at 12:15, Rita danger wrote: > > > > > > > > > > > Hello > > > > > > > > > > > > > > > > > > > > > > I need some help on the regexFunction. > > > > > > > > > > > > > > > > > > > > > > How do I get jmeter so save the in of something its just > > > > >created > > > > > > > > > > >and > > > > > > > > > >then > > > > > > > > > > > use the id to delete it. > > > > > > > > > > > > > > > > > > > > > > Thank you > > > > > > > > > > > > > > > > > > > > > > RD > > > > > > > > > > > > > > > > > > > > > > > > > > > >_________________________________________________________________ > > > > > > > > > > > Stay in touch with absent friends - get MSN Messenger > > > > > > > > > > > http://www.msn.co.uk/messenger > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > > > > > To unsubscribe, e-mail: > > > > > >[EMAIL PROTECTED] > > > > > > > > > > > For additional commands, e-mail: > > > > > >[EMAIL PROTECTED] > > > > > > > > > >-- > > > > > > > > > >Michael Stover <[EMAIL PROTECTED]> > > > > > > > > > >Apache Software Foundation > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > > > >To unsubscribe, e-mail: > > > > >[EMAIL PROTECTED] > > > > > > > > > >For additional commands, e-mail: > > > > > >[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_________________________________________________________________ > > > > > > > > >Express yourself with cool new emoticons > > > > > > > > >http://www.msn.co.uk/specials/myemo > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > > >To unsubscribe, e-mail: > > >[EMAIL PROTECTED] > > > > > > > > >For additional commands, e-mail: > > > > >[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________________ > > > > > > > > > > > > > > > > > >This e-mail and the documents attached are confidential and > > > > >intended > > > > > > > > >solely for the addressee; it may also be privileged. If you > > >receive > > > > > >this > > > > > > > > >e-mail in error, please notify the sender immediately and > > >destroy > > > > >it. > > > > > > > > >As its integrity cannot be secured on the Internet, the Atos > > >Origin > > > > > >group > > > > > > > > >liability cannot be triggered for the message content. > >Although > > > > >the > > > > > > > > >sender endeavours to maintain a computer virus-free network, > > >the > > > > > > > > >sender does not warrant that this transmission is virus-free > > >and > > > > >will > > > > > > > > >not be liable for any damages resulting from any virus > > >transmitted. > > > > > > > > >_______________________________________________________ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > > >To unsubscribe, e-mail: > > >[EMAIL PROTECTED] > > > > > > > > >For additional commands, e-mail: > > > > >[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > >_________________________________________________________________ > > > > > > > >Use MSN Messenger to send music and pics to your friends > > > > > > > >http://www.msn.co.uk/messenger > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > >To unsubscribe, e-mail: > > >[EMAIL PROTECTED] > > > > > > > >For additional commands, e-mail: > > >[EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________________ > > > > > > > > > > > > > > > >This e-mail and the documents attached are confidential and > > >intended > > > > > > > >solely for the addressee; it may also be privileged. If you > > >receive > > > > > >this > > > > > > > >e-mail in error, please notify the sender immediately and > >destroy > > > > >it. > > > > > > > >As its integrity cannot be secured on the Internet, the Atos > > >Origin > > > > > >group > > > > > > > >liability cannot be triggered for the message content. Although > > >the > > > > > > > >sender endeavours to maintain a computer virus-free network, > >the > > > > > > > >sender does not warrant that this transmission is virus-free > >and > > >will > > > > > > > >not be liable for any damages resulting from any virus > > >transmitted. > > > > > > > >_______________________________________________________ > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > >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] > > > > > > > > > > > > > > > > > > > > > > > >_________________________________________________________________ > > > > > > > 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] > > > > > >-- > > > > > >Michael Stover <[EMAIL PROTECTED]> > > > > > >Apache Software Foundation > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > >For additional commands, e-mail: > >[EMAIL PROTECTED] > > > > > > > > > > > > > > > >_________________________________________________________________ > > > > >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] > > > > > > > > > > > > > > >_______________________________________________________ > > > > > > > > > >This e-mail and the documents attached are confidential and intended > > > > >solely for the addressee; it may also be privileged. If you receive > > >this > > > > >e-mail in error, please notify the sender immediately and destroy it. > > > > >As its integrity cannot be secured on the Internet, the Atos Origin > > >group > > > > >liability cannot be triggered for the message content. Although the > > > > >sender endeavours to maintain a computer virus-free network, the > > > > >sender does not warrant that this transmission is virus-free and will > > > > >not be liable for any damages resulting from any virus transmitted. > > > > >_______________________________________________________ > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > _________________________________________________________________ > > > > Express yourself with cool new emoticons > > >http://www.msn.co.uk/specials/myemo > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > _______________________________________________________ > > > > > > > > This e-mail and the documents attached are confidential and intended > > > > solely for the addressee; it may also be privileged. If you receive > >this > > > > e-mail in error, please notify the sender immediately and destroy it. > > > > As its integrity cannot be secured on the Internet, the Atos Origin > > >group > > > > liability cannot be triggered for the message content. Although the > > > > sender endeavours to maintain a computer virus-free network, the > > > > sender does not warrant that this transmission is virus-free and will > > > > not be liable for any damages resulting from any virus transmitted. > > > > _______________________________________________________ > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > >_________________________________________________________________ > >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] > > > > _________________________________________________________________ > Use MSN Messenger to send music and pics to your friends > http://www.msn.co.uk/messenger > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]