Further, I can run this from the command line, without error:
mvn gatling:test -gatling.simulationClass=customer.OccCustImpactApiLoadSimulation
Yet, when I use the recorder to run it. The failed test run indicates a reference to a completely different url. In the screenshot attachment, the url is showing up at ‘prf3.do…'. Also, included is another screenshot showing the system envirionment variable, ‘dev’ is ‘https:int1-api.doterr…’?
yes, it is the Engine run which shows a different Url used than the one specified as baseUrl. This can be seen by examining the screenshots included with post
So if you have uncommented line 23 everything is working for correct address?
What gatling version you use?
For additionally check create additional system variable and try to get value from it.
Delete target folder and check if this help.
As @slandelle mentioned there can be other things where this value is overwriten.
Show us place where you make this httpRequest.
The http request source code of the http request is in screenshot provided. Deleting target and running was tried. It turned out to be that the IntelliJ environment variable was set to something other than the code. Thanks