Recording is not working

Still, it is the same error. Would you please let me know where I can check log files? Because there is no error on cmd prompt

No idea what happens, but this issue is most likely to be specific to what you’re doing on your side (otherwise lots of people would have reported an issue).
Are you sure the HAR you’ve shared is the one you’re using locally?
Can you think of anything special worth mentioning about your setup or your procedure?

  1. I have unzipped the folder : gatling-charts-highcharts-bundle-3.9.5-bundle.zip
  2. Rename the folder as source
  3. Then inside the source folder I went to bin directory
  4. From the bin directory (opened CMD prompt) and then I have launched the recorder.bat file.
  5. I did setting in the recorder UI and that’s it.
  6. You want to have zoom call?

Sorry, we only do video call as part of support for our Gatling Enterprise customers.

This is strange:

Edit recorder.bat and set:

@ECHO ON

show us output as a text after run it.


I have attached the screenshot

please show output of
java --version

C:\D_Drive\gatling\source\bin>java --version

java 15 2020-09-15
Java™ SE Runtime Environment (build 15+36-1562)
Java HotSpot™ 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

Please update Java to more recent version.

I have update the JAVA and now it is JAVA 17 and still having the same issue that "HAR file doesn’t contain any valid HTTP request. I have selected “JAVA 17” in the format drop down on Gatling UI.

I make a little investigation and close up to provided screens and I don’t know why you have text in Alow list AllowList:

Clear it by push button Clear and try again… Should help.

Aditionally I found bug, I will report to Gatling :slight_smile:

After clearing the text, it successfully converted HAR file to Gatling simulation. It created the BasicSimulation.java file also. Now I am executing gatling.bat file

So thats all - you have created sample simulation (BasicSimulation.java) from HAR.
You can open it, edit, etc.

So for any other website… I need to create its HAR file and generated its java file and execute the gatling.bat file, right?

Creating HAR (or using Recorder in proxy mode) and generating Simulation from it it’s easy way to start creation of first simulation.
I think you should check Gatling Accademy it will help you with first steps → https://academy.gatling.io

Oh, I had completely missed this AllowList entry in the allow list!!! Nice catch @GeMi !

1 Like

How to test the website having login page as entry point? Will the HAR file can read the login credentials?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.