Bug 56376 - When using Distributed Testing 'HTTP URL Re-writing Modifier' and 'HTML Link Parser' do not work with default mode nor stripping modes
Summary: When using Distributed Testing 'HTTP URL Re-writing Modifier' and 'HTML Link ...
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.9
Hardware: All All
: P2 regression (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
: 57656 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-09 14:02 UTC by Rod Norfor
Modified: 2015-03-03 20:43 UTC (History)
2 users (show)



Attachments
sample test script (8.55 KB, text/plain)
2014-05-27 13:55 UTC, Rod Norfor
Details
sample application (3.07 KB, application/x-php)
2014-05-27 14:05 UTC, Rod Norfor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Norfor 2014-04-09 14:02:10 UTC
With a script if I have a 'http url re-writing modifier' element to extract a variable, in our case 'sesskey'.

I can run the script via the gui fine.

If I attempt to run via a remote jmeter-server, even on the same machine the script will fail to pass the 'sesskey' with any requests. The sesskey is added as a parameter to the request but the value is not populated.

This seems to be something that was introduced between 2.8 and 2.9,

I have tried the nightly build r1585833 which still seems to have the same issue with remotes.

Please let me know if you require any further information.

Thanks.

Rod Norfor
Comment 1 Philippe Mouawad 2014-05-26 20:49:03 UTC
Hello,
Thanks for report.
Could you provide a simple test plan showing issue ?
You could use Java Request populating ResultData with some sample content and using Debug Sampler to show issue.
Thank you
Comment 2 Rod Norfor 2014-05-27 13:55:17 UTC
Created attachment 31666 [details]
sample test script

This test script works fine in 2.7 (remote and local) but in 2.9 and r1585833
only the local execution works correctly, in 2.8+ when using remote the form_key value is not attached to the post request.
Comment 3 Rod Norfor 2014-05-27 14:05:37 UTC
Created attachment 31667 [details]
sample application

sample application, which demonstrates issue
Comment 4 Rod Norfor 2014-05-29 10:37:38 UTC
I assume I need to change this back to new... the text doesn't state what I should change the status to 'This bug currently requires additional information before it can be dealt with. If you are providing the requested information, please change the bug status back to .'
Comment 5 Philippe Mouawad 2014-05-30 20:45:29 UTC
Hello,
Thanks for detailed report.

Your issue has been introduced by the switch from:
mode=Standard
to 
mode=MODE_STRIPPED_BATCH

As a workaround, you can switch back to it by setting :
mode=Standard

But this mode is not great for good performances in distributed mode.

We are working on issue, give us some time.
Comment 6 Philippe Mouawad 2015-03-03 20:42:17 UTC
*** Bug 57656 has been marked as a duplicate of this bug. ***
Comment 7 Philippe Mouawad 2015-03-03 20:43:16 UTC
Also affects __regexFunction