Cache – I can include cache responses in the JMeter aggregation report

I need to compare my non-cached load test aggregated data with cached load test aggregated data to calculate the caching efficiency of my website. I have successfully implemented non-cached and cached Test. The problem I encountered is that when using the cache manager, the aggregation does not include the number of requests using the cache, nor the time of cache retrieval. This is a problem because the throughput in the aggregate report is for non-cache and cache The load tests are all the same, and I can’t compare efficiency without doing a lot of manual calculations. Now, I understand that throughput means that the actual request hits the server and receives the response, but it’s not like the throughput includes the number and time of cache retrieval That’s useful. Is there a way to achieve this goal?

Thank you

PS: I did not find the answer in Google or JMeter GUI.

I think what you are looking for is to modify the HTTP cache manager so that it returns a SampleResult, because it won’t by default.

So add To user.properties:

> cache_manager.cached_resource_mode = RETURN_CUSTOM_STATUS
> RETURN_CUSTOM_STATUS.code = 304
> RETURN_CUSTOM_STATUS.message = cached resources

See:< /p>

> https://jmeter.apache.org/usermanual/properties_reference.html#cache_manager

I need to aggregate data for my non-cached load test Compare the aggregated data with the cache load test to calculate the cache efficiency of my website. I have successfully performed the non-cached and cached tests. The problem I encountered is that when using the cache manager, the aggregation does not include the use of cache The number of requests does not include cache retrieval time. This is a problem because the throughput in the aggregate report is the same for both non-cached and cached load tests, and I cannot compare efficiency without doing a lot of manual calculations. Now, I understand that throughput means that the actual request hits the server and receives the response, but it is not as useful as the throughput including the number and time of cache retrieval. Is there a way to achieve this goal?

Thank you

PS: I did not find the answer in Google or JMeter GUI.

I think what you are looking for is to modify the HTTP cache manager so that it returns a SampleResult, because it won’t by default.

So add to user.properties:

> cache_manager.cached_resource_mode = RETURN_CUSTOM_STATUS
> RETURN_CUSTOM_STATUS.code = 304
> RETURN_CUSTOM_STATUS.message = cached resources

See:

> https://jmeter .apache.org/usermanual/properties_reference.html#cache_manager

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2365 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.