
org.simple4j.wsfeeler.pojoashttp.RequestJSON Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WSFeeler Show documentation
Show all versions of WSFeeler Show documentation
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.
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