Program: 18199
Project: 18199
Buggy source:
/** 
 * Test the EasySOAv1SOAPDiscoveryMessageHandler with a SOAP Post request
 * @throws Exception
 */
@Test public void SoapDiscoveryMessageHandlerTest() throws Exception {
  Component comp=frascati.getComposite("String_Node_Str");
  HandlerManager handler=frascati.getService(comp,"String_Node_Str",HandlerManager.class);
  PropertyManager pm=new PropertyManager("String_Node_Str");
  String soapRequestContent="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  ProxyConfiguration proxyConf=new ProxyConfiguration();
  proxyConf.addParameter(EasySOAGeneratedAppConfiguration.ENVIRONMENT_PARAM_NAME,"String_Node_Str");
  proxyConf.addParameter(EasySOAGeneratedAppConfiguration.PROJECTID_PARAM_NAME,"String_Node_Str");
  ExchangeRecord record=new ExchangeRecord();
  record.setExchange(new Exchange());
  record.setInMessage(new InMessage());
  record.setOutMessage(new OutMessage());
  record.getInMessage().setProtocol("String_Node_Str");
  record.getInMessage().setMethod("String_Node_Str");
  record.getInMessage().setPath("String_Node_Str");
  record.getInMessage().setServer("String_Node_Str");
  record.getInMessage().setRemoteHost("String_Node_Str");
  record.getInMessage().setRemoteAddress("String_Node_Str");
  MessageContent messageContent=new MessageContent();
  messageContent.setRawContent(soapRequestContent);
  record.getInMessage().setMessageContent(messageContent);
  handler.setHandlerConfiguration(proxyConf);
  Map<String,HandlerResponse> handlerResponses=handler.handleMessage(record.getInMessage(),record.getOutMessage());
  Assert.assertEquals(5,handlerResponses.size());
}

Fixed version (ground truth):
/** 
 * Test the EasySOAv1SOAPDiscoveryMessageHandler with a SOAP Post request
 * @throws Exception
 */
@Test public void SoapDiscoveryMessageHandlerTest() throws Exception {
  Component comp=frascati.getComposite("String_Node_Str");
  HandlerManager handler=frascati.getService(comp,"String_Node_Str",HandlerManager.class);
  PropertyManager pm=new PropertyManager("String_Node_Str");
  String soapRequestContent="String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str";
  ProxyConfiguration proxyConf=new ProxyConfiguration();
  proxyConf.addParameter(EasySOAGeneratedAppConfiguration.ENVIRONMENT_PARAM_NAME,"String_Node_Str");
  proxyConf.addParameter(EasySOAGeneratedAppConfiguration.PROJECTID_PARAM_NAME,"String_Node_Str");
  ExchangeRecord record=new ExchangeRecord();
  record.setExchange(new Exchange());
  record.setInMessage(new InMessage());
  record.setOutMessage(new OutMessage());
  record.getInMessage().setProtocol("String_Node_Str");
  record.getInMessage().setMethod("String_Node_Str");
  record.getInMessage().setPath("String_Node_Str");
  record.getInMessage().setServer("String_Node_Str");
  record.getInMessage().setRemoteHost("String_Node_Str");
  record.getInMessage().setRemoteAddress("String_Node_Str");
  MessageContent messageContent=new MessageContent();
  messageContent.setRawContent(soapRequestContent);
  record.getInMessage().setMessageContent(messageContent);
  handler.setHandlerConfiguration(proxyConf);
  Map<String,HandlerResponse> handlerResponses=handler.handleMessage(record.getInMessage(),record.getOutMessage());
  Assert.assertEquals(4,handlerResponses.size());
}