- Timestamp:
- 09/23/15 16:21:12 (9 years ago)
- Location:
- trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SOAPEventType.java
r1993 r2037 276 276 public Element getSoapResponseBody() { 277 277 try { 278 return soapResponse.getSOAPBody(); 278 if( soapResponse!=null ) { 279 return soapResponse.getSOAPBody(); 280 } else { 281 return null; 282 } 279 283 } 280 284 catch (SOAPException e) { -
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SimpleSOAPEventType.java
r1994 r2037 188 188 throw new RuntimeException( 189 189 "cannot use random mode is no request map is available; different data missing"); 190 } 191 if( soapMsgBody == null ) { 192 return null; 190 193 } 191 194 return createDOMElement(equalBodyMap.getRandom(this)); … … 278 281 279 282 private Element createDOMElement(String requestBody) { 283 if( requestBody==null ) { 284 return null; 285 } 280 286 try { 281 287 return DocumentBuilderFactory.newInstance().newDocumentBuilder()
Note: See TracChangeset
for help on using the changeset viewer.