
com.tascape.reactor.ws.task.WebServiceCase Maven / Gradle / Ivy
/*
* Copyright 2016 Nebula Bay.
*
* 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 com.tascape.reactor.ws.task;
import com.tascape.reactor.ws.driver.WebService;
/**
*
* @author linsong wang
*/
public interface WebServiceCase {
default void runManually(WebService ws) throws Exception {
runManually(ws, 30);
}
/**
* The method starts a GUI to let an user send requests to web service manually.
* Please make sure to set timeout long enough for manual interaction.
*
* @param ws the WebService instance used
* @param timeoutMinutes timeout in minutes to fail the manual steps
*
* @throws Exception if case of error
*/
default void runManually(WebService ws, int timeoutMinutes) throws Exception {
ws.interactManually(timeoutMinutes);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy