Methods Summary |
---|
public void | test10Soap12TestRpcPortEchoIntegerArray()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
int[] input = new int[] {
1,
2,
3
};
// Test operation
int[] output = null;
output = binding.echoIntegerArray(input);
// TBD - validate results
assertTrue(Arrays.equals(input,output));
|
public void | test11Soap12TestRpcPortEchoBase64()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
byte[] input = new byte[] {0xC, 0xA, 0xF, 0xE};
// Test operation
byte[] output = null;
output = binding.echoBase64(input);
// TBD - validate results
assertTrue(Arrays.equals(input,output));
|
public void | test12Soap12TestRpcPortEchoBoolean()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// Test operation
boolean value = false;
value = binding.echoBoolean(true);
// TBD - validate results
assertEquals(true, value);
|
public void | test13Soap12TestRpcPortEchoDate()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
java.util.Calendar input = java.util.Calendar.getInstance();
input.setTimeZone(TimeZone.getTimeZone("GMT"));
input.set(Calendar.MILLISECOND, 0);
java.util.Calendar output = null;
output = binding.echoDate(input);
output.setTimeZone(TimeZone.getTimeZone("GMT"));
assertEquals(input, output);
|
public void | test14Soap12TestRpcPortEchoDecimal()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
java.math.BigDecimal input = new java.math.BigDecimal(5000);
// Test operation
java.math.BigDecimal output = null;
output = binding.echoDecimal(input);
// TBD - validate results
assertEquals(input, output);
|
public void | test15Soap12TestRpcPortEchoFloat()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
float input = -334.5F;
// Test operation
float output = 0;
output = binding.echoFloat(input);
// TBD - validate results
assertTrue(input == output);
|
public void | test16Soap12TestRpcPortEchoString()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// Test operation
java.lang.String value = null;
value = binding.echoString(new java.lang.String("EchoString"));
// TBD - validate results
assertEquals("EchoString", value);
|
public void | test17Soap12TestRpcPortCountItems()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// Test operation
int output = -3;
output = binding.countItems(new java.lang.String[] {"Life","is","a","box","of","chocolates"});
// TBD - validate results
assertEquals(output, 6);
|
public void | test18Soap12TestRpcPortIsNil()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// TODO: This does not work :(
//// Test operation
//boolean value = binding.isNil(new java.lang.String("isNil"));
//
//// TBD - validate results
//assertEquals(false, value);
|
public void | test1Soap12TestRpcPortReturnVoid()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// Test operation
binding.returnVoid();
// TBD - validate results
|
public void | test20Soap12TestDocPortEchoOk()
test.wsdl.soap12.assertion.Soap12TestDocBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestDocBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestDocPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// TODO: This does not work :(
//// Test operation
//java.lang.String value = null;
// value = binding.echoOk(new java.lang.String("EchoOk"));
//// TBD - validate results
//assertEquals(value, "EchoOk");
|
public void | test2Soap12TestRpcPortEchoStruct()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
test.wsdl.soap12.assertion.xsd.SOAPStruct input = new test.wsdl.soap12.assertion.xsd.SOAPStruct();
input.setVarFloat(-5);
input.setVarInt(10);
input.setVarString("EchoStruct");
// Test operation
test.wsdl.soap12.assertion.xsd.SOAPStruct output = null;
output = binding.echoStruct(input);
// TBD - validate results
assertEquals(input, output);
|
public void | test3Soap12TestRpcPortEchoStructArray()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
test.wsdl.soap12.assertion.xsd.SOAPStruct[] input = new test.wsdl.soap12.assertion.xsd.SOAPStruct[1];
input[0] = new test.wsdl.soap12.assertion.xsd.SOAPStruct();
input[0].setVarFloat(-5);
input[0].setVarInt(10);
input[0].setVarString("EchoStruct");
// Test operation
test.wsdl.soap12.assertion.xsd.SOAPStruct[] output = null;
output = binding.echoStructArray(input);
// TBD - validate results
assertTrue(Arrays.equals(input,output));
|
public void | test4Soap12TestRpcPortEchoStructAsSimpleTypes()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
test.wsdl.soap12.assertion.xsd.SOAPStruct input = new test.wsdl.soap12.assertion.xsd.SOAPStruct();
input.setVarFloat(-5);
input.setVarInt(10);
input.setVarString("EchoStructAsSimpleTypes");
javax.xml.rpc.holders.StringHolder out1 = new javax.xml.rpc.holders.StringHolder();
javax.xml.rpc.holders.IntHolder out2 = new javax.xml.rpc.holders.IntHolder();
javax.xml.rpc.holders.FloatHolder out3 = new javax.xml.rpc.holders.FloatHolder();
// Test operation
binding.echoStructAsSimpleTypes(input, out1, out2, out3);
// TBD - validate results
assertEquals(out1.value, input.getVarString());
assertEquals(out2.value, input.getVarInt());
assertTrue(out3.value == input.getVarFloat());
|
public void | test5Soap12TestRpcPortEchoSimpleTypesAsStruct()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
String input1 = new String("EchoSimpleTypesAsStruct");
int input2 = 50;
float input3 = 45.5F;
// Test operation
test.wsdl.soap12.assertion.xsd.SOAPStruct output = null;
output = binding.echoSimpleTypesAsStruct(input1, input2, input3);
// TBD - validate results
assertEquals(input1, output.getVarString());
assertEquals(input2, output.getVarInt());
assertTrue(input3 == output.getVarFloat());
|
public void | test6Soap12TestRpcPortEchoNestedStruct()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
test.wsdl.soap12.assertion.xsd.SOAPStructStruct input = new test.wsdl.soap12.assertion.xsd.SOAPStructStruct();
input.setVarFloat(-5);
input.setVarInt(10);
input.setVarString("EchoNestedStruct1");
test.wsdl.soap12.assertion.xsd.SOAPStruct inputInner = new test.wsdl.soap12.assertion.xsd.SOAPStruct();
inputInner.setVarFloat(-5);
inputInner.setVarInt(10);
inputInner.setVarString("EchoNestedStruct2");
input.setVarStruct(inputInner);
// Test operation
test.wsdl.soap12.assertion.xsd.SOAPStructStruct output = null;
output = binding.echoNestedStruct(input);
// TBD - validate results
assertEquals(input, output);
|
public void | test7Soap12TestRpcPortEchoNestedArray()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
test.wsdl.soap12.assertion.xsd.SOAPArrayStruct input = new test.wsdl.soap12.assertion.xsd.SOAPArrayStruct();
input.setVarFloat(-5);
input.setVarInt(10);
input.setVarString("EchoNestedArray1");
input.setVarArray(new String[] {"EchoNestedArray2","EchoNestedArray3","EchoNestedArray4"});
// TODO: This does not work :(
//// Test operation
//test.wsdl.soap12.assertion.xsd.SOAPArrayStruct output = null;
//output = binding.echoNestedArray(input);
//// TBD - validate results
//assertEquals(input, output);
|
public void | test8Soap12TestRpcPortEchoFloatArray()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
float[] input = new float[] {
1.1F,
1.2F,
1.3F
};
// Test operation
float[] output = null;
output = binding.echoFloatArray(input);
// TBD - validate results
assertTrue(Arrays.equals(input,output));
|
public void | test9Soap12TestRpcPortEchoStringArray()
test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestRpcBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
String[] input = new String[] {
"1.1F",
"1.2F",
"1.3F"
};
// Test operation
java.lang.String[] output = null;
output = binding.echoStringArray(input);
// TBD - validate results
assertTrue(Arrays.equals(input,output));
|
protected void | testEchoOkHeaderWithEmptyBody(java.lang.String role)Several tests (T1, etc) use the same functionality, send an empty body
with the "echoOk" header using various roles, and check the return in the
"responseOk" header.
test.wsdl.soap12.assertion.Soap12TestDocBindingStub binding;
try {
binding = (test.wsdl.soap12.assertion.Soap12TestDocBindingStub)
new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestDocPort();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertNotNull("binding is null", binding);
// Time out after a minute
binding.setTimeout(60000);
// Test operation
SOAPHeaderElement header =
new SOAPHeaderElement(TEST_NS, "echoOk");
if (role != null)
header.setRole(role);
header.setObjectValue("this is a test");
binding.setHeader(header);
binding.emptyBody();
// Get the response header
SOAPHeaderElement respHeader =
binding.getHeader(TEST_NS,
"responseOk");
assertNotNull("Missing response header", respHeader);
assertEquals("this is a test", respHeader.getValue());
|
public void | testSoap12TestDocPortWSDL()
javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
java.net.URL url = new java.net.URL(new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestDocPortAddress() + "?WSDL");
javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getServiceName());
assertTrue(service != null);
|
public void | testSoap12TestRpcPortWSDL()
javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
java.net.URL url = new java.net.URL(new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPortAddress() + "?WSDL");
javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getServiceName());
assertTrue(service != null);
|
public void | testT1()Test T1 - echoOk header with empty body using "next" role
testEchoOkHeaderWithEmptyBody(Constants.URI_SOAP12_NEXT_ROLE);
|
public void | testT12()Test T12 - unknown header, with MustUnderstand true
Call call = new Call(DOC_ENDPOINT);
call.setOperationStyle(Style.DOCUMENT);
call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS);
SOAPEnvelope reqEnv = new SOAPEnvelope(SOAPConstants.SOAP12_CONSTANTS);
SOAPHeaderElement header = new SOAPHeaderElement(TEST_NS, "Unknown");
header.setObjectValue("test header");
header.setMustUnderstand(true);
reqEnv.addHeader(header);
try {
call.invoke(reqEnv);
} catch (AxisFault fault) {
assertEquals(Constants.FAULT_SOAP12_MUSTUNDERSTAND,
fault.getFaultCode());
ArrayList headers = fault.getHeaders();
// If there is a NotUnderstood header, check it
for (Iterator i = headers.iterator(); i.hasNext();) {
SOAPHeaderElement h = (SOAPHeaderElement) i.next();
if (h.getQName().equals(Constants.QNAME_NOTUNDERSTOOD)) {
// TODO : check qname attribute
}
}
return;
}
fail("Didn't receive expected fault!");
|
public void | testT2()Test T2 - echoOk header with empty body using supported role
testEchoOkHeaderWithEmptyBody("http://example.org/ts-tests/C");
|
public void | testT3()Test T3 - echoOk header with empty body using no role
testEchoOkHeaderWithEmptyBody(null);
|
public void | testT4()Test T4 - echoOk header with empty body using role ""
testEchoOkHeaderWithEmptyBody("");
|
public void | testT5()Test T5 - echoOk header to unrecognized role (should be ignored)
Call call = new Call(DOC_ENDPOINT);
call.setOperationStyle(Style.DOCUMENT);
call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS);
SOAPEnvelope reqEnv = new SOAPEnvelope(SOAPConstants.SOAP12_CONSTANTS);
SOAPHeaderElement header = new SOAPHeaderElement(TEST_NS, "echoOk");
header.setRole(ROLE_B);
header.setObjectValue("test header");
reqEnv.addHeader(header);
SOAPEnvelope respEnv = call.invoke(reqEnv);
assertTrue("Got unexpected header!", respEnv.getHeaders().isEmpty());
|
public void | testT6()Test T6 - echoOk header targeted at endpoint via intermediary
Call call = new Call(INTERMEDIARY_ENDPOINT);
call.setOperationStyle(Style.DOCUMENT);
call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS);
SOAPEnvelope reqEnv = new SOAPEnvelope(SOAPConstants.SOAP12_CONSTANTS);
SOAPHeaderElement header = new SOAPHeaderElement(TEST_NS, "echoOk");
header.setRole(ROLE_C);
header.setObjectValue("test header");
reqEnv.addHeader(header);
SOAPEnvelope respEnv = call.invoke(reqEnv);
SOAPHeaderElement respHeader =
respEnv.getHeaderByName(TEST_NS, "responseOk");
assertNotNull(respHeader);
assertEquals("test header", respHeader.getValue());
|