Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ public static void validateConfiguration() {
// must be a valid URL
if (sdkConfigBean.useSeleniumGrid()) {
validateUrl(sdkConfigBean.seleniumGridLocation(), true, reqRevDns).ifPresent(errorList::add);
} else if (!sdkConfigBean.useLocalDrivers() && applauseConfigBean.apiKey() == null) {
errorList.add(
"You have not configured an API key for the Applause API. Please set the apiKey property in your system.properties file or as a command line variable.");
}

Set<String> recursiveValueNames =
Expand Down Expand Up @@ -138,7 +141,7 @@ static Optional<String> validateUrl(
}

// Now, if reverse DNS is required, verify the reverse DNS
if (reqRevDns) {
if (reqRevDns && urlAsString != null && !urlAsString.isBlank()) {
return ConfigUtils.verifyReverseDns(urlAsString);
}

Expand Down