distributed-load-testing-on-aws icon indicating copy to clipboard operation
distributed-load-testing-on-aws copied to clipboard

Load test returns 500 errors on test

Open TOIVI291 opened this issue 3 years ago • 3 comments

I've tried a loadtest with a JMeter script (that i got from aws support), but when i try to execute the script, almost half of my requests are 500 errors. The only thing the jmeter script is doing is executing a GET request: https://onestepaws.nl/api/v2/module?code=test

Schermafbeelding 2021-05-17 om 14 25 08

Is this a bug or am i doing something wrong?

Thanks,

TOIVI291 avatar May 20 '21 06:05 TOIVI291

@TOIVI291 currently, the query string in the URL is not supported by JMeter. To use query strings, I would recommend to create a JMeter script and use the script instead of using the direct URL.

beomseoklee avatar May 21 '21 15:05 beomseoklee

@beomseoklee thanks for your reply,

I'm not sure what you mean though, because I think i'm using a JMeter script, could you elaborate on this?

TOIVI291 avatar May 25 '21 13:05 TOIVI291

@TOIVI291 Sorry for your confusion. It was my mistake. In the JMeter script, instead of putting the query strings in the URL, you need to put the query strings in the parameters. For example,

image

beomseoklee avatar Jun 03 '21 15:06 beomseoklee

Closing based on the response above. If your issues is not resolved, please reopen.

G-Lenz avatar Nov 04 '22 14:11 G-Lenz