Parameter passing using regexFunction in testing Web services

2008-02-05 Thread MartinBorris
the new request is then sent to a different WDSL We have a case when the response details from one WSDL are used as input for a test against a different WDSL. Is this possible and has anyone set such a test before? (Do I need separate ThreadGroups?) Note: I am using the regexFunction to parse

Re: Parameter passing using regexFunction in testing Web services

2008-02-05 Thread sebb
ThreadGroups?) No, just add the appropriate sampler. Note: I am using the regexFunction to parse the parameters. Thanks in advance. Martin -- View this message in context: http://www.nabble.com/Parameter-passing-using-regexFunction-in-testing-Web-services-tp15290665p15290665.html Sent

Re: Help with regexFunction

2006-09-08 Thread sebb
Sorry, I should have spotted the missing quotes. Note that JMeter sets the variable JMeterThread.last_sample_ok to true or false after all Assertions have been run: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#assertions so you could have used Assertions, and then

Help with regexFunction

2006-09-07 Thread Sacha Michel Mallais
Hi, I'm having problems getting regexFunction to work in an If Controller, I wonder if my syntax is wrong. I have a sampler that hits the login page of my app, then an If Controller that tests if the login was sucessful by checking the title of the page, like so: ${__regexFunction

Re: Help with regexFunction

2006-09-07 Thread sebb
it in the __log() function. S. On 07/09/06, Sacha Michel Mallais [EMAIL PROTECTED] wrote: Hi, I'm having problems getting regexFunction to work in an If Controller, I wonder if my syntax is wrong. I have a sampler that hits the login page of my app, then an If Controller that tests if the login

Re: Help with regexFunction

2006-09-07 Thread Ravindra Gupta
suggest the solution of it??? Thamks in advance On 9/7/06, Sacha Michel Mallais [EMAIL PROTECTED] wrote: Hi, I'm having problems getting regexFunction to work in an If Controller, I wonder if my syntax is wrong. I have a sampler that hits the login page of my app, then an If Controller that tests

Re: Help with regexFunction

2006-09-07 Thread Sacha Michel Mallais
Hi Sebb, Thanks for your response. On Sep 7, 2006, at 11:13 AM, sebb wrote: Checking the content of a response is usually handled by using an Assertion: http://jakarta.apache.org/jmeter/usermanual/ component_reference.html#assertions Yes, I have successfully used a Response Assertion to

Re: URGENT regexFunction

2004-08-25 Thread Rita danger
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

RE: URGENT regexFunction

2004-08-25 Thread BAZLEY, Sebastian
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

RE: URGENT regexFunction

2004-08-25 Thread Rita danger
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

RE: URGENT regexFunction

2004-08-25 Thread Michael Stover
] 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

RE: URGENT regexFunction

2004-08-25 Thread Rita danger
and set name to product_id, value to ${product} Save Test Plan Run Start RD From: Michael Stover [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: JMeter Users List [EMAIL PROTECTED] Subject: RE: URGENT regexFunction Date: Wed, 25 Aug 2004 09:55:33 -0400 http://wiki.apache.org/jakarta-jmeter

Re: URGENT regexFunction

2004-08-24 Thread Rita danger
the regexFunction in Jmeter to create and paste the function string ${__regexFunction(.*,BookingID%3DBookingID%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

RE: URGENT regexFunction

2004-08-24 Thread BAZLEY, Sebastian
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

RE: URGENT regexFunction

2004-08-24 Thread Rita danger
: 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

RE: URGENT regexFunction

2004-08-24 Thread BAZLEY, Sebastian
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

RE: URGENT regexFunction

2004-08-24 Thread BAZLEY, Sebastian
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

RE: URGENT regexFunction

2004-08-24 Thread Rita danger
] 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

RE: URGENT regexFunction

2004-08-24 Thread Michael Stover
- 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

RE: URGENT regexFunction

2004-08-24 Thread BAZLEY, Sebastian
: Michael Stover [mailto:[EMAIL PROTECTED] Sent: 24 August 2004 14:18 To: JMeter Users List Subject: RE: URGENT regexFunction 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

RE: URGENT regexFunction

2004-08-24 Thread Rita danger
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

Re: URGENT regexFunction

2004-08-24 Thread Peter Lin
I'm biased, so take this with a grain of salt. jmeter 2.0 is much better and the regexp changes in 2.0 are better in my mind. for me, it's worth while to update the excel spreadsheet and use 2.0. you'll have to decide for youself whether it is worth it or not. peter On Tue, 24 Aug 2004

RE: URGENT regexFunction

2004-08-24 Thread Rita danger
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

RE: URGENT regexFunction

2004-08-24 Thread BAZLEY, Sebastian
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

Re: URGENT regexFunction

2004-08-24 Thread Peter Lin
: 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

Re: URGENT regexFunction

2004-08-24 Thread Rita danger
Hi Peter, Thanks I am currently installing java 1.4.2 Nearly finished so I'll give it another go when its finished 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

URGENT regexFunction

2004-08-23 Thread Rita danger
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

Re: URGENT regexFunction

2004-08-23 Thread Peter Lin
could you describe what the exact of the goal is. It's a bit hard to help with no details. A description of the use case would be beneficial. peter On Mon, 23 Aug 2004 16:15:01 +, Rita danger [EMAIL PROTECTED] wrote: Hello I need some help on the regexFunction. How do I get jmeter so

Re: URGENT regexFunction

2004-08-23 Thread Michael Stover
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

Assertions and regexFunction do not work with multiple redirects

2003-07-29 Thread Khan, Hatim
Good day! I have seen this question in the archive with no answer. I am trying to use assertions on a response but after all the redirects are followed. For now, this does not seem to work. I even tried the regexFunction. The assertions and the regexFunction they only process the first response

RE: Assertions and regexFunction do not work with multiple redirects

2003-07-29 Thread Khan, Hatim
Sorry, forgot to mention that I am using 1.9RC3. -Original Message- From: Khan, Hatim [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:00 PM To: 'JMeter User List' Subject: Assertions and regexFunction do not work with multiple redirects Good day! I have seen this question

RE: regexFunction

2003-06-17 Thread Sandeep Rao
It worked. Thanks a ton. Regards, Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 2:54 PM To: JMeter Users List Subject: Re: regexFunction Try putting parentheses around the bit of the regexp that you want to go into $1$ ie

regexFunction

2003-06-16 Thread Sandeep Rao
Hi all, I have been browsing this list for sometime and found good help in getting started with jmeter. This is my first post and this is regarding the regexFunction. I will appreciate if you can help me get the solution to my problem. Response to my first http request is in xml format and I

RE: regexFunction

2003-06-16 Thread Sandeep Rao
Oops. Forgot to mention which version I am using. I have tried this with both 1.9-RC1 and 1.9-RC2. Same results. Thanks, Sandeep -Original Message- From: Sandeep Rao [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 9:22 AM To: JMeter Users List Subject: regexFunction Hi all, I

Re: regexFunction

2002-12-12 Thread Scott Eade
Nah, I mistyped it in the email message. I have been using the Function Helper Dialog with the same result. Any other suggestions? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au From: Mike Stover [EMAIL PROTECTED] Reply-To: JMeter Users List [EMAIL

Re: regexFunction

2002-12-12 Thread Scott Eade
Users List [EMAIL PROTECTED] Date: Thu, 12 Dec 2002 20:05:59 +1100 To: JMeter Users List [EMAIL PROTECTED] Subject: Re: regexFunction Nah, I mistyped it in the email message. I have been using the Function Helper Dialog with the same result. Any other suggestions? Scott -- Scott

Re: regexFunction

2002-12-12 Thread Mike Stover
PROTECTED] Subject: Re: regexFunction Nah, I mistyped it in the email message. I have been using the Function Helper Dialog with the same result. Any other suggestions? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au From: Mike

Re: regexFunction

2002-12-12 Thread Scott Eade
To: JMeter Users List [EMAIL PROTECTED] Subject: Re: regexFunction Yeow, I looked at the Recording Controller, and I can't see anything that would be a problem. What??? This makes no sense. -Mike On 12 Dec 2002 at 20:23, Scott Eade wrote: Okay, I have managed to make it work

Re: using regexfunction

2002-10-11 Thread Raphaël Piéroni
--- Mike Stover [EMAIL PROTECTED] a écrit : On 10 Oct 2002 at 9:40, Raphaël Piéroni wrote: here is the jmx but it is no longer good for me because i now stock a variable in the http session so i do not need the regexfunction. I only saw one ${getID_g1} thats because i forget

Re: using regexfunction

2002-10-10 Thread Mike Stover
On 10 Oct 2002 at 9:40, Raphaël Piéroni wrote: here is the jmx but it is no longer good for me because i now stock a variable in the http session so i do not need the regexfunction. I only saw one ${getID_g1} in the test, and it was in the very next request. I thought there was supposed

Re: using regexfunction

2002-10-08 Thread Michal Kostrzewa
Hi Raphael ${__regexFunction(assign+name%3D%22session_id%22+expr%3D%22%28.*%29,%241%24 ,RAND,,,getID)} if i use that function during the third hit, it works fine. Do you use $__regex or ${getID_g1} in third request? Do you suggest that jmeter remembers $getID up to third request and forgets

Re: using regexfunction

2002-10-08 Thread Raphaël Piéroni
--- Michal Kostrzewa [EMAIL PROTECTED] a écrit : Hi Raphael ${__regexFunction(assign+name%3D%22session_id%22+expr%3D%22%28.*%29,%241%24 ,RAND,,,getID)} if i use that function during the third hit, it works fine. Do you use $__regex or ${getID_g1} in third request? Do you suggest

Re: using regexfunction

2002-10-08 Thread Michal Kostrzewa
Hi Raphael, ok it forget. i tried to put it in the 3rd 4th 5th and 6th and 30th requests 3 use regex works fine 4 use ${getID_g1} works fine 5 use ${getID_g1} dunnot work 6 use ${getID_g1} dunnot work 30 use ${getID_g1} dunnot work I've just done simple test: 12 requests to

Re: using regexfunction

2002-10-08 Thread Mike Stover
On 8 Oct 2002 at 11:57, Raphaël Piéroni wrote: --- Michal Kostrzewa [EMAIL PROTECTED] a écrit : Hi Raphael ${__regexFunction(assign+name%3D%22session_id%22+expr%3D%22%28.*%29,%241%24 ,RAND,,,getID)} if i use that function during the third hit, it works fine. Do you use

Re: using regexfunction

2002-10-08 Thread Raphaël Piéroni
--- Michal Kostrzewa [EMAIL PROTECTED] a écrit : Hi Raphael, ok it forget. i tried to put it in the 3rd 4th 5th and 6th and 30th requests 3 use regex works fine 4 use ${getID_g1} works fine 5 use ${getID_g1} dunnot work 6 use ${getID_g1} dunnot work 30 use ${getID_g1} dunnot

Re: using regexfunction

2002-10-08 Thread Michal Kostrzewa
Raphael, Could you do the simplest test as I did? nope the test scenario was chosen by upper hierarchy I asked you to simplify scenario not for web application testing, but for testing your installation of jmeter - to simplify test case to the smallest possible. Sorry if I didn't