mirror of https://github.com/statping/statping
postman API tests for different databases
parent
429170f006
commit
416984d083
|
@ -160,8 +160,7 @@ jobs:
|
||||||
- name: Postman Tests
|
- name: Postman Tests
|
||||||
uses: matt-ball/newman-action@master
|
uses: matt-ball/newman-action@master
|
||||||
with:
|
with:
|
||||||
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
collection: ./dev/postman.json
|
||||||
collection: 1898229-94807b85-ef65-4370-9144-b1a74e04cb0e
|
environment: ./dev/postman_environment_sqlite.json
|
||||||
environment: ./dev/postman_environment.json
|
|
||||||
timeoutRequest: 15000
|
timeoutRequest: 15000
|
||||||
delayRequest: 1000
|
delayRequest: 500
|
||||||
|
|
|
@ -183,11 +183,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
||||||
collection: 1898229-3c6a7841-0b39-4878-a3a6-1c76832b7679
|
collection: 1898229-3c6a7841-0b39-4878-a3a6-1c76832b7679
|
||||||
globals:
|
environment: ./dev/postman_env_sqlite.json
|
||||||
- values:
|
|
||||||
endpoint: http://127.0.0.1:8080
|
|
||||||
api_key: demosecret123
|
|
||||||
db_connection: sqlite
|
|
||||||
timeoutRequest: 15000
|
timeoutRequest: 15000
|
||||||
delayRequest: 500
|
delayRequest: 500
|
||||||
|
|
||||||
|
@ -242,16 +238,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
||||||
collection: 1898229-3c6a7841-0b39-4878-a3a6-1c76832b7679
|
collection: 1898229-3c6a7841-0b39-4878-a3a6-1c76832b7679
|
||||||
globals:
|
environment: ./dev/postman_env_mysql.json
|
||||||
- values:
|
|
||||||
endpoint: http://127.0.0.1:8080
|
|
||||||
api_key: demosecret123
|
|
||||||
db_connection: mysql
|
|
||||||
db_host: localhost
|
|
||||||
db_user: root
|
|
||||||
db_password: password123
|
|
||||||
db_database: statping
|
|
||||||
db_port: 3306
|
|
||||||
timeoutRequest: 15000
|
timeoutRequest: 15000
|
||||||
delayRequest: 500
|
delayRequest: 500
|
||||||
|
|
||||||
|
@ -307,16 +294,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
postmanApiKey: ${{ secrets.POSTMAN_API }}
|
||||||
collection: 1898229-3c6a7841-0b39-4878-a3a6-1c76832b7679
|
collection: 1898229-3c6a7841-0b39-4878-a3a6-1c76832b7679
|
||||||
globals:
|
environment: ./dev/postman_env_postgres.json
|
||||||
- values:
|
|
||||||
endpoint: http://127.0.0.1:8080
|
|
||||||
api_key: demosecret123
|
|
||||||
db_connection: postgres
|
|
||||||
db_host: localhost
|
|
||||||
db_user: root
|
|
||||||
db_password: password123
|
|
||||||
db_database: statping
|
|
||||||
db_port: 5432
|
|
||||||
timeoutRequest: 15000
|
timeoutRequest: 15000
|
||||||
delayRequest: 500
|
delayRequest: 500
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
"id": "0ff1dcd6-54f3-44a7-9c18-cc3c8e7df357",
|
||||||
|
"name": "Local Statping",
|
||||||
|
"values": [
|
||||||
|
{
|
||||||
|
"key": "endpoint",
|
||||||
|
"value": "http://0.0.0.0:8585",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "api_key",
|
||||||
|
"value": "demosecret123",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_connection",
|
||||||
|
"value": "mysql",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_host",
|
||||||
|
"value": "localhost",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_user",
|
||||||
|
"value": "root",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_password",
|
||||||
|
"value": "password123",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_database",
|
||||||
|
"value": "statping",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_port",
|
||||||
|
"value": "3306",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_postman_variable_scope": "environment",
|
||||||
|
"_postman_exported_at": "2020-05-18T20:44:05.571Z",
|
||||||
|
"_postman_exported_using": "Postman/7.24.0"
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
"id": "0ff1dcd6-54f3-44a7-9c18-cc3c8e7df357",
|
||||||
|
"name": "Local Statping",
|
||||||
|
"values": [
|
||||||
|
{
|
||||||
|
"key": "endpoint",
|
||||||
|
"value": "http://0.0.0.0:8585",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "api_key",
|
||||||
|
"value": "demosecret123",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_connection",
|
||||||
|
"value": "postgres",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_host",
|
||||||
|
"value": "localhost",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_user",
|
||||||
|
"value": "root",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_password",
|
||||||
|
"value": "password123",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_database",
|
||||||
|
"value": "statping",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_port",
|
||||||
|
"value": "5432",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_postman_variable_scope": "environment",
|
||||||
|
"_postman_exported_at": "2020-05-18T20:44:05.571Z",
|
||||||
|
"_postman_exported_using": "Postman/7.24.0"
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
"id": "0ff1dcd6-54f3-44a7-9c18-cc3c8e7df357",
|
||||||
|
"name": "Local Statping",
|
||||||
|
"values": [
|
||||||
|
{
|
||||||
|
"key": "endpoint",
|
||||||
|
"value": "http://0.0.0.0:8585",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "api_key",
|
||||||
|
"value": "demosecret123",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_connection",
|
||||||
|
"value": "sqlite",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_host",
|
||||||
|
"value": "localhost",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_user",
|
||||||
|
"value": "root",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_password",
|
||||||
|
"value": "password123",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_database",
|
||||||
|
"value": "statping",
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "db_port",
|
||||||
|
"value": "3306",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_postman_variable_scope": "environment",
|
||||||
|
"_postman_exported_at": "2020-05-18T20:44:05.571Z",
|
||||||
|
"_postman_exported_using": "Postman/7.24.0"
|
||||||
|
}
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"id": "0ff1dcd6-54f3-44a7-9c18-cc3c8e7df357",
|
|
||||||
"name": "Local Statping",
|
|
||||||
"values": [
|
|
||||||
{
|
|
||||||
"key": "endpoint",
|
|
||||||
"value": "http://127.0.0.1:8080",
|
|
||||||
"description": "",
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "api_key",
|
|
||||||
"value": "demosecret123",
|
|
||||||
"description": "",
|
|
||||||
"enabled": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_postman_variable_scope": "environment",
|
|
||||||
"_postman_exported_at": "2018-11-17T16:55:15.031Z",
|
|
||||||
"_postman_exported_using": "Postman/6.5.2"
|
|
||||||
}
|
|
Loading…
Reference in New Issue