Getting Errors when try to JMeter script from Blazemeter

64 views
Skip to first unread message

Anisur Rahman

unread,
Sep 17, 2021, 4:09:12 PM9/17/21
to BlazeMeter Forum
Hi,

I am new in Blazemeter and want to run jmeter script for load testing. When i upload the file and try to run it, i get 500 error but it's running locally even we are running through Azure CI/CD pipleline. We evaluate this Blazemeter before going to buy it.

Can anybody help me to run without error please.

Anis

Gaurav Choudhary

unread,
Sep 17, 2021, 9:58:32 PM9/17/21
to Anisur Rahman, BlazeMeter Forum
Hi Anisur,

Can you share the BlazeMeter test URL with us, so that we can thoroughly examine this issue?

Regards,
Gaurav Choudhary

--
You received this message because you are subscribed to the Google Groups "BlazeMeter Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blazemeter-for...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blazemeter-forum/b03b8ff0-eb95-49ba-adf5-769eed6c3ee5n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dmitri Tikhanski

unread,
Sep 18, 2021, 12:36:42 AM9/18/21
to BlazeMeter Forum
Are you sure you have added the file you're going to upload to your BlazeMeter test project? You're supposed to upload all the artifacts (CSV files, properties files, files for uploading, etc.) together with the test script.

If you're still experiencing issues I would ask for the following inputs from "Logs" tab of your test results page:
  • bzt.log
  • jmeter.out
  • jmeter.err
as well as a screenshot of your test configuration page and the HTTP Request which performs the file upload

Anisur Rahman

unread,
Sep 20, 2021, 11:54:54 AM9/20/21
to BlazeMeter Forum
Hi Dmitri,

Here is my header global header file and bearer token screen shot:

Appreciate your help.
screenshot for jmeter.docx
consolidated_logs_REPORT_ID_36917921_NAME_September_17_8%3A57AM_TIME_20092021_155131.zip

Anisur Rahman

unread,
Sep 20, 2021, 11:57:08 AM9/20/21
to BlazeMeter Forum
Hi Gaurav,

It's a secured site, you will not be able to see it. But I can tell you the what is the header file setup and token etc. if you want to see it.

Thank you
Anis

Dmitri T

unread,
Sep 21, 2021, 3:35:09 AM9/21/21
to BlazeMeter Forum
I see 2 types of errors:

1. 504 Gateway Time-out on "HTTP Request Bearer Token" which most probably indicates that your website gets overloaded
2. {"type":"https://httpstatuses.com/409","title":"Conflict","status":409,"detail":"SurveyObject 'Q111' already exists.","instance":"/api/v1/surveyobject"} which indicates that you're trying to create the object with the same name - Q111 and your system doesn't allow duplicate names

Both are not related to BlazeMeter by any means.

  • To resolve #1 you need to either raise an issue with the development team or put your "HTTP Request Bearer Token" under the Once Only Controller.so you get the token only once per user
  • To resolve #2 most probably you need to use an unique name instead of this "Q111", maybe some JMeter function like __RandomString() or __UUID()
And change your password ASAP as now it's compromised and known to everyone.

Anisur Rahman

unread,
Sep 21, 2021, 9:25:09 AM9/21/21
to BlazeMeter Forum
Thank you Dmitri, I will try to setup bearer token under once only controller. Issue #2 has been fixed.

Anis

Anisur Rahman

unread,
Sep 21, 2021, 2:57:36 PM9/21/21
to BlazeMeter Forum

Hi Dmitri,

Thank you very much for your help. As per your suggestions, I have added and run it, now only 4 http requests are failed and got 500. I have no clue because it's locally run without any issues and I didn't see any error on jmeter log file created by Blazemeter. Error shows on bzt.log file. Here is the log file: Please take a look and suggest me what need to be done.
bzt (1).log

Dmitri T

unread,
Sep 22, 2021, 11:18:54 AM9/22/21
to BlazeMeter Forum
HTTP Status Code 500 is a server-side error so most probably your application under test gets overloaded.

You can look for error.jtl file under your artifacts.zip file in BlazeMeter log reports

There you will have request and response details and the timestamp so you would be able to check your server logs and/or APM system to correlate these failed requests with other reports

Anisur Rahman

unread,
Sep 22, 2021, 3:21:09 PM9/22/21
to BlazeMeter Forum
Dmitri,
Thanks.

Anisur Rahman

unread,
Sep 23, 2021, 11:19:27 AM9/23/21
to BlazeMeter Forum
Hi,

One more question, is there any dev testing environment to run test in Blazemeter as it has limited test, i want to debug in test env and run it prod.
Thank you.
Anis

Dmitri T

unread,
Sep 24, 2021, 2:23:12 AM9/24/21
to BlazeMeter Forum
BlazeMeter only provides load generators and reporting, test environment is not something they can offer.

You can use Mock Services to mimic your application (at least partially)
Reply all
Reply to author
Forward
0 new messages