Test duration: 8.857s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.096s |
2020-06-17 00:28:00 |
2020-06-17 00:28:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:00 | ------------------------------------ 2020-06-17 00:28:00 | [Mutex] waiting for: [configured:node:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:node-01b75b61-1fd0-42f0-b510-b4727eba8c6b] 2020-06-17 00:28:01 | [Mutex] received everything. 2020-06-17 00:28:01 | [Mutex] isItemNotified: configured:node:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:node-01b75b61-1fd0-42f0-b510-b4727eba8c6b :: true 2020-06-17 00:28:02 | [Mutex] waiting for: [received:nodes:7e9d8c66-ba3a-4d6c-a8a7-edd283f6a88e:localhost] 2020-06-17 00:28:02 | [Mutex] received everything. 2020-06-17 00:28:02 | [Mutex] isItemNotified: received:node:7e9d8c66-ba3a-4d6c-a8a7-edd283f6a88e:localhost:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:Node e9fcd426-1c97-4193-91bb-3c63f1fe442d :: true 2020-06-17 00:28:02 | [Mutex] waiting for: [received:nodes:7b88ebec-c790-44f7-abc7-44b0609a8d04:localhost] 2020-06-17 00:28:02 | [Mutex] received everything. 2020-06-17 00:28:02 | [Mutex] isItemNotified: received:node:7b88ebec-c790-44f7-abc7-44b0609a8d04:localhost:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:Node e9fcd426-1c97-4193-91bb-3c63f1fe442d :: false |
createNodes | 1.558s |
2020-06-17 00:27:58 |
2020-06-17 00:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:27:58 | ------------------------------------ 2020-06-17 00:27:58 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "leaf", "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "pubsub#title": "Node e9fcd426-1c97-4193-91bb-3c63f1fe442d" } 2020-06-17 00:27:58 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-17 00:27:59 | [Mutex] waiting for: [received:nodes:84bcfd57-e366-416a-a0de-10396f6edfed:localhost] 2020-06-17 00:27:59 | [Mutex] received everything. 2020-06-17 00:27:59 | [Mutex] isItemNotified: received:node:84bcfd57-e366-416a-a0de-10396f6edfed:localhost:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:Node e9fcd426-1c97-4193-91bb-3c63f1fe442d :: true |
createSubnodes | 1.019s |
2020-06-17 00:27:59 |
2020-06-17 00:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:27:59 | ------------------------------------ 2020-06-17 00:27:59 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@localhost", "pubsub#node_type": "collection", "node": "node-01b75b61-1fd0-42f0-b510-b4727eba8c6b", "pubsub#title": "Node 01b75b61-1fd0-42f0-b510-b4727eba8c6b" } 2020-06-17 00:27:59 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-17 00:28:00 | [Mutex] waiting for: [received:nodes:b83fa42e-5b1d-4283-a7e6-21643e5a0073:localhost] 2020-06-17 00:28:00 | [Mutex] received everything. 2020-06-17 00:28:00 | [Mutex] isItemNotified: received:node:b83fa42e-5b1d-4283-a7e6-21643e5a0073:localhost:node-01b75b61-1fd0-42f0-b510-b4727eba8c6b:Node 01b75b61-1fd0-42f0-b510-b4727eba8c6b :: true |
deleteNodes | 1.021s |
2020-06-17 00:28:05 |
2020-06-17 00:28:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:05 | ------------------------------------ 2020-06-17 00:28:05 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-01b75b61-1fd0-42f0-b510-b4727eba8c6b" } 2020-06-17 00:28:05 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-17 00:28:06 | [Mutex] waiting for: [received:nodes:da22bf8d-0f6e-4fae-b05c-e61036d96ddc:localhost] 2020-06-17 00:28:06 | [Mutex] received everything. 2020-06-17 00:28:06 | [Mutex] isItemNotified: received:node:da22bf8d-0f6e-4fae-b05c-e61036d96ddc:localhost:node-01b75b61-1fd0-42f0-b510-b4727eba8c6b:Node 01b75b61-1fd0-42f0-b510-b4727eba8c6b :: false |
deleteSubnodes | 1.022s |
2020-06-17 00:28:04 |
2020-06-17 00:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:04 | ------------------------------------ 2020-06-17 00:28:04 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d" } 2020-06-17 00:28:04 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-06-17 00:28:05 | [Mutex] waiting for: [received:nodes:cac15525-3d5a-4007-836f-ff044f01f619:localhost] 2020-06-17 00:28:05 | [Mutex] received everything. 2020-06-17 00:28:05 | [Mutex] isItemNotified: received:node:cac15525-3d5a-4007-836f-ff044f01f619:localhost:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:Node e9fcd426-1c97-4193-91bb-3c63f1fe442d :: false 2020-06-17 00:28:05 | [Mutex] waiting for: [received:nodes:463bd75f-c66c-4c9a-83f0-a11950fdd3c4:localhost] 2020-06-17 00:28:05 | [Mutex] received everything. 2020-06-17 00:28:05 | [Mutex] isItemNotified: received:node:463bd75f-c66c-4c9a-83f0-a11950fdd3c4:localhost:node-e9fcd426-1c97-4193-91bb-3c63f1fe442d:Node e9fcd426-1c97-4193-91bb-3c63f1fe442d :: false |
publishItemsToNodes | 0.037s |
2020-06-17 00:28:03 |
2020-06-17 00:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:03 | ------------------------------------ 2020-06-17 00:28:03 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "entry": "<test>item-f89bfea3-28f4-433d-92d3-2480f5ce5653</test>", "item-id": "item-f89bfea3-28f4-433d-92d3-2480f5ce5653" } 2020-06-17 00:28:03 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f89bfea3-28f4-433d-92d3-2480f5ce5653" } 2020-06-17 00:28:03 | [Mutex] waiting for: [published:item:notifieditem-f89bfea3-28f4-433d-92d3-2480f5ce5653:admin@localhost] 2020-06-17 00:28:03 | [Mutex] received everything. 2020-06-17 00:28:03 | [Mutex] isItemNotified: published:item:notifieditem-f89bfea3-28f4-433d-92d3-2480f5ce5653:admin@localhost :: true |
retractItemsFromNodes | 0.052s |
2020-06-17 00:28:03 |
2020-06-17 00:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:03 | ------------------------------------ 2020-06-17 00:28:03 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "item-id": "item-f89bfea3-28f4-433d-92d3-2480f5ce5653" } 2020-06-17 00:28:03 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f89bfea3-28f4-433d-92d3-2480f5ce5653" } 2020-06-17 00:28:03 | [Mutex] received everything. 2020-06-17 00:28:03 | [Mutex] isItemNotified: retracted:item:notifieditem-f89bfea3-28f4-433d-92d3-2480f5ce5653:admin@localhost :: true |
retrieveItemsFromNodes | 0.060s |
2020-06-17 00:28:03 |
2020-06-17 00:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:03 | ------------------------------------ 2020-06-17 00:28:03 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "item-id": "item-f89bfea3-28f4-433d-92d3-2480f5ce5653" } 2020-06-17 00:28:03 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "item-id": "item-f89bfea3-28f4-433d-92d3-2480f5ce5653", "item": [ "<item id=\"item-f89bfea3-28f4-433d-92d3-2480f5ce5653\"><test>item-f89bfea3-28f4-433d-92d3-2480f5ce5653</test></item>" ] } 2020-06-17 00:28:03 | [Mutex] notify: [retrieved:item:item-f89bfea3-28f4-433d-92d3-2480f5ce5653:payload-matches:true:localhost] 2020-06-17 00:28:03 | [Mutex] received everything. 2020-06-17 00:28:03 | [Mutex] isItemNotified: retrieved:item:item-f89bfea3-28f4-433d-92d3-2480f5ce5653:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2020-06-17 00:28:03 |
2020-06-17 00:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:03 | ------------------------------------ 2020-06-17 00:28:03 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost" } 2020-06-17 00:28:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-01b75b61-1fd0-42f0-b510-b4727eba8c6b", "test", "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2020-06-17 00:28:03 |
2020-06-17 00:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:03 | ------------------------------------ 2020-06-17 00:28:03 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@localhost", "node-pattern": "(?!node-e9fcd426-1c97-4193-91bb-3c63f1fe442d)" } 2020-06-17 00:28:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2020-06-17 00:28:02 |
2020-06-17 00:28:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:02 | ------------------------------------ 2020-06-17 00:28:02 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "jids": [ "admin@localhost" ] } 2020-06-17 00:28:02 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.103s |
2020-06-17 00:28:03 |
2020-06-17 00:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-06-17 00:28:03 | ------------------------------------ 2020-06-17 00:28:03 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-e9fcd426-1c97-4193-91bb-3c63f1fe442d", "jids": [ "admin@localhost" ] } 2020-06-17 00:28:03 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |