We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get all failed with exception "HTTPError 500" when load testing a restful api in sprintboot project. But it's ok when i use apache benchmark.
resp.status_code is 200
resp.status_code is 500
@task def test(self): resp = self.client.get("/test") print(resp.status_code)
@task
def test(self):
resp = self.client.get("/test")
print(resp.status_code)
The text was updated successfully, but these errors were encountered:
the 500 comes from your system under test. look at your server logs for the cause.
Sorry, something went wrong.
`import requests
resp = requests.session().get('http://127.0.0.1:8080/actuator/info') print(resp.status_code) print(resp.text)`
No branches or pull requests
Description of issue
I get all failed with exception "HTTPError 500" when load testing a restful api in sprintboot project. But it's ok when i use apache benchmark.
Expected behavior
resp.status_code is 200
Actual behavior
resp.status_code is 500
Environment settings
Steps to reproduce (for bug reports)
@task
def test(self):
resp = self.client.get("/test")
print(resp.status_code)
The text was updated successfully, but these errors were encountered: