You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Selvam T, Palani" <Pa...@altisource.com> on 2011/07/11 16:47:37 UTC

Implementing If Logic

Hi All,

 

User session is locked once each user is processed. I want to implement
like below:

 

1.       See the response of 3rd URL 

2.       If it goes to unlock, execute set of requests for unlock

 

How can I do this..?

 

Thanks & Regards,

Palani Selvam

 




*******************************************************************************************************

This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission. 


Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system.  Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.

*******************************************************************************************************


Re: Implementing If Logic

Posted by Bruce Ide <fl...@gmail.com>.
Identify the part of the html response you're interested in and use the
XPath extractor to extract it to a variable:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#XPath_Extractor

And then test the variable with an if controller and execute the appropriate
code depending on what the string in the variable is:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#If_Controller

-- 
Bruce Ide
FlyingRhenquest@gmail.com