String (final TestSuiteStarted suiteStarted) { final Map<String, String> attrs = suiteStarted.getAttributes(); final String location = attrs.get(ATTR_KEY_LOCATION_URL); if (location == null) { // try old API final String oldLocation = attrs.get(ATTR_KEY_LOCATION_URL_OLD); if (oldLocation != null) { LOG.error(getTFrameworkPrefix(myTestFrameworkName) + "Test Runner API was changed for TeamCity 5.0 compatibility. Please use 'locationHint' attribute instead of 'location'."); return oldLocation; } return null; } return location; }