You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by GitBox <gi...@apache.org> on 2020/12/16 07:35:31 UTC

[GitHub] [jmeter] DDDHuang commented on a change in pull request #637: add: tcp record proxy

DDDHuang commented on a change in pull request #637:
URL: https://github.com/apache/jmeter/pull/637#discussion_r544074431



##########
File path: src/protocol/tcp/src/main/java/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java
##########
@@ -348,8 +350,17 @@ private TCPClient getProtocol() {
         return tcpClient;
     }
 
+    public SampleResult sample(){
+        return sample(null, true);
+    }
+
     @Override
     public SampleResult sample(Entry e)// Entry tends to be ignored ...
+    {
+        return sample(e, firstSample);
+    }
+
+    public SampleResult sample(Entry e, boolean firstSampleFlag)// Entry tends to be ignored ...

Review comment:
       I have added the java document at this function in new commit.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org