Skip to content

Latest commit

 

History

History
 
 

rcDataset

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Rocket.Chat Dataset Creation

This is a api test for Smarti to test the basic features.

Usage

The environment is packaged as docker-image:

docker build -t rocketchat:datacreation .
docker run --rm rocketchat:datacreation [options]

Available Options

Mandatory arguments to long options are mandatory for short options too

  • --username: admin-user for Rocket.Chat, default is rocketchat.internal.admin.test
  • --password: admin_password for Rocket.Chat, default is rocketchat.internal.admin.test
  • --url: base-url for Smarti, default is http://localhost:3000/
  • --loglevel: loglevel for Requests, default is error
  • --numRequests: number-of-requests for dataset, default is 5
  • --maxMessages: max-number-of-messages for each request, default is 3

Troubleshooting

Linux

To make the Docker-Container connect to your lokal Rocket.Chat, you need to start it with the --net=host option.

Mac

To make the Docker-Container connect to your lokal Rocket.Chat, use the following url: http://docker.for.mac.host.internal:port/