You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to run [loadtest][1] (command npx loadtest http://localhost:3000/endpoint) on production server with configuration file .loadtestrc:
{
I would like to run loadtest (command npx loadtest http://localhost:3000/endpoint ) on production server with configuration file .loadtestrc:
{
"method": "POST",
"body": {
"to": "[email protected]",
"subject": "Loadtest",
"text": "Loadtest text"
},
"headers": {
"Content-Type": "application/json",
"Accept": "application/json"
},
"maxRequests": 1,
"concurrency": 1
}
but that gives error "Configuration result is immutable".
Hi @ruud00000 ! Sorry for the delay. Yes, this is the right place.
I have tried creating the file .loadtestrc and it's failing for me too. I will fix it. Meanwhile please remove it and configure loadtest using the other options.
Hi again! I just pushed a fix and published as 8.0.9, can you please try and see if it's working for you now? Otherwise I still suggest you remove .loadtestrc and try again.
I would like to run [loadtest][1] (command
npx loadtest http://localhost:3000/endpoint
) on production server with configuration file .loadtestrc:but that gives error "Configuration result is immutable".
How can I solve that?
Also tried running this from the command line:
but that gives the same error.
Also tried running node request-generator.js with content:
That also gives the same result.
On the server Ubuntu is running with NGINX.
BTW is this the place for asking for help using loadtest or is there a better place for that?
The text was updated successfully, but these errors were encountered: