You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/08/12 16:54:42 UTC
[Bug 56841] New: DNS-Cache-Manager-improvement-for-testing-CDN
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Bug ID: 56841
Summary: DNS-Cache-Manager-improvement-for-testing-CDN
Product: JMeter
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: dzmitrykashlach@gmail.com
Created attachment 31907
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31907&action=edit
DNS Cache Manager sources
As was proposed by Milamber, creating separate issue for discussion in
DEV-list:
http://jmeter.512774.n5.nabble.com/DNS-Cache-Manager-improvement-for-testing-CDN-td5720797.html
This config element help to get more realistic load while testing
web-applications, which're using CDN.
Attaching two files: dns-cache-manager.patch and dns-cache-manager.png(an icon
for component_reference.xml)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
--- Comment #10 from Dzmitry Kashlach <dz...@blazemeter.com> ---
Created attachment 32033
--> https://issues.apache.org/bugzilla/attachment.cgi?id=32033&action=edit
NotSerializableException
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] DNS-Cache-Manager-improvement-for-testing-CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
--- Comment #1 from Dzmitry Kashlach <dz...@gmail.com> ---
Created attachment 31908
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31908&action=edit
icon for component_reference.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] DNS-Cache-Manager-improvement-for-testing-CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31907|0 |1
is obsolete| |
Attachment #31908|0 |1
is obsolete| |
--- Comment #2 from Milamber <mi...@apache.org> ---
Created attachment 31911
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31911&action=edit
Update patch v2
Fix some alphabetical orders
Add some missing I18N strings
Add French translation
Formatting the code
Some issues remain (I think) between DNSCacheManager and DNSCachePanel on
configure/modifyTestElement methods. (no time tonight to fix them)
Why use a PoolingClientConnectionManager in HTTPHC4Impl.java?
BasicClientConnectionManager don't sufficient? The JMeter(httpclient) default
client connection manger is change with Pooling?
+ PoolingClientConnectionManager poolingClientConnectionManager=
+ new
PoolingClientConnectionManager(SchemeRegistryFactory.createDefault(),resolver);
+
Screenshot must be refresh.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Dzmitry Kashlach <dz...@blazemeter.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #9 from Dzmitry Kashlach <dz...@blazemeter.com> ---
I've have faced with NotSerializableException while running distributed tests
with DNS Cache Manager. Attaching a patch for it.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|DNS-Cache-Manager-improveme |New configuration element:
|nt-for-testing-CDN |DNS Cache Manager to
| |improve the testing of CDN
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31911|0 |1
is obsolete| |
--- Comment #5 from Milamber <mi...@apache.org> ---
Created attachment 31917
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31917&action=edit
Final patch before commit
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
--- Comment #8 from Milamber <mi...@apache.org> ---
URL: http://svn.apache.org/r1618067
Log:
synchronize the revision with saveservice.properties
Bugzilla Id: 56841
Modified:
jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] DNS-Cache-Manager-improvement-for-testing-CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
--- Comment #3 from Dzmitry Kashlach <dz...@gmail.com> ---
Created attachment 31912
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31912&action=edit
http-cache-manager.png
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] DNS-Cache-Manager-improvement-for-testing-CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Milamber <mi...@apache.org> ---
In the final patch, I have fixed the usage of radio buttons to allow to restore
the good config when you load a jmx file with a DNS cache manager.
Update docs
Thanks for your initial work.
Please test the nightly build to see if all is work fine with a CDN load test.
Milamber
==
URL: http://svn.apache.org/r1618048
Log:
New configuration element: DNS Cache Manager to improve the testing of CDN
Bugzilla Id: 56841
Added:
jmeter/trunk/docs/images/screenshots/dns-cache-manager.png (with props)
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DNSCacheManager.java
(with props)
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/DNSCachePanel.java
(with props)
jmeter/trunk/xdocs/images/screenshots/dns-cache-manager.png (with props)
Modified:
jmeter/trunk/bin/saveservice.properties
jmeter/trunk/build.properties
jmeter/trunk/build.xml
jmeter/trunk/eclipse.classpath
jmeter/trunk/res/maven/ApacheJMeter_parent.pom
jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
jmeter/trunk/xdocs/changes.xml
jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/r1618049
Log:
Add dnsjava to ignore
Bugzilla Id: 56841
Modified:
jmeter/trunk/lib/ (props changed)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31912|0 |1
is obsolete| |
--- Comment #6 from Milamber <mi...@apache.org> ---
Created attachment 31918
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31918&action=edit
New screenshot
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] New configuration element: DNS Cache Manager to improve
the testing of CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
Milamber <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #11 from Milamber <mi...@apache.org> ---
Fixed. Thanks.
URL: http://svn.apache.org/r1626548
Log:
Fix a NotSerializableException issue with distributed tests
Bugzilla Id: 56841
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DNSCacheManager.java
===
URL: http://svn.apache.org/r1626549
Log:
Add dnsjava into binary packages
Bugzilla Id: 56841
Modified:
jmeter/trunk/build.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 56841] DNS-Cache-Manager-improvement-for-testing-CDN
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56841
--- Comment #4 from Dzmitry Kashlach <dz...@gmail.com> ---
(In reply to Milamber from comment #2)
> Some issues remain (I think) between DNSCacheManager and DNSCachePanel on
> configure/modifyTestElement methods. (no time tonight to fix them)
Can you show logs/description?
> Why use a PoolingClientConnectionManager in HTTPHC4Impl.java?
> BasicClientConnectionManager don't sufficient? The JMeter(httpclient)
> default client connection manger is change with Pooling?
>
> + PoolingClientConnectionManager poolingClientConnectionManager=
> + new
> PoolingClientConnectionManager(SchemeRegistryFactory.createDefault(),
> resolver);
> +
PoolingClientConnectionManager is extended BasicClientConnectionManager, it has
constructor, which allows to pass instance of DnsResolver to httpclient to get
flexibility. BasicClientConnectionManager does not allow to do that.
PoolingClientConnectionManager.java
public PoolingClientConnectionManager(final SchemeRegistry schreg,final
DnsResolver dnsResolver) {
this(schreg, -1, TimeUnit.MILLISECONDS,dnsResolver);
}
Added screenshot
--
You are receiving this mail because:
You are the assignee for the bug.