On 05/07/07, aidy lewis <[EMAIL PROTECTED]> wrote:
Hi,

I am having problems making the RE extractor to work.

The Test Plan looks like this

HTTP Request
www.google.co.uk

BeanShell PostProcessor   //sebb informs us there is a bug in the
postprocessor and works like
print("${test}");         //a pre-processor

No, I said that the post-processors run in reverse order.

Regular Expression Extractor
ref name:  test
RegEx:  (.*)
Template $0$

Do you really want to match everything?

Match No 1
Default Value: "Token Not found".

No need for enclosing quotes.

The returned result = ${test}


The problem is the print command:

print("${test}");

The variable contains quotes, and these mess up the Java syntax.

Check the log and you will see some errors.

If a test does not behave as you expect, please always check the log for errors.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to