Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

ProTip/iot-dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

iot-dash

Seeded Data

Account Id: testacct-0000-0000-0000-000000000000 Username: admin@gmail.com Password: scoobydoo Bearer Token: BEcSG4MsgCOk4+UTA8gtZw==

Running

Pre-requites

  • Docker / Docker Compose
  • Openssl
  • Make

Run
make run

Fake IOT Testing

Compliance

fakeiot --token=BEcSG4MsgCOk4+UTA8gtZw== --url=https://localhost:8000 --ca-cert=/<project_path>/server/ssl/cert.pem test

Generate Logins

fakeiot --token=BEcSG4MsgCOk4+UTA8gtZw== --url=https://localhost:8000 --ca-cert=/<project_path>/server/ssl/cert.pem run --account-id="testacct-0000-0000-0000-000000000000" --period=10s --freq=0.01s --users=100

Upgrade Account

curl -v -k -H "Authorization:Bearer BEcSG4MsgCOk4+UTA8gtZw==" -XPOST https://localhost:8000/account/upgrade

Get Metrics

curl -v -k -H "Authorization:Bearer BEcSG4MsgCOk4+UTA8gtZw==" https://localhost:8000/metrics

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published