- File details are provided in file upload configuration and use multipart/from data for Post is checked though unable to upload file in jmeter for API -as the UI is not available for webservice I am unable to judge name parameter value in file configuration, can someone please help to proceed upload scenario without providing Parameter name in jMeter.
I tried to perform File uplaod through jmeter using POST menthod, and getting server side error as below:
Web Service Error javax.ws.rs.ClientErrorException: HTTP 415 Unsupported Media Type at org.apache.cxf.jaxrs.utils.SpecExceptions.toHttpException(SpecExceptions.java:117) ~[cxf-rt-frontend-jaxrs-3.0.1.jar:3.0.1] at org.apache.cxf.jaxrs.utils.ExceptionUtils.toHttpException(ExceptionUtils.java:157) ~[cxf-rt-frontend-jaxrs-3.0.1.jar:3.0.1] at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:526) ~[cxf-rt-frontend-jaxrs-3.0.1.jar:3.0.1] at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:177) ~[cxf-rt-frontend-jaxrs-3.0.1.jar:3.0.1] at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:77) ~[cxf-rt-frontend-jaxrs-3.0.1.jar:3.0.1] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) [cxf-core-3.0.1.jar:3.0.1] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-core-3.0.1.jar:3.0.1]