You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by kaspersorensen <gi...@git.apache.org> on 2017/08/22 06:43:30 UTC
[GitHub] metamodel-membrane issue #8: Attempt to run postman tests with Travis CI.
Github user kaspersorensen commented on the issue:
https://github.com/apache/metamodel-membrane/pull/8
That seems to have totally worked. I'm pretty excited about getting it right with the first commit ;-) 😊
Extract from the Travis build logs
```
[INFO] --- exec-maven-plugin:1.5.0:exec (newman-test) @ Membrane-postman-tests ---
newman
Membrane
→ Create my-tenant
PUT http://localhost:8080/my-tenant [200 OK, 193B, 71ms]
✓ Status code is 200
✓ type is tenant
→ Get my-tenant
GET http://localhost:8080/my-tenant [200 OK, 193B, 53ms]
✓ Status code is 200
✓ type is tenant
→ Create my-tenant/example-pojo
PUT http://localhost:8080/my-tenant/example-pojo [200 OK, 420B, 184ms]
✓ Status code is 200
✓ type is datasource
✓ is updateable
→ Create my-tenant/example-postgres
PUT http://localhost:8080/my-tenant/example-postgres [200 OK, 507B, 134ms]
✓ Status code is 200
✓ type is datasource
✓ is updateable
→ Create my-tenant/example-couchdb
PUT http://localhost:8080/my-tenant/example-couchdb [200 OK, 434B, 71ms]
✓ Status code is 200
✓ type is datasource
✓ is updateable
→ Delete my-tenant
DELETE http://localhost:8080/my-tenant [200 OK, 191B, 12ms]
✓ Status code is 200
✓ type is tenant
✓ deleted is true
┌─────────────────────────┬──────────┬──────────┐
│ │ executed │ failed │
├─────────────────────────┼──────────┼──────────┤
│ iterations │ 1 │ 0 │
├─────────────────────────┼──────────┼──────────┤
│ requests │ 6 │ 0 │
├─────────────────────────┼──────────┼──────────┤
│ test-scripts │ 6 │ 0 │
├─────────────────────────┼──────────┼──���───────┤
│ prerequest-scripts │ 0 │ 0 │
├─────────────────────────┼──────────┼──────────┤
│ assertions │ 16 │ 0 │
├─────────────────────────┴──────────┴──────────┤
│ total run duration: 777ms │
├───────────────────────────────────────────────┤
│ total data received: 1.07KB (approx) │
├───────────────────────────────────────────────┤
│ average response time: 87ms │
└───────────────────────────────────────────────┘
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---