Closes the LrSqsClient for the current Vuser.

public static void closeClient()

Return values

This function does not return any values.

General information

This function closes the LrSqsClient that was previously initialized for the Vuser. After this function is called, the client is no longer available.

If the client was not previously initialized, a RuntimeException is thrown.

To ensure that the client instance is not used after closure, it is recommended to use this method in the end section of the Vuser script.


Copy code
public int end() throws Throwable {    
        return 0;