English 中文(简体)
JMeter 缓存和 cookie 管理器发出警告
原标题:JMeter cache and cookie manager give warnings

在2.6 jter 上我有一个奇怪的问题。 我有一个非常简单的测试计划, 与几个有缓存和饼干管理器的 http 网站样本进行测试。 每当“ 使用并存池” 被允许给 http 取样器使用时, 我在日志中看到以下警告 :

jmeter.protocol.http.sampler.HTTPSamplerBase: Existing CacheManager HTTP Cache Manager superseded by HTTP Cache Manager jmeter.protocol.http.sampler.HTTPSamplerBase: Existing CookieManager HTTP Cookie Manager superseded by HTTP Cookie Manager

这为每条线索重复大量次, 并可能挂起弹痕。 但是如果“ 使用同时的游泳池” 设置被禁用, 那么一切都会好起来。 在取样器级别上没有额外的 cookie 或缓存管理器 。 没有 Cookie 管理器的功能, 我无法在测试计划中完成此项 。

My test plan looks like this:
Test plan
---Thread Group
------Cookie Manager
------Cache Manager
------Response assertion
------HTTP sampler
--------Header Manager
------HTTP sampler
--------Header Manager
------Aggregate report

问题回答

您有多个 Cookie 和 Cache 管理器在范围上, 这正在导致此警告出现 。 要取消警告, 您应该删除额外的外部管理器 。

eg. 包括:

Test Plan
---Thread Group
---HTTP Cookie Manager
-------Sampler
HTTP Cookie Manager

上述设置将引起这一警告,因为两名管理人员都将在取样员的范围之内。

这一点:

Test Plan
---Thread Group
---HTTP Cookie Manager
-------Sampler

将不引起警告,但将产生同样的结果。

我发现当一个“ HTTP 请求默认” 配置元素设置为“ 使用同时的游泳池” 时, 我总是得到这些警告 。 停止设置清除警告, 无法解释原因? 但是 。





相关问题
Write-though caching of large data sets in WCF?

We ve got a smart client that talks to a SQL Server database via WCF, displaying the entities in the database, and allowing the user to edit those entities. Some of the WCF calls return a large data ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

how to tell clicking "back" to load cache?

I would like for my site when someone clicks "Back" or "Forward" for the server to tell the browser to load the cache instead of reloading the entire page. I ve tested some headers and done research, ...

java plugin cache and dynamic IP host

I m trying to use Amazon S3 and Amazon Cloudfront CDN to deliver the jar files of my applet application. I m seeing several cache misses of my jars by the java plugin. This is a show-stopper for me, ...

Frequently Used metadata Hashmap

Are there any implementations of a static size hashtable that limits the entries to either the most recently or most frequently used metadata? I would prefer not to keep track of this information ...

PHP - Memcache - HTML Caching

I would like to create a caching system that will bypass some mechanisms in order to improve the performance. I have some examples: 1-) I have a dynamic PHP page that is updated every hour. The page ...

Performance of Sql subqueriesfunctions

I am currently working on a particularly complex use-case. Simplifying below :) First, a client record has a many-to-one relationship with a collection of services, that is, a single client may have ...

热门标签