Test duration : 9.390s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.118s |
2020-11-01 21:30:20 |
2020-11-01 21:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:20 | ------------------------------------ 2020-11-01 21:30:20 | [Mutex] waiting for: [configured:node:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:node-f95fb83e-df51-4eba-aa30-9de2a6f47d82] 2020-11-01 21:30:20 | [Mutex] received everything. 2020-11-01 21:30:20 | [Mutex] isItemNotified: configured:node:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:node-f95fb83e-df51-4eba-aa30-9de2a6f47d82 :: true 2020-11-01 21:30:21 | [Mutex] waiting for: [received:nodes:f5f7cbc9-0490-4c54-b062-df5c5dbbfd34:localhost] 2020-11-01 21:30:21 | [Mutex] received everything. 2020-11-01 21:30:21 | [Mutex] isItemNotified: received:node:f5f7cbc9-0490-4c54-b062-df5c5dbbfd34:localhost:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:Node c23eaea9-706e-4dc6-b35e-09721020f6bc :: true 2020-11-01 21:30:21 | [Mutex] waiting for: [received:nodes:92a8bfb5-5dba-4427-89a6-6ae0e91b8d6f:localhost] 2020-11-01 21:30:21 | [Mutex] received everything. 2020-11-01 21:30:21 | [Mutex] isItemNotified: received:node:92a8bfb5-5dba-4427-89a6-6ae0e91b8d6f:localhost:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:Node c23eaea9-706e-4dc6-b35e-09721020f6bc :: false |
createNodes | 1.701s |
2020-11-01 21:30:17 |
2020-11-01 21:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:17 | ------------------------------------ 2020-11-01 21:30:18 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "pubsub#title": "Node c23eaea9-706e-4dc6-b35e-09721020f6bc" } 2020-11-01 21:30:18 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:30:19 | [Mutex] waiting for: [received:nodes:1d6df7e2-bbac-4e08-b6ed-645ecd2f479b:localhost] 2020-11-01 21:30:19 | [Mutex] waiting for: [received:nodes:1d6df7e2-bbac-4e08-b6ed-645ecd2f479b:localhost] 2020-11-01 21:30:19 | [Mutex] received everything. 2020-11-01 21:30:19 | [Mutex] isItemNotified: received:node:1d6df7e2-bbac-4e08-b6ed-645ecd2f479b:localhost:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:Node c23eaea9-706e-4dc6-b35e-09721020f6bc :: true |
createSubnodes | 1.027s |
2020-11-01 21:30:19 |
2020-11-01 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:19 | ------------------------------------ 2020-11-01 21:30:19 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-f95fb83e-df51-4eba-aa30-9de2a6f47d82", "pubsub#title": "Node f95fb83e-df51-4eba-aa30-9de2a6f47d82" } 2020-11-01 21:30:19 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:30:20 | [Mutex] waiting for: [received:nodes:e9cb953b-9cb3-4021-b0c6-66d3a1777852:localhost] 2020-11-01 21:30:20 | [Mutex] received everything. 2020-11-01 21:30:20 | [Mutex] isItemNotified: received:node:e9cb953b-9cb3-4021-b0c6-66d3a1777852:localhost:node-f95fb83e-df51-4eba-aa30-9de2a6f47d82:Node f95fb83e-df51-4eba-aa30-9de2a6f47d82 :: true |
deleteNodes | 1.027s |
2020-11-01 21:30:25 |
2020-11-01 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:25 | ------------------------------------ 2020-11-01 21:30:25 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f95fb83e-df51-4eba-aa30-9de2a6f47d82" } 2020-11-01 21:30:25 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:30:26 | [Mutex] waiting for: [received:nodes:6832edb6-5060-4aed-bd5f-422d3b7e1e62:localhost] 2020-11-01 21:30:26 | [Mutex] received everything. 2020-11-01 21:30:26 | [Mutex] isItemNotified: received:node:6832edb6-5060-4aed-bd5f-422d3b7e1e62:localhost:node-f95fb83e-df51-4eba-aa30-9de2a6f47d82:Node f95fb83e-df51-4eba-aa30-9de2a6f47d82 :: false |
deleteSubnodes | 1.039s |
2020-11-01 21:30:24 |
2020-11-01 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:24 | ------------------------------------ 2020-11-01 21:30:24 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc" } 2020-11-01 21:30:24 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-11-01 21:30:25 | [Mutex] waiting for: [received:nodes:1f51f2c9-39f8-48c2-bd37-2ae79bd4213a:localhost] 2020-11-01 21:30:25 | [Mutex] waiting for: [received:nodes:1f51f2c9-39f8-48c2-bd37-2ae79bd4213a:localhost] 2020-11-01 21:30:25 | [Mutex] received everything. 2020-11-01 21:30:25 | [Mutex] isItemNotified: received:node:1f51f2c9-39f8-48c2-bd37-2ae79bd4213a:localhost:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:Node c23eaea9-706e-4dc6-b35e-09721020f6bc :: false 2020-11-01 21:30:25 | [Mutex] waiting for: [received:nodes:2cdb0879-3ed7-459d-9ae8-699afc96addc:localhost] 2020-11-01 21:30:25 | [Mutex] received everything. 2020-11-01 21:30:25 | [Mutex] isItemNotified: received:node:2cdb0879-3ed7-459d-9ae8-699afc96addc:localhost:node-c23eaea9-706e-4dc6-b35e-09721020f6bc:Node c23eaea9-706e-4dc6-b35e-09721020f6bc :: false |
publishItemsToNodes | 0.056s |
2020-11-01 21:30:22 |
2020-11-01 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:22 | ------------------------------------ 2020-11-01 21:30:22 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "entry": "<test>item-5db3e48d-1071-4666-acce-04163f347283</test>", "item-id": "item-5db3e48d-1071-4666-acce-04163f347283" } 2020-11-01 21:30:22 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-5db3e48d-1071-4666-acce-04163f347283" } 2020-11-01 21:30:22 | [Mutex] waiting for: [published:item:notifieditem-5db3e48d-1071-4666-acce-04163f347283:admin@test-domain.com] 2020-11-01 21:30:22 | [Mutex] received everything. 2020-11-01 21:30:22 | [Mutex] isItemNotified: published:item:notifieditem-5db3e48d-1071-4666-acce-04163f347283:admin@test-domain.com :: true |
retractItemsFromNodes | 0.071s |
2020-11-01 21:30:23 |
2020-11-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:23 | ------------------------------------ 2020-11-01 21:30:23 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "item-id": "item-5db3e48d-1071-4666-acce-04163f347283" } 2020-11-01 21:30:23 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-5db3e48d-1071-4666-acce-04163f347283" } 2020-11-01 21:30:23 | [Mutex] received everything. 2020-11-01 21:30:23 | [Mutex] isItemNotified: retracted:item:notifieditem-5db3e48d-1071-4666-acce-04163f347283:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.088s |
2020-11-01 21:30:22 |
2020-11-01 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:22 | ------------------------------------ 2020-11-01 21:30:22 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "item-id": "item-5db3e48d-1071-4666-acce-04163f347283" } 2020-11-01 21:30:22 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "item-id": "item-5db3e48d-1071-4666-acce-04163f347283", "item": [ "<item id=\"item-5db3e48d-1071-4666-acce-04163f347283\"><test>item-5db3e48d-1071-4666-acce-04163f347283</test></item>" ] } 2020-11-01 21:30:22 | [Mutex] notify: [retrieved:item:item-5db3e48d-1071-4666-acce-04163f347283:payload-matches:true:localhost] 2020-11-01 21:30:22 | [Mutex] received everything. 2020-11-01 21:30:22 | [Mutex] isItemNotified: retrieved:item:item-5db3e48d-1071-4666-acce-04163f347283:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2020-11-01 21:30:22 |
2020-11-01 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:22 | ------------------------------------ 2020-11-01 21:30:22 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-11-01 21:30:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-f95fb83e-df51-4eba-aa30-9de2a6f47d82", "node-c23eaea9-706e-4dc6-b35e-09721020f6bc" ] } |
retrieveUserSubscriptionsWithRegex | 0.056s |
2020-11-01 21:30:22 |
2020-11-01 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:22 | ------------------------------------ 2020-11-01 21:30:23 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-c23eaea9-706e-4dc6-b35e-09721020f6bc)" } 2020-11-01 21:30:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2020-11-01 21:30:21 |
2020-11-01 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:21 | ------------------------------------ 2020-11-01 21:30:21 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "jids": [ "admin@test-domain.com" ] } 2020-11-01 21:30:21 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.094s |
2020-11-01 21:30:23 |
2020-11-01 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-11-01 21:30:23 | ------------------------------------ 2020-11-01 21:30:23 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-c23eaea9-706e-4dc6-b35e-09721020f6bc", "jids": [ "admin@test-domain.com" ] } 2020-11-01 21:30:23 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |