You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Baudouin <ba...@ext.ec.europa.eu> on 2009/03/09 14:09:59 UTC

Problem using jmeter failureproperty from ant

In one of my jmeter tests, I have a request which returns a 403.
Within the jMeter GUI interface I checked the "Ignore Status" check box.  As
a consequence, the result is shown in red in the "View results tree" object
but the test is still ok because of the "Ignore Status" being checked.
Now, I run the same test from ant by calling the jmeter task together with
the "failureproperty". In this case, it seems that the 'Ignore Status" is
not being taken into account.  The result is that my cruise control calling
the jmeter tests receives the "failureporperty" set to true which is not
what I would like to receive.

Any idea of what I could?
-- 
View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22412774.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem using jmeter failureproperty from ant

Posted by sebb <se...@gmail.com>.
On 21/08/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>
>  I am coming back to my previous message.
>  I am running a test where the result of an http request is a 403.
>  I have put the response assertion to Ignore status.
>  As a consequence, the http request is considered as a success. Just what I
>  wanted.
>  But when I call the jmeter test from ant, the "failureproperty" is set to
>  true, which is not what I want.

That sounds like an issue with the JMeter Ant task, which is a 3rd party add-on.

>  Here is the result of my jmeter test but again it is from ant that I am
>  having a problem and only when I use the ignore status
>
>  <?xml version="1.0" encoding="UTF-8"?>
>  <testResults version="1.2">
>  <httpSample t="3120" lt="0" ts="1250857355452" s="true" lb="Get the Admin
>  zone" rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="27160">
>   <assertionResult>
>     <name>Login page response</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
>   <httpSample t="2946" lt="2944" ts="1250857355452" s="true"
>  lb="https://ecasd.cc.cec.eu.int:7002/ecas-test/protected/admin" rc="303"
>  rm="ECAS Authentication Required" tn="TC-ECASTEST-005 1-1" dt="text"
>  by="556"/>
>   <httpSample t="166" lt="129" ts="1250857358406" s="true"
>  lb="https://ecasd.cc.cec.eu.int:7002/cas/login?loginRequestId=ECAS_LR-1-XXeQLYsI9rJvTQrx5ZaH2j8KsUJ4WZgCVRX6FGGisN8-GluZLzzfxbHXsUHvzYml9SW-yztNlkkjnN8gA5YPv3aLBO"
>  rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="26048"/>
>  </httpSample>
>  <httpSample t="489" lt="485" ts="1250857358612" s="true" lb="Get wayf page"
>  rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="15645">
>   <assertionResult>
>     <name>Response Assertion</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
>  </httpSample>
>  <httpSample t="363" lt="0" ts="1250857359104" s="true" lb="Post domain"
>  rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="24622">
>   <assertionResult>
>     <name>Response Assertion</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
>   <httpSample t="132" lt="132" ts="1250857359104" s="true"
>  lb="https://ecasd.cc.cec.eu.int:7002/cas/wayf.do" rc="302" rm="Moved
>  Temporarily" tn="TC-ECASTEST-005 1-1" dt="text" by="511"/>
>   <httpSample t="231" lt="197" ts="1250857359236" s="true"
>  lb="https://ecasd.cc.cec.eu.int:7002/cas/login?loginRequestId=ECAS_LR-1-XXeQLYsI9rJvTQrx5ZaH2j8KsUJ4WZgCVRX6FGGisN8-GluZLzzfxbHXsUHvzYml9SW-yztNlkkjnN8gA5YPv3aLBO"
>  rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="23600"/>
>  </httpSample>
>  <httpSample t="9321" lt="0" ts="1250857359473" s="true" lb="Post user
>  credentials" rc="403" rm="Forbidden" tn="TC-ECASTEST-005 1-1" dt="text"
>  by="16996">
>   <assertionResult>
>     <name>Login page response</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
>   <assertionResult>
>     <name>Login page response</name>
>     <failure>false</failure>
>     <error>false</error>
>   </assertionResult>
>   <httpSample t="2582" lt="2582" ts="1250857359473" s="true"
>  lb="https://ecasd.cc.cec.eu.int:7002/cas/login" rc="303" rm="See Other"
>  tn="TC-ECASTEST-005 1-1" dt="text" by="432"/>
>   <httpSample t="6738" lt="6700" ts="1250857362056" s="false"
>  lb="https://ecasd.cc.cec.eu.int:7002/ecas-test/protected/admin?ticket=ECAS_ST-0-nn8IXmNVB6yct06S2kcuiCwQ6sln47zUECq0MA3HiuU-GluZLzzfxbHXsUHvzYml9SW-g65QgpVMZLrUWTGzWRQp8y"
>  rc="403" rm="Forbidden" tn="TC-ECASTEST-005 1-1" dt="text" by="16132"/>
>  </httpSample>
>
>  </testResults>
>
>
>
>
>  Baudouin wrote:
>  >
>  > In one of my jmeter tests, I have a request which returns a 403.
>  > Within the jMeter GUI interface I checked the "Ignore Status" check box.
>  > As a consequence, the result is shown in red in the "View results tree"
>  > object but the test is still ok because of the "Ignore Status" being
>  > checked.
>  > Now, I run the same test from ant by calling the jmeter task together with
>  > the "failureproperty". In this case, it seems that the "Ignore Status" is
>  > not being taken into account.  The result is that my cruise control
>  > calling the jmeter tests receives the "failureporperty" set to true which
>
> > is not what I would like to receive.  I would like the same result as the
>  > GUI part which says that the result of the test is ok.
>  >
>  > Any idea of what I could do?
>  >
>
>
>  --
>  View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p25081699.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem using jmeter failureproperty from ant

Posted by Baudouin <ba...@ext.ec.europa.eu>.
I am coming back to my previous message.
I am running a test where the result of an http request is a 403.
I have put the response assertion to Ignore status.
As a consequence, the http request is considered as a success. Just what I
wanted.
But when I call the jmeter test from ant, the "failureproperty" is set to
true, which is not what I want.

Here is the result of my jmeter test but again it is from ant that I am
having a problem and only when I use the ignore status 

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<httpSample t="3120" lt="0" ts="1250857355452" s="true" lb="Get the Admin
zone" rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="27160">
  <assertionResult>
    <name>Login page response</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
  <httpSample t="2946" lt="2944" ts="1250857355452" s="true"
lb="https://ecasd.cc.cec.eu.int:7002/ecas-test/protected/admin" rc="303"
rm="ECAS Authentication Required" tn="TC-ECASTEST-005 1-1" dt="text"
by="556"/>
  <httpSample t="166" lt="129" ts="1250857358406" s="true"
lb="https://ecasd.cc.cec.eu.int:7002/cas/login?loginRequestId=ECAS_LR-1-XXeQLYsI9rJvTQrx5ZaH2j8KsUJ4WZgCVRX6FGGisN8-GluZLzzfxbHXsUHvzYml9SW-yztNlkkjnN8gA5YPv3aLBO"
rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="26048"/>
</httpSample>
<httpSample t="489" lt="485" ts="1250857358612" s="true" lb="Get wayf page"
rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="15645">
  <assertionResult>
    <name>Response Assertion</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
</httpSample>
<httpSample t="363" lt="0" ts="1250857359104" s="true" lb="Post domain"
rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="24622">
  <assertionResult>
    <name>Response Assertion</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
  <httpSample t="132" lt="132" ts="1250857359104" s="true"
lb="https://ecasd.cc.cec.eu.int:7002/cas/wayf.do" rc="302" rm="Moved
Temporarily" tn="TC-ECASTEST-005 1-1" dt="text" by="511"/>
  <httpSample t="231" lt="197" ts="1250857359236" s="true"
lb="https://ecasd.cc.cec.eu.int:7002/cas/login?loginRequestId=ECAS_LR-1-XXeQLYsI9rJvTQrx5ZaH2j8KsUJ4WZgCVRX6FGGisN8-GluZLzzfxbHXsUHvzYml9SW-yztNlkkjnN8gA5YPv3aLBO"
rc="200" rm="OK" tn="TC-ECASTEST-005 1-1" dt="text" by="23600"/>
</httpSample>
<httpSample t="9321" lt="0" ts="1250857359473" s="true" lb="Post user
credentials" rc="403" rm="Forbidden" tn="TC-ECASTEST-005 1-1" dt="text"
by="16996">
  <assertionResult>
    <name>Login page response</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
  <assertionResult>
    <name>Login page response</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
  <httpSample t="2582" lt="2582" ts="1250857359473" s="true"
lb="https://ecasd.cc.cec.eu.int:7002/cas/login" rc="303" rm="See Other"
tn="TC-ECASTEST-005 1-1" dt="text" by="432"/>
  <httpSample t="6738" lt="6700" ts="1250857362056" s="false"
lb="https://ecasd.cc.cec.eu.int:7002/ecas-test/protected/admin?ticket=ECAS_ST-0-nn8IXmNVB6yct06S2kcuiCwQ6sln47zUECq0MA3HiuU-GluZLzzfxbHXsUHvzYml9SW-g65QgpVMZLrUWTGzWRQp8y"
rc="403" rm="Forbidden" tn="TC-ECASTEST-005 1-1" dt="text" by="16132"/>
</httpSample>

</testResults>



Baudouin wrote:
> 
> In one of my jmeter tests, I have a request which returns a 403.
> Within the jMeter GUI interface I checked the "Ignore Status" check box. 
> As a consequence, the result is shown in red in the "View results tree"
> object but the test is still ok because of the "Ignore Status" being
> checked.
> Now, I run the same test from ant by calling the jmeter task together with
> the "failureproperty". In this case, it seems that the "Ignore Status" is
> not being taken into account.  The result is that my cruise control
> calling the jmeter tests receives the "failureporperty" set to true which
> is not what I would like to receive.  I would like the same result as the
> GUI part which says that the result of the test is ok.
> 
> Any idea of what I could do?
> 

-- 
View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p25081699.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem using jmeter failureproperty from ant

Posted by Baudouin <ba...@ext.ec.europa.eu>.
I just put my HTTP Request on "Redirect Auromatically" instead of "Follow
Redirects" and now it works fine. Even when calling it from ant.
Thank you for your help.

sebb-2-2 wrote:
> 
> On 10/03/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>>
>>  Thank you for helping me.
>>  I am using JMeter 2.3.2 r665936
>>  Here are some more details about my test:
>>  I am sending a post to test the login of a user.
>>  Amongst others, the user and the password are send as parameter with the
>>  request.
>>  An extra parameter is send holding the service URL. So if the login is
>>  successful, the response will be the page mentioned by the service URL.
>>
>>  I have a jMeter HTTP Request for the post (including the parameters).
>>  On that HTTP request, I have attached a Response Assertion. I have
>> flagged
>>  this assertion as "Ignore Status".
>>
>>  The way the login works is as follows:
>>     1. the login url is send with the parameters as explained before.
>>     2. Upon a successful login, a page 303 is send with the url that was
>>  given as parameter in the service parameter.
>>     3. the service is send as a result of the 303
>>     4. After a few checks, a 403 is received because the user is not
>>  authorized to see this page.
>>
>>  What I see in the View results tree is the following:
>>  A main entry with a green triangle with the result of the post. AND two
>>  subentries
>>  one with a green triangle corresponding to the 303 response
>>  and one with a red triangle corresponding to the 403
>>
>>  So yes, the main entry is "green" even though the second entry is "red". 
>> So
>>  that's fine with me.
> 
> But this means that at least one sample in the test failed.
> 
>>  But my problem comes when I call it from ant with the failureproperty.
>>  Apparently, the failureproperty is set to true even though the "Ignore
>>  Status" is flagged. And if I disable this test, and make the other 72
>> tests
>>  run, it works fine. So, it really comes from that specific test.
> 
> As far as I can tell, the Ant property is working OK. It checks to see
> if any samples have failed, and sets the property if so.
> 
> Your description indicates that there is at least one failed sample in the
> test.
> 
>>  Regards,
>>  Baudouin
>>
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > On 09/03/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>>  >>
>>  >>  In one of my jmeter tests, I have a request which returns a 403.
>>  >>  Within the jMeter GUI interface I checked the "Ignore Status" check
>> box.
>>  >> As
>>  >>  a consequence, the result is shown in red in the "View results tree"
>>  >> object
>>  >>  but the test is still ok because of the "Ignore Status" being
>> checked.
>>  >
>>  > That's not how JMeter 2.3.2 behaves for me.
>>  >
>>  > If I add a Response Assertion with "Ignore Status" checked, then the
>>  > sample is treated as successful.
>>  >
>>  > Which version of JMeter are you using?
>>  >
>>  >>  Now, I run the same test from ant by calling the jmeter task
>> together
>>  >> with
>>  >>  the "failureproperty". In this case, it seems that the 'Ignore
>> Status"
>>  >> is
>>  >>  not being taken into account.  The result is that my cruise control
>>  >> calling
>>  >>  the jmeter tests receives the "failureporperty" set to true which is
>> not
>>  >>  what I would like to receive.
>>  >>
>>  >>  Any idea of what I could?
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22412774.html
>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22430949.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22434290.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem using jmeter failureproperty from ant

Posted by sebb <se...@gmail.com>.
On 10/03/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>
>  Thank you for helping me.
>  I am using JMeter 2.3.2 r665936
>  Here are some more details about my test:
>  I am sending a post to test the login of a user.
>  Amongst others, the user and the password are send as parameter with the
>  request.
>  An extra parameter is send holding the service URL. So if the login is
>  successful, the response will be the page mentioned by the service URL.
>
>  I have a jMeter HTTP Request for the post (including the parameters).
>  On that HTTP request, I have attached a Response Assertion. I have flagged
>  this assertion as "Ignore Status".
>
>  The way the login works is as follows:
>     1. the login url is send with the parameters as explained before.
>     2. Upon a successful login, a page 303 is send with the url that was
>  given as parameter in the service parameter.
>     3. the service is send as a result of the 303
>     4. After a few checks, a 403 is received because the user is not
>  authorized to see this page.
>
>  What I see in the View results tree is the following:
>  A main entry with a green triangle with the result of the post. AND two
>  subentries
>  one with a green triangle corresponding to the 303 response
>  and one with a red triangle corresponding to the 403
>
>  So yes, the main entry is "green" even though the second entry is "red".  So
>  that's fine with me.

But this means that at least one sample in the test failed.

>  But my problem comes when I call it from ant with the failureproperty.
>  Apparently, the failureproperty is set to true even though the "Ignore
>  Status" is flagged. And if I disable this test, and make the other 72 tests
>  run, it works fine. So, it really comes from that specific test.

As far as I can tell, the Ant property is working OK. It checks to see
if any samples have failed, and sets the property if so.

Your description indicates that there is at least one failed sample in the test.

>  Regards,
>  Baudouin
>
>
>
>
>  sebb-2-2 wrote:
>  >
>  > On 09/03/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>  >>
>  >>  In one of my jmeter tests, I have a request which returns a 403.
>  >>  Within the jMeter GUI interface I checked the "Ignore Status" check box.
>  >> As
>  >>  a consequence, the result is shown in red in the "View results tree"
>  >> object
>  >>  but the test is still ok because of the "Ignore Status" being checked.
>  >
>  > That's not how JMeter 2.3.2 behaves for me.
>  >
>  > If I add a Response Assertion with "Ignore Status" checked, then the
>  > sample is treated as successful.
>  >
>  > Which version of JMeter are you using?
>  >
>  >>  Now, I run the same test from ant by calling the jmeter task together
>  >> with
>  >>  the "failureproperty". In this case, it seems that the 'Ignore Status"
>  >> is
>  >>  not being taken into account.  The result is that my cruise control
>  >> calling
>  >>  the jmeter tests receives the "failureporperty" set to true which is not
>  >>  what I would like to receive.
>  >>
>  >>  Any idea of what I could?
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22412774.html
>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22430949.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem using jmeter failureproperty from ant

Posted by Baudouin <ba...@ext.ec.europa.eu>.
Thank you for helping me.
I am using JMeter 2.3.2 r665936
Here are some more details about my test:
I am sending a post to test the login of a user.
Amongst others, the user and the password are send as parameter with the
request.
An extra parameter is send holding the service URL. So if the login is
successful, the response will be the page mentioned by the service URL.

I have a jMeter HTTP Request for the post (including the parameters).
On that HTTP request, I have attached a Response Assertion. I have flagged
this assertion as "Ignore Status".

The way the login works is as follows: 
    1. the login url is send with the parameters as explained before.
    2. Upon a successful login, a page 303 is send with the url that was
given as parameter in the service parameter.
    3. the service is send as a result of the 303
    4. After a few checks, a 403 is received because the user is not
authorized to see this page.

What I see in the View results tree is the following:
A main entry with a green triangle with the result of the post. AND two
subentries
one with a green triangle corresponding to the 303 response
and one with a red triangle corresponding to the 403 

So yes, the main entry is "green" even though the second entry is "red".  So
that's fine with me.

But my problem comes when I call it from ant with the failureproperty.
Apparently, the failureproperty is set to true even though the "Ignore
Status" is flagged. And if I disable this test, and make the other 72 tests
run, it works fine. So, it really comes from that specific test.

Regards,
Baudouin



sebb-2-2 wrote:
> 
> On 09/03/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>>
>>  In one of my jmeter tests, I have a request which returns a 403.
>>  Within the jMeter GUI interface I checked the "Ignore Status" check box. 
>> As
>>  a consequence, the result is shown in red in the "View results tree"
>> object
>>  but the test is still ok because of the "Ignore Status" being checked.
> 
> That's not how JMeter 2.3.2 behaves for me.
> 
> If I add a Response Assertion with "Ignore Status" checked, then the
> sample is treated as successful.
> 
> Which version of JMeter are you using?
> 
>>  Now, I run the same test from ant by calling the jmeter task together
>> with
>>  the "failureproperty". In this case, it seems that the 'Ignore Status"
>> is
>>  not being taken into account.  The result is that my cruise control
>> calling
>>  the jmeter tests receives the "failureporperty" set to true which is not
>>  what I would like to receive.
>>
>>  Any idea of what I could?
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22412774.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22430949.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Problem using jmeter failureproperty from ant

Posted by sebb <se...@gmail.com>.
On 09/03/2009, Baudouin <ba...@ext.ec.europa.eu> wrote:
>
>  In one of my jmeter tests, I have a request which returns a 403.
>  Within the jMeter GUI interface I checked the "Ignore Status" check box.  As
>  a consequence, the result is shown in red in the "View results tree" object
>  but the test is still ok because of the "Ignore Status" being checked.

That's not how JMeter 2.3.2 behaves for me.

If I add a Response Assertion with "Ignore Status" checked, then the
sample is treated as successful.

Which version of JMeter are you using?

>  Now, I run the same test from ant by calling the jmeter task together with
>  the "failureproperty". In this case, it seems that the 'Ignore Status" is
>  not being taken into account.  The result is that my cruise control calling
>  the jmeter tests receives the "failureporperty" set to true which is not
>  what I would like to receive.
>
>  Any idea of what I could?
>
> --
>  View this message in context: http://www.nabble.com/Problem-using-jmeter-failureproperty-from-ant-tp22412774p22412774.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org