public void storeCookies(TestCase testCase, List<Cookie> cookieLst) {
		int simNumber = testCase.getSimulationNumber()==null?0:testCase.getSimulationNumber();
		if(testCase.isServerApiAuth() || testCase.isServerApiTarget()) {
			simNumber = -1;
		} else if(testCase.isExternalApi()) {
			simNumber = -2;
		} else if(testCase.getSimulationNumber()==null) {
			simNumber = 0;
		}
		if(cookieLst!=null && cookies.get(simNumber)!=null)
		{
			for (Cookie cookie : cookieLst) {
				if(cookie.getValue()!=null)
				{
					cookies.get(simNumber).put(cookie.getName(), cookie.getValue());
				}
			}
		}
	}