// WikiPathways Java library,
// Copyright 2014-2015 WikiPathways
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
package org.wikipathways.client.test.utils;

import java.net.URL;

import org.wikipathways.client.WikiPathwaysClient;

public class ConnectionSettings {

	public static WikiPathwaysClient createClient() throws Exception {
//		URL url = new URL("http://webservice.wikipathways.org");
		URL url = new URL("https://rcbranch.wikipathways.org/wpi/webservicetest");
		return new WikiPathwaysClient(url);
	}
}

@@ -842,48 +842,69 @@
 n %7B%0A
-//%09%09URL url = new URL(
+%09%09String urlStr = System.getProperty(%22url%22, 
 %22http
+s
 ://
-webservice
+rcbranch
 .wik
@@ -916,20 +916,41 @@
 ways.org
+/wpi/webservicetest
 %22);%0A
+//
 %09%09URL ur
@@ -962,36 +962,37 @@
 ew URL(%22http
-s
 ://
-rcbranch
+webservice
 .wikipathway
@@ -996,36 +996,46 @@
 ways.org
-/wpi/webservicetest%22
+%22);%0A%09%09URL url = new URL(urlStr
 );%0A%09%09ret

Make the tested service configurable