junyejiang opened a new pull request, #6410: URL: https://github.com/apache/jmeter/pull/6410
Stripping success result in order to speed up transmit in distributed test mode ## Description If the result is successful, fulfill SIZE information in BODY/HEADER etc, and replace DATA information with NULL. So the result could be smaller than it was. ## Motivation and Context When doing test in distributed mode, each Server will send its result back to Client. If the result size is big and the number of results is big too, it will take time to finish results transmition. Even we find that sometimes when test has already finished, STOP singal has been sent from Client to Servers, both Client and Servers cannot exit because result transmition was still undergoing whitch bocked Client and Servers from exting. If a test result is FAILED, we do need its complete DATA information to do debug after test, we will not strip the result itself. But on the other hand, if a test result is SUCCESSFUL, we need only its SIZE to do static after test, we can trim all the DATA from BODY/HEADER etc. ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, tests ran to see how --> <!--- your change affects other areas of the code, etc. --> ## Screenshots (if appropriate): ## Types of changes <!--- What types of changes does your code introduce? Delete as appropriate --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Breaking change (fix or feature that would cause existing functionality to not work as expected) ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] My code follows the [code style][style-guide] of this project. - [ ] I have updated the documentation accordingly. [style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines -- 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. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org