Getting Global variable value as Null

Hi,

I am trying following things:-
I have set Global variable GlobalVariable.BostadstillAgg to blank/null in profile

TestCase 1-
response = WS.sendRequest(findTestObject(‘POST_GetIncomeLefi’, [(‘Cookie’) : GlobalVariable.Cookie]))
def slurper = new groovy.json.JsonSlurper()
def output = slurper.parseText(response.getResponseBodyContent())
GlobalVariable.BostadstillAgg = output.benefitInformation[0].amount
KeywordUtil.logInfo("BostadstillAggAmount:- " + GlobalVariable.BostadstillAgg)
Here I can check that GlobalVariable.BostadstillAgg value is set to “1234”

TestCase 2-
response = WS.sendRequest(findTestObject(‘GET_listIncome’, [(‘personId’) : GlobalVariable.personId, (‘Cookie’) : GlobalVariable.Cookie]))
def slurper = new groovy.json.JsonSlurper()
def output = slurper.parseText(response.getResponseBodyContent())
KeywordUtil.logInfo("BostadstillAgg:- "+GlobalVariable.BostadstillAgg)

In testcase2 I am getting GlobalVariable.BostadstillAgg value as Null

Can anyone help me to find out the problem ?