jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <pmoua...@apache.org>
Subject Migration to HC4/HC5 last version
Date Mon, 09 Oct 2017 21:19:12 GMT
Hello,
Within JMeter projet I am working on migration fully to last APIs of
HttpClient:

   - https://bz.apache.org/bugzilla/show_bug.cgi?id=58757

You can see current code here:

   - https://github.com/ubikloadpack/jmeter/tree/HC4_FULL_MIGRATION

I have nearly completed the work except for 2 remaining items:

   - Virtual Host:
      - I don't see this parameter in newer interfaces
         -
         https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java#L1117


   - "Slow " connection feature:
      - This feature allows to simulate slow connection. Currently we wrap
      Input/Output stream returned by socket with
SlowInputStream/SlowOutputStream
      -
         https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/SlowHC4SocketFactory.java
         -
         https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java#L322
         -
         https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java#L892
      - It is not clear for me how this feature should be implemented:
         - Should we adapt SSLSocket and Socket with a Slow feature ?


Hope you can help by pointing me to the components.

Thanks

Regards

Philippe M.

@philmdot

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message