Re: How can I extract cell data (content surrounded by ) from a in HTML response?

Mon, 16 Nov 2009 06:59:44 -0800

rosiere schrieb:
> Hello,
>
> I need to use JMeter to extract somes specifics lines (say, a line that
> contains:     313609133), then , some specific columns' data on these line, 
> (say, the 8th and  9th columns), just like the data surrounded by a red
> line, in attached image:
>
> and at last, store these data into a database.
>
> What iteration controllers and regular expressions should I use to extract
> them, and how can I use them?  and what should I use to store these data
> into a database?
>
> Thanks. http://old.nabble.com/file/p26371440/table.GIF table.GIF 
>
>
>
>
>
>
>   

Hi Rosiere,

I would recommend using a Regular Expression Extractor [1] as a Post
Processor on the http request. All you need is the right pattern for
your lines[2] (watch your response source code).
After this you have your values saved into variables and you could use a
JDBC Reqest[3] to save your values.

Hope this helps,
André

[1]
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor
[2] http://wiki.apache.org/jakarta-jmeter/RegularExpressions
[3]
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#JDBC_Request


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to