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


#1

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/


#2

OK, I tried again at work. I guess this must just be me using the wrong user name and password at home.


#3

Hello,

So your issue was due to a bad password.

Regards
Tug


#4

Yes, looks like it…
Thank you!