Response Assertion pattern equals - JDBC

2011-10-06 Thread Troy Harris
Hi, I'm attempting to test a DB with the JDBC request sampler and Im having an issue with the Response Assertion. My SQL query returns multiple lines and I want to use a Response Assertion (pattern equals) to validate. If I run the query and copy paste the response into a Response Asse

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-19 Thread Karthik110885
.nabble.com/Issue-with-Response-assertion-for-HTTP-Request-Sampler-tp4803205p4818602.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-16 Thread ZK
Hi, Do the values change of the response stay the same? or do they change? If they change you should consider using regEx (I recommend a program called regexbuddy... but you have to pay for this), anyways I have given you 2 options below (both work for me as a response assertion) although there

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-16 Thread ZK
Hi, could you post a sample of the *full * xml assertion you use? Otherwise we all all shooting in the dark! ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Issue-with-Response-assertion-for-HTTP-Request-Sampler-tp4803205p4809760.html Sent from the JMeter - User mailing

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-16 Thread Karthik110885
56789 001000 000121 DE EUR DE 00 " Value in Response Assertion: " 000121 Firma Ides AG Martin Steiner, Kathrin Walther, Bernd Z

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-15 Thread Deepak Shetty
hi what options have you chosen for Response Assertion? - Contains - true if the text contains the regular expression pattern - Matches - true if the whole text matches the regular expression pattern - Equals - true if the whole text equals the pattern string (case-sensitive

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-15 Thread sebb
On 15 September 2011 16:30, Karthik110885 wrote: > Hi ZK, > > Thanks for the response. I googled for the special characters and found a > list of 11 > > [ \ ^ $ . | ? * + ( ) > > I have escaped . with a backslash. But the response assertion takes that too > in a lite

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-15 Thread Karthik110885
Hi ZK, Thanks for the response. I googled for the special characters and found a list of 11 [ \ ^ $ . | ? * + ( ) I have escaped . with a backslash. But the response assertion takes that too in a literal way. *Assertion error: false Assertion failure: true Assertion failure message: Test

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-15 Thread Karthik110885
Hi Sebb, Thanks a lot for the response. Response match between the OSes. I haven't defined any regular expressions. I have just copied the block of xml that is expected to be present in the response (and it indeed is present in the response) into response assertion. Is there anything t

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-14 Thread sebb
. > Now, i have to verify that the response contains a particular block of xml > (multiple lines) to make sure that i have received the proper response. So i > have added response assertion to the HTTP Request sampler and copied the > block of xml to it > > Now, When i send HTTP request

Issue with Response assertion for HTTP Request Sampler

2011-09-14 Thread Karthik110885
(multiple lines) to make sure that i have received the proper response. So i have added response assertion to the HTTP Request sampler and copied the block of xml to it Now, When i send HTTP request to a server in non-windows platform everything works fine. But when i send the same request to a server in

Re: How to use "Response Assertion" in Jmeter?

2011-07-08 Thread Oliver Lloyd
Go here: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion Response Assertion and engage eyes and head. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-use-Response-Assertion-in-Jmeter-tp4564228p4564368.html Sent from the JMeter

Re: why response assertion failure: "response was null"?

2011-06-23 Thread sebb
> error message would likewise differ) > > What does this "response assertion failure" mean (httpclietnt got nothing > back, that it took too long,etc) ? Could jmeter have run out of resources? > Could the server simply have taking too long and this "response assertion &g

why response assertion failure: "response was null"?

2011-06-23 Thread Will Milspec
successes, some failures for this file. -if the server timed out, and the http client thought it received "null" or an empty string, I would have the status code would say something (and the error message would likewise differ) What does this "response assertion failure" mean

Re: response assertion: using multiple patterns

2011-05-31 Thread sebb
On 31 May 2011 18:32, Bruce Ide wrote: > I have the same problem, I'm always jumping for a BSF sampler or writing my > own jmeter plugin. The BSF sampler is pretty low-impact, but I need to go > digging around for simpler solutions before reaching for the Java. > Ironically the simpler solutions a

Re: response assertion: using multiple patterns

2011-05-31 Thread Bruce Ide
I have the same problem, I'm always jumping for a BSF sampler or writing my own jmeter plugin. The BSF sampler is pretty low-impact, but I need to go digging around for simpler solutions before reaching for the Java. Ironically the simpler solutions are usually harder to find because everyone think

Re: response assertion: using multiple patterns

2011-05-31 Thread Deepak Shetty
Damn! was wondering how to concatenate the string without code and missed the obvious. On Tue, May 31, 2011 at 8:51 AM, sebb wrote: > On 31 May 2011 16:20, Konstantin S. wrote: > >> Add another response assertion? > >> > >> That will fail other assertions and i d

Re: response assertion: using multiple patterns

2011-05-31 Thread Konstantin S.
> > what i need is a equivalent of SQL... where tag1 in ('89', '90', > '91','92','93') That is easy in the Response Assertion: > > Variable name: tag1 > Regex: 89|90|91|92|93 > > > Heck yeah! Sebb, thank you very m

Re: response assertion: using multiple patterns

2011-05-31 Thread sebb
On 31 May 2011 16:20, Konstantin S. wrote: >> Add another response assertion? >> >> That will fail other assertions and i dont' want that > > you see  I have a variable > > tag1 = 89 > > and 5 variables with parsed tags, for example > ${aaa_g1} = 89 &g

Re: response assertion: using multiple patterns

2011-05-31 Thread Konstantin S.
eepak Shetty wrote: > Beanshell assertion should work. You have to code it! > On May 31, 2011 8:20 AM, "Konstantin S." wrote: > >> Add another response assertion? > >> > >> That will fail other assertions and i dont' want that > > &g

Re: response assertion: using multiple patterns

2011-05-31 Thread Deepak Shetty
Beanshell assertion should work. You have to code it! On May 31, 2011 8:20 AM, "Konstantin S." wrote: >> Add another response assertion? >> >> That will fail other assertions and i dont' want that > > you see I have a variable > > tag1 = 89 >

Re: response assertion: using multiple patterns

2011-05-31 Thread Konstantin S.
> Add another response assertion? > > That will fail other assertions and i dont' want that you see I have a variable tag1 = 89 and 5 variables with parsed tags, for example ${aaa_g1} = 89 ${bbb_g1} = 90 ${ccc_g1} = 91 ${ddd_g1} = 92 ${eee_g1} = 93 what i need is a equi

Re: response assertion: using multiple patterns

2011-05-31 Thread Bruce Ide
Add another response assertion? -- Bruce Ide flyingrhenqu...@gmail.com

response assertion: using multiple patterns

2011-05-31 Thread Konstantin S.
hello all say, i am checking Jmeter variable in response assertion. for example the value is 89. also I have number of variables with values 89,90,91,92,93 what i need to check is that variable with value 92 is found in (89,90,91,92,93) so how do i specify OR condition in test pattern? I tried

Re: How to pass response assertion result to other controller

2011-02-04 Thread rkedari
n5.nabble.com/How-to-pass-response-assertion-result-to-other-controller-tp3362639p3371384.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For

Re: How to pass response assertion result to other controller

2011-01-30 Thread sebb
e >> assertion >> in other sampler is passed then only execute it. >> >> I want do some requests using "once only controller" having response >> assertion in it and want to run other "simple controller" only if the >> assertion in the first cont

Re: How to pass response assertion result to other controller

2011-01-29 Thread Deepak Shetty
gt; HI, > > How to control execution of a sampler setting criteria like if the > assertion > in other sampler is passed then only execute it. > > I want do some requests using "once only controller" having response > assertion in it and want to run other "simple

How to pass response assertion result to other controller

2011-01-29 Thread rkedari
HI, How to control execution of a sampler setting criteria like if the assertion in other sampler is passed then only execute it. I want do some requests using "once only controller" having response assertion in it and want to run other "simple controller" only if the as

Re: Setting up Response Assertion for Cookie

2010-11-02 Thread Deepak Shetty
host1jvm1 regards deepak On Mon, Nov 1, 2010 at 9:52 PM, gubbu gubbu wrote: > I read the docs but couldnt find any example . How can I setup a response > assertion for "response headers" ? For example I want to compare the > "host1jvm1"following header to t

Setting up Response Assertion for Cookie

2010-11-01 Thread gubbu gubbu
I read the docs but couldnt find any example . How can I setup a response assertion for "response headers" ? For example I want to compare the "host1jvm1"following header to the request . Set-Cookie: JSESSIONID=4AADDA33814B25F63C1D11F1901DF50F.host1jvm1; Path=/; Secure

Re: Response assertion with json format

2010-01-28 Thread sebb
On 28/01/2010, Luca Borz wrote: > Hi, > > i keep the same problem on plugin Jakarta for regular expression test > (?s)Apple,.+?Pie > Works fine, but in Jmeter doesn't work. Seems that in Jmeter the carriage > return is not recognized. Unlikely; JMeter uses ORO. > Anyone have any cue for solv

Re: Response assertion with json format

2010-01-28 Thread Luca Borz
Hi, i keep the same problem on plugin Jakarta for regular expression test (?s)Apple,.+?Pie Works fine, but in Jmeter doesn't work. Seems that in Jmeter the carriage return is not recognized. Anyone have any cue for solve this problem? I think about it, and I have two question: - it's possible t

Re: Response assertion with json format

2010-01-27 Thread Deepak Shetty
The assertion is a child of the sampler that returns this repsonse correct (not of a higher element like Thread Group or some controller)? 2010/1/27 Luca Borz > Hi, > > in the ORO plugin work fine both of expression. In my JMeter they don't > work at all. I will check once again my data tomorro

Re: Response assertion with json format

2010-01-27 Thread Luca Borz
Hi, in the ORO plugin work fine both of expression. In my JMeter they don't work at all. I will check once again my data tomorrow. Thanks for all. -- Opera21 *Luca Borz* Junior Programmer *Opera21 Nordest S.r.l.* *Rovereto (TN)* 38068 - Via F. Zeni, 8 - Tel. 02.69374.426 - Fax 0464.44336

Re: Response assertion with json format

2010-01-27 Thread sebb
On 27/01/2010, Luca Borz wrote: > Hi Carl, > > my problem is multi-line. > For example, I have the response like this > > {"result": > {"position":1, > "items":[{"type": > > And I look for: > > "position":1, > "items": > > > I use this expressions: > > - "position":1

Re: Response assertion with json format

2010-01-27 Thread Luca Borz
Hi Carl, my problem is multi-line. For example, I have the response like this {"result": {"position":1, "items":[{"type": And I look for: "position":1, "items": I use this expressions: - "position":1,\n"items": - ^"position":1,$^"items":$ - ^"position":1,$\n^"items":

Re: Response assertion with json format

2010-01-27 Thread Carl Shaulis
Hi Luca, Here is a snippet of the JSON response I get: {"result":{"position":1,"items":[{"type": Make sure for your test plan you have the User Defined variable Accept-Encoding: application/json I use a response assertion and I look for the pattern &q

Re: Response assertion with json format

2010-01-27 Thread Luca Borz
Thanks seeb the problems are two: - I must use Text code option as you said; - I use the wrong escaping for new line inside the pattern expression; -- Opera21 *Luca Borz* Junior Programmer *Opera21 Nordest S.r.l.* *Rovereto (TN)* 38068 - Via F. Zeni, 8 - Tel. 02.69374.426 - Fax 0464.443360 *Vim

Re: Response assertion with json format

2010-01-27 Thread sebb
On 27/01/2010, Luca Borz wrote: > Hi, > > i'm a newbie of JMeter. I'm using it for testing my website. I'm creating > test for service of my site. > I invoke correctly it with a Http Request with some parameters. The body > response use Json as format. I crea

Response assertion with json format

2010-01-27 Thread Luca Borz
Hi, i'm a newbie of JMeter. I'm using it for testing my website. I'm creating test for service of my site. I invoke correctly it with a Http Request with some parameters. The body response use Json as format. I create a Response assertion with this option: - main samples only;

Re: Parameters and Response Assertion

2009-09-24 Thread sebb
.gov.ph> wrote: > > > Good day, > > > > I am sorry that I cannot figure out how to write the syntax/ what reg ex to > > put on the Response Assertion of the things I need. > > > > Here is the situation, I am reading things from a CSV using

Re: Parameters and Response Assertion

2009-09-23 Thread Deepak Shetty
which can help you try out your regex's regards deepak On Wed, Sep 23, 2009 at 7:52 PM, Mark Stephen S. Florencio < stephenfloren...@asti.dost.gov.ph> wrote: > Good day, > > I am sorry that I cannot figure out how to write the syntax/ what reg ex to > put on the Response A

Parameters and Response Assertion

2009-09-23 Thread Mark Stephen S. Florencio
Good day, I am sorry that I cannot figure out how to write the syntax/ what reg ex to put on the Response Assertion of the things I need. Here is the situation, I am reading things from a CSV using the CSV Data Set Config. I will be using them in a sampler to update things in the database

Re: how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-17 Thread Deepak Shetty
an Speteanu < > asp.ad...@gmail.com > > > >wrote: > > > >> > > > >> > > > >> > Hi, > > > >> > > > > >> > For this request: > > > >> > loginRequest?username=x&userpass=y&a

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
>> You are not answering my question. You are confusing me >> >> with >> >> >> >> people >> >> >> >> >> who >> >> >> >> >> >> do >> >> >> >> >> >> not r

Re: JDBC Response Assertion

2009-08-17 Thread Noel O'Brien
;> >> >> > >> >> >> >> >> I have read all the help files and I did not find an > >> answer > >> >> to > >> >> >> my > >> >> >> >> >> question! > >&g

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
>> >> >> >> sebb-2-2 wrote: >> >> >> >> > >> >> >> >> > On 17/08/2009, Andrey Simonov wrote: >> >> >> >> >> >> >> >> >> >> Yes, but please can you give me an example? >> >> &

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
> >> >> >> how this assertion works, of course. >> >> >> >> >> >> >> >> >> >> I need a sample BSF/BSH script that evaluates a variable >> and >> >> >> send a >> >> >>

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
ote: >>> >> >> >> >> >>> >> >> >> >> Yes, but please can you give me an example? >>> >> >> >> >> >>> >> >> >> >> I have spent half a day of Friday

Re: JDBC Response Assertion

2009-08-17 Thread sebb
>> >> > > >> >> >> > As I wrote before, Listeners only process samples and > >> Assertions; > >> >> I > >> >> >> > already explained how to generate a sample and how to use BSH > >> to > >> >> >> > generate an Assertion: > >> >> >&

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
sebb-2-2 wrote: >> >> >> >> > >> >> >> >> > On 17/08/2009, Andrey Simonov wrote: >> >> >> >> >> >> >> >> >> >> Yes, but please can you give me a

Re: JDBC Response Assertion

2009-08-17 Thread sebb
ay of Friday trying to do something > >> with > >> >> >> variables > >> >> >> >> in > >> >> >> >> BSF and BSH assertions and listeners and no luck! > >> >&g

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
and listeners and no luck! >> >> >> >> >> >> >> >> All I need to do is to be able to evaluate variable and send >> >> some >> >> >> >> message to >> >> >> >> some listener :) >> >> >> >>

Re: JDBC Response Assertion

2009-08-17 Thread sebb
eanShell_Assertion > >> >> > > >> >> > It includes sample code. > >> >> > > >> >> >> > >> >> >> sebb-2-2 wrote: > >> >> >> > > >> >> >>

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
l#BeanShell_Assertion >> >> > >> >> > It includes sample code. >> >> > >> >> >> >> >> >> sebb-2-2 wrote: >> >> >> > >> >> >> > On 17/08/2009, Andrey Simonov wro

Re: JDBC Response Assertion

2009-08-17 Thread sebb
8/2009, Andrey Simonov wrote: > >> >> >> > >> >> >> That's not what I meant. I meant is there an assertion that can > >> >> >> conveniently > >> >> >> parse SQL results? >

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
> >> parse SQL results? >> >> >> >> >> >> E.g. my results are: table headers and 4 values. How do I check >> that >> >> >> e.g. >> >> >> "Average" is < 30? >> >> > >>

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
ts are: table headers and 4 values. How do I check >> that >> >> >> e.g. >> >> >> "Average" is < 30? >> >> > >> >> > JDBC can save results as variables. >> >> > >> >> &g

Re: JDBC Response Assertion

2009-08-17 Thread sebb
can save results as variables. > >> > > >> > The Size Assertion is similar to what you want, unfortunately it only > >> > checks size... perhaps that should be extended to check a variable. > >> > > >> > Meanwhile, use a BSF or BSH Assertion to chec

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
gt; >> "Average" is < 30? >> > >> > JDBC can save results as variables. >> > >> > The Size Assertion is similar to what you want, unfortunately it only >> > checks size... perhaps that should be extended to check

Re: JDBC Response Assertion

2009-08-17 Thread sebb
iable. > > > > Meanwhile, use a BSF or BSH Assertion to check the variable. > > > > > >> > >> sebb-2-2 wrote: > >> > > >> > On 17/08/2009, Andrey Simonov wrote: > >> >> > >> >> Hi! > >>

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
r BSH Assertion to check the variable. > > >> >> sebb-2-2 wrote: >> > >> > On 17/08/2009, Andrey Simonov wrote: >> >> >> >> Hi! >> >> >> >> Is there any sort of response assertion for JDBC requests? >&

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
r BSH Assertion to check the variable. > > >> >> sebb-2-2 wrote: >> > >> > On 17/08/2009, Andrey Simonov wrote: >> >> >> >> Hi! >> >> >> >> Is there any sort of response assertion for JDBC requests? >&

Re: JDBC Response Assertion

2009-08-17 Thread sebb
nov wrote: > >> > >> Hi! > >> > >> Is there any sort of response assertion for JDBC requests? > > > > All the Assertions can be used with JDBC. > > > >> Or it's RegExp Extractor only? > >> > >

Re: JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
gt; Hi! >> >> Is there any sort of response assertion for JDBC requests? > > All the Assertions can be used with JDBC. > >> Or it's RegExp Extractor only? >> >> If there is a way (maybe via BSF request), please provide an example :) >> &g

Re: JDBC Response Assertion

2009-08-17 Thread sebb
On 17/08/2009, Andrey Simonov wrote: > > Hi! > > Is there any sort of response assertion for JDBC requests? All the Assertions can be used with JDBC. > Or it's RegExp Extractor only? > > If there is a way (maybe via BSF request), please provide an example :) >

Re: how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-17 Thread sebb
t; >> > For this request: > > >> > loginRequest?username=x&userpass=y&ticket=z&_event=submit > > >> > In the result tree I get: > > >> > -home page > > >> > |- loginRequest? all parameters as above >

JDBC Response Assertion

2009-08-17 Thread Andrey Simonov
Hi! Is there any sort of response assertion for JDBC requests? Or it's RegExp Extractor only? If there is a way (maybe via BSF request), please provide an example :) -- View this message in context: http://www.nabble.com/JDBC-Response-Assertion-tp25002488p25002488.html Sent from the J

Re: how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-16 Thread Deepak Shetty
ers > >> > |- redirect1 > >> >-> the cookies above were intrepreted and a new unique value is > >> > generated to validate the login (this is done automatically) > >> >-> in the Header of the response Set-Cookie: JSESSIONID=.+; > >> &g

Re: how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-16 Thread Adrian Speteanu
>   |- redirect1 >>  >    -> the cookies above were intrepreted and a new unique value is >>  > generated to validate the login (this is done automatically) >>  >    -> in the Header of the response Set-Cookie: JSESSIONID=.+; >>  > path=/blabla/ is rec

Re: how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-13 Thread sebb
> generated to validate the login (this is done automatically) > >-> in the Header of the response Set-Cookie: JSESSIONID=.+; > > path=/blabla/ is received > > |- redirect2 > > > > I want to add to the sample request the following > > |-> Response As

Re: how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-13 Thread Deepak Shetty
labla/ is received > |- redirect2 > > I want to add to the sample request the following > |-> Response Assertion (options main sample only, main sample and > sub-samples or sub-samples only) > - checkbox in Response Headers > - look for: Set-Cookie: JSESSIONID=.+; &

how to use the response assertion to find something in only one sub-sample (vers.2.3.4)?

2009-08-13 Thread Adrian Speteanu
ed to validate the login (this is done automatically) -> in the Header of the response Set-Cookie: JSESSIONID=.+; path=/blabla/ is received |- redirect2 I want to add to the sample request the following |-> Response Assertion (options main sample only, main sample and sub-sam

Re: how to escape special characters in response assertion

2009-05-21 Thread Sree ...
ipts in JMeter, one of them contains Response > > assertion > > but my response assertion fails everytime if it contains special > characters > > say / ' : etc.. > > > > I need to put some escape character for each of the special characters > but > > i

Re: how to escape special characters in response assertion

2009-05-21 Thread Deepak Shetty
hi use \ Basically the same one you would use in a Java regex. regards deepak On Thu, May 21, 2009 at 7:51 AM, Sree ... wrote: > Hi > I was executing some scripts in JMeter, one of them contains Response > assertion > but my response assertion fails everytime if it contains specia

how to escape special characters in response assertion

2009-05-21 Thread Sree ...
Hi I was executing some scripts in JMeter, one of them contains Response assertion but my response assertion fails everytime if it contains special characters say / ' : etc.. I need to put some escape character for each of the special characters but i dont know what it should be Can so

Re: Response assertion after if

2009-03-30 Thread sebb
On 30/03/2009, Noel O'Brien wrote: > It's an issue of scope; see http://jakarta.apache.org/jmeter/usermanual/build- > test-plan.html section 3.6 > > Response assertion will only be checked if it's a *direct* child of the > sampler, is a sibling test element or in

Re: Response assertion after if

2009-03-30 Thread Noel O'Brien
ant to check those contents for some > strings in them. > > > > thanks > > > > Salman > > > > From: Noel O'Brien [mailto:nobr...@newbay.com] > Sent: Monday, March 30, 2009 5:28 PM > To: jmeter-user@jakarta.apache.org > Cc: Salman Ghaffar > S

RE: Response assertion after if

2009-03-30 Thread Salman Ghaffar
To: jmeter-user@jakarta.apache.org Cc: Salman Ghaffar Subject: Re: Response assertion after if What are you checking with the If Controller? Regards, Noel On Monday 30 March 2009 17:13:43 Salman Ghaffar wrote: > But than, if I want to check responses based on condition(if controller) > b

Re: Response assertion after if

2009-03-30 Thread Noel O'Brien
ys be child of If controller ? > > > -Original Message- > From: Noel O'Brien [mailto:nobr...@newbay.com] > Sent: Monday, March 30, 2009 4:58 PM > To: JMeter Users List > Subject: Re: Response assertion after if > > It's an issue of scope; see > http://jak

RE: Response assertion after if

2009-03-30 Thread Salman Ghaffar
4:58 PM To: JMeter Users List Subject: Re: Response assertion after if It's an issue of scope; see http://jakarta.apache.org/jmeter/usermanual/build- test-plan.html section 3.6 Response assertion will only be checked if it's a *direct* child of the sampler, is a sibling test element or in

Re: Response assertion after if

2009-03-30 Thread Noel O'Brien
It's an issue of scope; see http://jakarta.apache.org/jmeter/usermanual/build- test-plan.html section 3.6 Response assertion will only be checked if it's a *direct* child of the sampler, is a sibling test element or in a parent controller Regards, Noel On Monday 30 March 2009 16:53

Response assertion after if

2009-03-30 Thread Salman Ghaffar
I have following layout --HTTP Request | --IF Controller | --Reponse Assertion. This response assertion is not being checked in either case of the if condition pass or fail, is that a bug in 2.3.1 ? Thanks salman

RE: HTTP response assertion apparantly not working

2009-03-05 Thread Fitzpatrick, Adrian
, think your assertion might be the wrong way round - i.e. "not" shouldn't be ticked if you don't want 301 to be an error -Original Message- From: wicky_boy [mailto:wicky@gmail.com] Sent: 05 March 2009 13:02 To: jmeter-user@jakarta.a

HTTP response assertion apparantly not working

2009-03-05 Thread wicky_boy
Hi, Need a sanity check. I have an HTTP request which I don't want to appear as an error in my test script. The returned code and message is '301' and 'Moved Permanently' respectively. I have setup the response assertion: Response Field to Test = Response Code

RE: response assertion under transaction controller

2009-01-06 Thread Steve Kapinos
Nevermind.. I see the text block in the manual now about nesting a simple controller -Original Message- From: Steve Kapinos [mailto:steve.kapi...@tandberg.com] Sent: Tuesday, January 06, 2009 2:33 PM To: JMeter Users List Subject: response assertion under transaction controller My test

response assertion under transaction controller

2009-01-06 Thread Steve Kapinos
| - http sampler | - http sampler | - duration assertion I wish to put a response assertion as to be applied to each of the http samplers. Rather then put it as a child of each sampler, I put it at the same spot the duration assertion is because it's scope apples to all the http samplers a

Re: Response Assertion applied to Controller - issue with images

2008-05-27 Thread sebb
On 24/05/2008, Fitzpatrick, Adrian <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a large number of JMeter thread groups that step through 10 - 20 pages > in our application. I want to add a general assertion for our error page > (looking for the text "Error"), such that the sample is > flagged

Response Assertion applied to Controller - issue with images

2008-05-24 Thread Fitzpatrick, Adrian
Hi, I have a large number of JMeter thread groups that step through 10 - 20 pages in our application. I want to add a general assertion for our error page (looking for the text "Error"), such that the sample is flagged as a failure if the error page shows up when requesting any page. Rather than

Re: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-12 Thread Michael Giroux
The referenced doc indicates that the > These can be used anywhere within the expression, e.g. > (?i)apple(?-i) Pie - matches "ApPLe Pie", but not "ApPLe pIe" If I place the (?s) at end of pattern I get the failure shown below. Assertion failure message : Bad test configuration org.apache.oro.tex

Re: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-10 Thread sebb
gt; > > > > http://www.regular-expressions.info/dot.html > > > > > > Jmeter uses perl5 type regex I believe.. This guide talks about single > > > line mode and the differences in what matches what, etc. > > > > > > -Steve > >

Re: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-09 Thread sebb
ut single > > line mode and the differences in what matches what, etc. > > > > -Steve > > > > -Original Message----- > > From: Michael Giroux [mailto:[EMAIL PROTECTED] > > Sent: Friday, May 09, 2008 8:51 AM > > To: JMeter Users List > &

Re: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-09 Thread Michael Giroux
Message- > From: Michael Giroux [mailto:[EMAIL PROTECTED] > Sent: Friday, May 09, 2008 8:51 AM > To: JMeter Users List > Subject: Re: How to specify single line qualifier (?s) with a response > assertion pattern? > > In fact, I posted my question *after* reading the us

RE: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-09 Thread Steve Kapinos
09, 2008 8:51 AM To: JMeter Users List Subject: Re: How to specify single line qualifier (?s) with a response assertion pattern? In fact, I posted my question *after* reading the user manual and trying to put the specifier in my pattern without success. The document could use an example. My

Re: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-09 Thread Michael Giroux
In fact, I posted my question *after* reading the user manual and trying to put the specifier in my pattern without success. The document could use an example. My pattern is some text.*some more text This fails because .* does not match new lines. I tried some text.*(?s)some more text This fai

Re: How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-08 Thread sebb
http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html#line_mode On 08/05/2008, Michael Giroux <[EMAIL PROTECTED]> wrote: > my current pattern is "some text.*heading +value" (without the quotes) > > I wish the .* to match new-lines, so I have to specify the single line > modifier,

How to specify single line qualifier (?s) with a response assertion pattern?

2008-05-08 Thread Michael Giroux
my current pattern is "some text.*heading +value" (without the quotes) I wish the .* to match new-lines, so I have to specify the single line modifier, but I'm not able to figure out how to do that exactly. Thanks Michael Giroux --

Re: Multiple assertions in a single response assertion page

2008-04-15 Thread sebb
On 16/04/2008, Siva Pannier <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I had kept a common response assertion page to 5 different Http sampler > requests. I want to evaluate the responses from those 5 requests to > check, whether they have any of the be

Multiple assertions in a single response assertion page

2008-04-15 Thread Siva Pannier
Hi All, I had kept a common response assertion page to 5 different Http sampler requests. I want to evaluate the responses from those 5 requests to check, whether they have any of the below tags in their XML response, Either S Or Success How can I implement this in a better

Re: Response Assertion of only part of response?

2008-04-11 Thread sebb
;</NewDataSet> lt> > > and I just want to check that > > Town>Eltham</Town> > > > > Is text or not numeric Not numeric: Town>\D+</Town> Not sure what you mean by text - this email is text but it contains numbers. > > Also would like t

  1   2   3   >