cbworkloadgen gives me error: REST username (-u) and password (-p) are required to access all bucket(s)

I just installed Couchbase and wanted to run a load test on it. I very new so I am not sure how the permissions work.

I typed
cbworkloadgen -n localhost:8091
but got this error:
REST username (-u) and password (-p) are required to access all bucket(s)

Then I tried to add the admin user and password:
D:\Program Files\Membase\Server\bin>cbworkloadgen -n localhost:8091 -u Admin -p password
but got this error:
error: unable to access REST API: localhost:8091/pools/default/buckets; please check source URL, username (-u) and password (-p)

How do I enable permissions?

If I got the URL http://localhost:8091/pools/default/buckets in a browser I can see the data/

1 Answer

« Back to question.

Hello,

So your issue was due to a bad password.

Regards
Tug