Editing Socket tests Improve the Socket tests by adding test elements. Socket API test editor overviewYou use the test editor to inspect or customize a socket API test that you recorded.Adding elements to a socket testA socket test provides the flexibility to add close, send, and receive elements to the test.Verifying application behaviorAdd the different verification points to verify the responses in a socket test.Merging socket send and receive elementsWith the Organize wizard, you can merge consecutive send or receive elements that use the same connection to improve the clarity of your socket test.Changing multiple socket send and receive elementsYou can perform global changes to multiple send and receive elements in a socket test.Splitting a socket testAfter you record a test, you can split it into smaller tests. Splitting tests enables you to create modular building blocks of smaller tests and combine them to make bigger tests. The original test is unchanged. You can recombine these building blocks in a schedule, including loops and conditions.Using custom code to specify an end policyYou can write a custom Java™ class to specify when a socket receive element stops receiving. This offers the most flexibility, but requires that you write your own Java™ class using the IBM® DevOps Test Performance (Test Performance) extension API.Using custom code to manipulate dataYou can write a custom Java™ class to manipulate data in a send element. This offers flexibility for injecting data in test, but requires that you write your own Java™ class using the IBM® DevOps Test Performance (Test Performance) extension API.Parent topic: Editing tests