You would be better off using the __regexFunction, I think.  The GUI extractor 
component 
doesn't save all the groups - it only saves the templated result into the reference 
name variable.

so, you should expect your variable ${testitems} would equal 123366, but you wouldn't 
have 
access to the other groups.  Which is an interesting thing by itself - how to best 
provide the 
kind of flexibility you apparently need?

Anyway, you can do what you want with the __regexFunction, so I'd use that instead.

-Mike

On 11 Jun 2003 at 16:41, Andy Dailey wrote:

> For the developers out there, this is a great product.  I am very happy
> with it.  However, I am currently having an issue getting the Regular
> Expression Extractor to work correctly.  I have tried to get this to run
> for a while now to no avail.  I am currently using jmeter1.9 RC.
> 
> 
> 
> Here is a snippet from the prior response that I am trying to extract
> from:
> <table style="table-layout: fixed" border="0">
> <tr id="s407474" class="clsTableRow"
> onclick="toggleRowSelection(frmDispatch, this, '123366' ,'116019'
> ,'407474');"><td width='24px' class="clsHiddenTableData"><img 
> ---END snippet
> 
> I am trying to extract "toggleRowSelection(frmDispatch, this, '123366'
> ,'116019' ,'407474')" out of the prior response to use the numbers as
> parameters in the next request.  example:  item=123366,116019,407474
> 
> my test plan consists of:
> 
> thread group
> -simple controller
> --....
> --html request
> --Regular Expression Extractor
> --Html Link Parser
> --html request
> 
> My data for Regular Expression Extractor
> Reference name: testItems
> Regular Expression: toggleRowSelection[(]frmDispatch, this, '(\d+)'
> ,'(\d+)' ,'(\d+)'
> template: $1$
> Match Number (0 for Random): 0
> Default Value: 0
> 
> In the second html request, I have coded the parameter as
> item=${testItems_g1}
> 
> When I run the test, I get the following in the request data:
> 
> http://****.***.com:8888/spdd/viewNotes.do
> Query Data: filter=ALL&dispatchItems=%24%7BtestItems_g1%7D with a null
> pointer exception.  What is it that looks incorrect?
> 
> Perhaps I misunderstand the way to use the Expression extractor...  
> 
> Thanks,
> Andy Dailey
> Haworth Inc.
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
> Andrew Dailey
> Systems Analyst
> Information Systems
> Haworth Inc.
> email: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

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

Reply via email to