The JavaTest sampler in 1.9.1 is similar. The latest code in CVS includes two logging functions, __log() and __logn(). The first one returns the input string, the second returns the empty string, so: __log() can be used to wrap an existing parameter to a test element __logn() can be used to log a message without affecting the test element
S. ----- Original Message ----- From: "Craig Palmer" <[EMAIL PROTECTED]> To: "JMeter Users List" <[EMAIL PROTECTED]> Sent: Sunday, February 08, 2004 7:37 PM Subject: Re: ISt it possible to Log/Print/Display the outcome of a RegEx? I'm not sure if there is a native way of doing this but I did this by writing a customer java sampler. I defined a Java Sampler that could take three parameters and displayed their values to the Response Data. At each point that I wanted to know the value of a variable, then I put this sampler in with a View Results Tree listener. Craig. [EMAIL PROTECTED] wrote: > Hi, > > I need to know the outcome of RegEx. How can I print it to a Log or display > it? > > Thanks in advance > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Craig Palmer Mobile NZ: +64 21 755 254 Peace Software URL: http://www.peace.com Email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

