All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simple4j.wsfeeler.pojoashttp.RequestJSON Maven / Gradle / Ivy

Go to download

This is a simple end to end Web Service Testing library to test wide variety of web service. It supports hierarchy of test cases and test steps with wiring of request response objects using templated variable replacement. The test steps can be Web Service or DB call out of the box with capability to extend to other test steps. The DB steps are for data setup and assertion of values from the DB.

There is a newer version: 24.12.04.1
Show newest version
package org.simple4j.wsfeeler.pojoashttp;

import java.util.Arrays;

/**
 * HTTPExposer web service request body structure
 */
public class RequestJSON {

	String beanId = null;

	String methodName = null;

	MethodParameterJSON[] methodParameters = null;

	/**
	 * Bean id of the bean in the application context whose method will be invoked
	 */
	public String getBeanId() {
		return beanId;
	}

	public void setBeanId(String beanId) {
		this.beanId = beanId;
	}

	/**
	 * Name of the method which will be invoked
	 */
	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	/**
	 * Method parameters as array of MethodParameterJSON objects
	 */
	public MethodParameterJSON[] getMethodParameters() {
		return methodParameters;
	}

	public void setMethodParameters(MethodParameterJSON[] methodParameters) {
		this.methodParameters = methodParameters;
	}

	@Override
	public String toString() {
		return "RequestJSON [beanId=" + beanId + ", methodName=" + methodName
				+ ", methodParameters=" + Arrays.toString(methodParameters)
				+ "]";
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy