Share this page

# Example: lrd_commit

In the following example, lrd_commit commits the transaction in the vuser_end section of the script, after completing all database activities.

    int LR_FUNC vuser_end() {
    	lr_think_time(11);
    	lrd_commit( 0,Con1, 0 );
    	lrd_close_connection(&Con1, 0, 0);
    	lrd_end(0);
    	return VUSER_OK;
    }

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: