Test duration: 8.985s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.100s |
2020-05-27 00:57:37 |
2020-05-27 00:57:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:37 | ------------------------------------ 2020-05-27 00:57:37 | [Mutex] waiting for: [configured:node:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:node-decca50c-3df3-492f-b0a1-fe18d9bc24e0] 2020-05-27 00:57:37 | [Mutex] received everything. 2020-05-27 00:57:37 | [Mutex] isItemNotified: configured:node:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:node-decca50c-3df3-492f-b0a1-fe18d9bc24e0 :: true 2020-05-27 00:57:38 | [Mutex] waiting for: [received:nodes:13d52315-825e-43eb-b512-55c11fd204b6:localhost] 2020-05-27 00:57:38 | [Mutex] received everything. 2020-05-27 00:57:38 | [Mutex] isItemNotified: received:node:13d52315-825e-43eb-b512-55c11fd204b6:localhost:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:Node e91897d9-5d52-4668-ad12-91a0bc4f376f :: true 2020-05-27 00:57:38 | [Mutex] waiting for: [received:nodes:1c018e7e-aba4-42c8-b763-57acc5017197:localhost] 2020-05-27 00:57:38 | [Mutex] received everything. 2020-05-27 00:57:38 | [Mutex] isItemNotified: received:node:1c018e7e-aba4-42c8-b763-57acc5017197:localhost:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:Node e91897d9-5d52-4668-ad12-91a0bc4f376f :: false |
createNodes | 1.616s |
2020-05-27 00:57:35 |
2020-05-27 00:57:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:35 | ------------------------------------ 2020-05-27 00:57:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "pubsub#title": "Node e91897d9-5d52-4668-ad12-91a0bc4f376f" } 2020-05-27 00:57:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 00:57:36 | [Mutex] waiting for: [received:nodes:0b1670c0-3e80-4a53-91ef-5fbd70d14060:localhost] 2020-05-27 00:57:36 | [Mutex] received everything. 2020-05-27 00:57:36 | [Mutex] isItemNotified: received:node:0b1670c0-3e80-4a53-91ef-5fbd70d14060:localhost:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:Node e91897d9-5d52-4668-ad12-91a0bc4f376f :: true |
createSubnodes | 1.031s |
2020-05-27 00:57:36 |
2020-05-27 00:57:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:36 | ------------------------------------ 2020-05-27 00:57:36 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-decca50c-3df3-492f-b0a1-fe18d9bc24e0", "pubsub#title": "Node decca50c-3df3-492f-b0a1-fe18d9bc24e0" } 2020-05-27 00:57:36 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 00:57:37 | [Mutex] waiting for: [received:nodes:85fd98f8-62db-4955-87ff-56d13ff76f64:localhost] 2020-05-27 00:57:37 | [Mutex] received everything. 2020-05-27 00:57:37 | [Mutex] isItemNotified: received:node:85fd98f8-62db-4955-87ff-56d13ff76f64:localhost:node-decca50c-3df3-492f-b0a1-fe18d9bc24e0:Node decca50c-3df3-492f-b0a1-fe18d9bc24e0 :: true |
deleteNodes | 1.028s |
2020-05-27 00:57:42 |
2020-05-27 00:57:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:42 | ------------------------------------ 2020-05-27 00:57:42 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-decca50c-3df3-492f-b0a1-fe18d9bc24e0" } 2020-05-27 00:57:42 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 00:57:43 | [Mutex] waiting for: [received:nodes:01270c39-f22c-4837-aabb-56531b48307b:localhost] 2020-05-27 00:57:43 | [Mutex] received everything. 2020-05-27 00:57:43 | [Mutex] isItemNotified: received:node:01270c39-f22c-4837-aabb-56531b48307b:localhost:node-decca50c-3df3-492f-b0a1-fe18d9bc24e0:Node decca50c-3df3-492f-b0a1-fe18d9bc24e0 :: false |
deleteSubnodes | 1.022s |
2020-05-27 00:57:41 |
2020-05-27 00:57:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:41 | ------------------------------------ 2020-05-27 00:57:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f" } 2020-05-27 00:57:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-05-27 00:57:42 | [Mutex] waiting for: [received:nodes:30483ba3-b57b-4d5f-872a-91410964f29e:localhost] 2020-05-27 00:57:42 | [Mutex] received everything. 2020-05-27 00:57:42 | [Mutex] isItemNotified: received:node:30483ba3-b57b-4d5f-872a-91410964f29e:localhost:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:Node e91897d9-5d52-4668-ad12-91a0bc4f376f :: false 2020-05-27 00:57:42 | [Mutex] waiting for: [received:nodes:37c46bd7-b244-4f68-8a60-536b58decefe:localhost] 2020-05-27 00:57:42 | [Mutex] received everything. 2020-05-27 00:57:42 | [Mutex] isItemNotified: received:node:37c46bd7-b244-4f68-8a60-536b58decefe:localhost:node-e91897d9-5d52-4668-ad12-91a0bc4f376f:Node e91897d9-5d52-4668-ad12-91a0bc4f376f :: false |
publishItemsToNodes | 0.036s |
2020-05-27 00:57:39 |
2020-05-27 00:57:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:39 | ------------------------------------ 2020-05-27 00:57:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "entry": "<test>item-eae96868-8b64-4301-9966-4d3e726fd726</test>", "item-id": "item-eae96868-8b64-4301-9966-4d3e726fd726" } 2020-05-27 00:57:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-eae96868-8b64-4301-9966-4d3e726fd726" } 2020-05-27 00:57:39 | [Mutex] waiting for: [published:item:notifieditem-eae96868-8b64-4301-9966-4d3e726fd726:admin@localhost] 2020-05-27 00:57:39 | [Mutex] received everything. 2020-05-27 00:57:39 | [Mutex] isItemNotified: published:item:notifieditem-eae96868-8b64-4301-9966-4d3e726fd726:admin@localhost :: true |
retractItemsFromNodes | 0.052s |
2020-05-27 00:57:40 |
2020-05-27 00:57:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:40 | ------------------------------------ 2020-05-27 00:57:40 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "item-id": "item-eae96868-8b64-4301-9966-4d3e726fd726" } 2020-05-27 00:57:40 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-eae96868-8b64-4301-9966-4d3e726fd726" } 2020-05-27 00:57:40 | [Mutex] received everything. 2020-05-27 00:57:40 | [Mutex] isItemNotified: retracted:item:notifieditem-eae96868-8b64-4301-9966-4d3e726fd726:admin@localhost :: true |
retrieveItemsFromNodes | 0.061s |
2020-05-27 00:57:39 |
2020-05-27 00:57:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:39 | ------------------------------------ 2020-05-27 00:57:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "item-id": "item-eae96868-8b64-4301-9966-4d3e726fd726" } 2020-05-27 00:57:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "item-id": "item-eae96868-8b64-4301-9966-4d3e726fd726", "item": [ "<item id=\"item-eae96868-8b64-4301-9966-4d3e726fd726\"><test>item-eae96868-8b64-4301-9966-4d3e726fd726</test></item>" ] } 2020-05-27 00:57:39 | [Mutex] notify: [retrieved:item:item-eae96868-8b64-4301-9966-4d3e726fd726:payload-matches:true:localhost] 2020-05-27 00:57:39 | [Mutex] received everything. 2020-05-27 00:57:39 | [Mutex] isItemNotified: retrieved:item:item-eae96868-8b64-4301-9966-4d3e726fd726:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-05-27 00:57:39 |
2020-05-27 00:57:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:39 | ------------------------------------ 2020-05-27 00:57:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-05-27 00:57:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-decca50c-3df3-492f-b0a1-fe18d9bc24e0", "node-e91897d9-5d52-4668-ad12-91a0bc4f376f" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2020-05-27 00:57:40 |
2020-05-27 00:57:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:40 | ------------------------------------ 2020-05-27 00:57:40 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-e91897d9-5d52-4668-ad12-91a0bc4f376f)" } 2020-05-27 00:57:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.015s |
2020-05-27 00:57:38 |
2020-05-27 00:57:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:38 | ------------------------------------ 2020-05-27 00:57:38 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "jids": [ "admin@localhost" ] } 2020-05-27 00:57:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.076s |
2020-05-27 00:57:40 |
2020-05-27 00:57:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-05-27 00:57:40 | ------------------------------------ 2020-05-27 00:57:40 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-e91897d9-5d52-4668-ad12-91a0bc4f376f", "jids": [ "admin@localhost" ] } 2020-05-27 00:57:40 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |