On Tuesday 07 February 2006 19:22, sebb wrote:
>
> I meant to add previously that it might be worth adding a new element
> to JMeter to handle this all automatically.
>
> Perhaps something along the lines of the HTML Link Parser
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTML_L
>ink_Parser
>
> This uses information from the previous sample to update the current
> request.
>

I did look at that previously.

> But it's not yet clear to me if it is possible to make it work in the
> general case.
>

Meanwhile, I've been playing with the Beanshell Desktop and the following 
works where viewstate is a variable containing the viewstate parameter text:

print(java.net.URLEncoder.encode(viewstate, "UTF-8"));

Remove the print(), wrap in a Beanshell function and use in conjunction with 
RegEx Extractor and I might have a general solution, although not necessarily 
the most efficient one.

-- 
Qmediastream http://qmediastream.com
design, commerce, hosting, streaming, multimedia

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

Reply via email to