Testing cloud application covering various parts of MBaaS APIs.
The basic usage is to deploy this application and access /test endpoint,
which will execute all tests (except for AppForms) and return results (in HTML or JSON format).
Tests can be executed individually per each area or the MBaaS APIs can be
utilized directly via prepared endpoints.
-
Redis (tested on version 3.2.0)
- download redis
- unpack it and run
<redis-folder>/src/redis-server
-
MongoDB (tested on version 3.4.3)
- install via brew/package manager
- create
adminuser with passwordadmin:
mongo FH_LOCAL --eval 'db.createUser({ user:"admin", pwd:"admin", roles: [{ role: "readWrite", db: "FH_LOCAL" }] })'
Mbaas-art-core uses this app for cloud API testing. It executes all tests. Example usage:
grunt art-core:local --prefix mbaas-art- --core local --env dev
GET /testexecute all testsGET /cache/testexecute Cache API testsGET /db/testexecute Database API testsGET /hash/testexecute Hash API testsGET /host/testexecute Host API testGET /secure/testexecute Secure API testsGET /stats/testexecute Statistics API testsGET /serviceexecute Service connection test (Cloud App must have permissions to call the Service)POST /forms/testexecute AppForms API tests (expects form, theme and clientApp definitions and cloudApp and project guids in JSON format)
GET /cache/saveGET /cache/loadGET /cache/remove
GET /db/createGET /db/updateGET /db/readGET /db/listGET /db/deleteGET /db/deleteallGET /db/index
GET /hash/md5GET /hash/sha1GET /hash/sha256GET /hash/sha512
GET /host
GET /secure/rsa_keysGET /secure/aes_keys
GET /stats/incGET /stats/decGET /stats/timing
GET /process/version