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]

Reply via email to