jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FSchumacher <...@git.apache.org>
Subject [GitHub] jmeter pull request #434: Truncate response message to avoid too large udp p...
Date Sat, 24 Nov 2018 11:40:07 GMT
Github user FSchumacher commented on a diff in the pull request:

    https://github.com/apache/jmeter/pull/434#discussion_r236039975
  
    --- Diff: src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
---
    @@ -196,12 +196,18 @@ private void addMetrics(String transaction, SamplerMetric metric)
{
         }
     
         private void addErrorMetric(String transaction, String responseCode, String responseMessage,
long count) {
    +        final int MAX_RES_CODE_LENGTH_FOR_UDP = 50;
    --- End diff --
    
    We seem to waste a lot of characters with the number conversion of the percentage values.
They seem to be exact to about two digits behind the comma, but are written out to much more.
Maybe we could use a better formatting/rounding there, too?


---

Mime
View raw message