Contributions
Mock REST, error log shows, "Missing start boundary", when client request with binary attachment
Hello, I just notice from my SOAPUI (5.3.0) that when a client send a POST request to my REST mock service, SOAPUI is showing the error below. How can I fix this on SOAPUI side, as the actual request from the client is not an issue to a live REST server? (I am using mock server for load test because I am not allow to load test on live server). Thanks Tue Sep 11 18:11:29 PDT 2018:ERROR:got an exception while dispatching - returning a default 500 response Tue Sep 11 18:11:29 PDT 2018:ERROR:javax.mail.MessagingException: Missing start boundary javax.mail.MessagingException: Missing start boundary at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713) at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383) at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229) at com.eviware.soapui.impl.wsdl.submit.transports.http.support.attachments.MultipartMessageSupport.<init>(MultipartMessageSupport.java:60) at com.eviware.soapui.impl.support.AbstractMockRequest.readMultipartRequest(AbstractMockRequest.java:134) at com.eviware.soapui.impl.support.AbstractMockRequest.initPostRequest(AbstractMockRequest.java:102) at com.eviware.soapui.impl.support.AbstractMockRequest.<init>(AbstractMockRequest.java:93) at com.eviware.soapui.impl.rest.mock.RestMockRequest.<init>(RestMockRequest.java:29) at com.eviware.soapui.impl.rest.mock.RestMockDispatcher.dispatchRequest(RestMockDispatcher.java:45) at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchRequest(WsdlMockRunner.java:142) at com.eviware.soapui.monitor.JettyMockEngine$ServerHandler.handle(JettyMockEngine.java:604) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)993Views0likes0CommentsMock REST, how to save binary file attachment from client request to file system?
Hello, I have SOAPUI running mock REST and returing some json resonse, this part is working okay. I would like to save the binary file attachment from the client's REST request, which is coming from another client, not SOAPUI test request, to SOAPUI server side during processing of the client's request. Where do I start with this? Thanks1.3KViews0likes1CommentRe: [Resolved] assertion against multiple expected values
Hello, newbie to soapui here... The answers provided seem to be for response content that is XML only not JSON, is this correct? How would assert for contains multiple values on a json response that is something like this: { "result": true, "content": [ "abc", "def", "ijk", [... <more content>...] ] } Thanks8 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews1like0Comments