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

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 c

Re: Help with regexFunction

2006-09-07 Thread Ravindra Gupta
hi, I have tried the same using my application and it is not returning true. I have checked the same by passing the regex value using HTTP sampler fust to check the responses...it was perfectly fine.i dont knw whts wrong is happening i am using 2.1.1 version of Jmeter. Can somebody sugges

Re: Help with regexFunction

2006-09-07 Thread sebb
Checking the content of a response is usually handled by using an Assertion: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#assertions But if you do want to use the RE function, then I suggest you try it in a JavaSampler so you can see what is returned. Or wrap it in the _

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((My Logi