This is a api test for Smarti to test the basic features.
The environment is packaged as docker-image:
docker build -t rocketchat:datacreation .
docker run --rm rocketchat:datacreation [options]
Mandatory arguments to long options are mandatory for short options too
--username
: admin-user for Rocket.Chat, default isrocketchat.internal.admin.test
--password
: admin_password for Rocket.Chat, default isrocketchat.internal.admin.test
--url
: base-url for Smarti, default ishttp://localhost:3000/
--loglevel
: loglevel for Requests, default iserror
--numRequests
: number-of-requests for dataset, default is 5--maxMessages
: max-number-of-messages for each request, default is 3
To make the Docker-Container connect to your lokal Rocket.Chat, you need to start it with the --net=host option.
To make the Docker-Container connect to your lokal Rocket.Chat, use the following url: http://docker.for.mac.host.internal:port/