Summary: | TCP Sampler Config setting "classname" has no effect | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Andrey Pohilko <apc> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.3.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Screenshot of TCP Config |
Description
Andrey Pohilko
2010-02-09 01:29:44 UTC
Sorry, occasional Enter... The issue is: when I define classname in Config, it does not applied in TCP Samplers. All other options works fine. I have to define classname in each sampler. I expected that I define classname in Config and leave it empty in all TCP Samplers and all samplers use Config setting as Host or Port fields do. Created attachment 24950 [details]
Screenshot of TCP Config
Thanks for the report. The classname is referenced in the threadStarted() method, which is called before the TCP config items are merged in. Other TCP config fields are referenced in the sample() method which is processed after the merge. Fixed by doing the setup in the first sample call. A bit messy, but should work... URL: http://svn.apache.org/viewvc?rev=958685&view=rev Log: Bug 48709 - TCP Sampler Config setting "classname" has no effect Modified: jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java jakarta/jmeter/trunk/xdocs/changes.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2338 |