jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Jmeter to stimulate Failover mechanism
Date Thu, 09 Aug 2007 11:35:14 GMT
Properties are not the same as variables, i.e. you cannot use
${property}, you need to use ${__P(property)}.

On 08/08/07, Lenin Basheer <LeninB@ibsplc.com> wrote:
>
> Hi All,
>
> I was able to proceed a bit further in stimulating a fail over mechanism.
> For this , I set the server ip and port as two separate properties using the
> _P() method.
> And i intend to reset the properties as part of a bean shell script with the
> help of a bean shell assertion.
>
> however i am not able to use the property variables (serverip and port ) as
> standard Jmeter variables, ${serverip} and ${serverport} else where in the
> test plan
> I initialize the property as part of the user defined variables in the Test
> Plan component.
>
> like,
> host        ${__P(serverip,n7043)}
> port        ${__P(serverport,7001)}
>
> please can some one shed some light on this.
>
> many thanks,
> Lenin
>
>
>
> ----- Forwarded by Lenin Basheer/IBS on 08/08/2007 08:24 PM -----
>
>
> Hi All,
>
> I am trying to use Jmeter to stimulate a failover mechanism where in during
> the test the server the test connects to fails and the requests get routed
> to the secondary server.
>
> Heres how my plan looks like.
>
> Test Plan         -
>                -        Http Request Defaults
>                -        Http Cookie Manager
>                -         Thread Group
>                        -        User Parameter(s)
>                        -        Random Order Controller
>                        -                                -- Throughput
> controller(s)
>
> How will  it be possible to stimulate a fail over scenario with the above
> test plan ? I expect the url to be modified by some criteria , say the first
> server response being a failrure.
>
> Thanks and regards,
> Lenin
>
>
>
> DISCLAIMER:
>
> "The information in this e-mail and any attachment is intended only for the
> person to whom it is addressed and may contain confidential and/or
> privileged material. If you have received this e-mail in error, kindly
> contact the sender and destroy all copies of the original communication. IBS
> makes no warranty, express or implied, nor guarantees the accuracy, adequacy
> or completeness of the information contained in this email or any attachment
> and is not liable for any errors, defects, omissions, viruses or for
> resultant loss or damage, if any, direct or indirect."
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
>
>
>
>
> DISCLAIMER:
>
> "The information in this e-mail and any attachment is intended only for the
> person to whom it is addressed and may contain confidential and/or
> privileged material. If you have received this e-mail in error, kindly
> contact the sender and destroy all copies of the original communication. IBS
> makes no warranty, express or implied, nor guarantees the accuracy, adequacy
> or completeness of the information contained in this email or any attachment
> and is not liable for any errors, defects, omissions, viruses or for
> resultant loss or damage, if any, direct or indirect."
>
>
>
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message