To change the Global Variables value at runtime, add a property like below in the application .tra file and restart the application.
tibco.clientVar.SharedResource/Connections/MaxSessions=16
tibco.clientVar.SharedResource/Connections/MaxSessions=16