Why do I get internal server error with JMeter 5.1?

风流意气都作罢 提交于 2020-03-26 04:03:57

问题


I am migrating scripts from version 2.9 to 5.1. One request is failing in both versions sending me this error:

:internal server error code 500.

What could be the issue?


回答1:


Almost each JMeter version contains some incompatible changes, you need to walk through the JMeter Changelog, identify all the changes and properly amend your script.

Given JMeter 2.9 was released in February 2013 and now we're in March 2020 I believe it would be easier to record the tests from scratch as application could change in 7 years hence "old" JMeter scripts are not valid anymore.

With regards to HTTP Status Code 500

The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

This error response is a generic "catch-all" response. Usually, this indicates the server cannot find a better 5xx error code to response. Sometimes, server administrators log error responses like the 500 status code with more details about the request to prevent the error from happening again in the future.

So you need to look into your server logs, most probably you will get the clue regarding what went wrong from them.



来源:https://stackoverflow.com/questions/60493750/why-do-i-get-internal-server-error-with-jmeter-5-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!