0
votes

I try to implement a load test in jmeter for a web service written in java (Spring MVC+Hibernate). The server is RESTFull and a client (in angularjs) communicates with server.

I want to dump HTTP request with jmeter HTTP Request recorder the same as a tutorial on jmeter user guides.

The problem is that I keep on getting a 415 Http error while using jmeter as proxy on web browser. So the webpage is faced with an error while trying to post data and fails.

1

1 Answers

1
votes

HTTP Status Code 415 stands for Unsupported Media Type, it means that Content-Type header is either incorrect or missing.

JMeter shouldn't be removing this header so my expectation is that either there is a problem with your application or with JMeter itself.

Try recording your test scenario using i.e. JMeter Chrome Extension and if it will be successful - please raise a ticket in JMeter Bugzilla