Test duration : 8.762s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.104s |
2022-04-13 22:36:18 |
2022-04-13 22:36:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:18 | ------------------------------------ 2022-04-13 22:36:18 | [Mutex] waiting for: [configured:node:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:node-743cd118-4be4-423f-9630-b8078283f2b8] 2022-04-13 22:36:18 | [Mutex] received everything. 2022-04-13 22:36:18 | [Mutex] isItemNotified: configured:node:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:node-743cd118-4be4-423f-9630-b8078283f2b8 :: true 2022-04-13 22:36:19 | [Mutex] waiting for: [received:nodes:3b1379df-7df1-4b9f-9776-ca8f19f092c5:localhost] 2022-04-13 22:36:19 | [Mutex] received everything. 2022-04-13 22:36:19 | [Mutex] isItemNotified: received:node:3b1379df-7df1-4b9f-9776-ca8f19f092c5:localhost:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:Node 0238c56b-8ba1-4d5a-b91e-27353cfe07e2 :: true 2022-04-13 22:36:19 | [Mutex] waiting for: [received:nodes:761e1c0d-28ac-4643-8228-451820037848:localhost] 2022-04-13 22:36:19 | [Mutex] waiting for: [received:nodes:761e1c0d-28ac-4643-8228-451820037848:localhost] 2022-04-13 22:36:19 | [Mutex] received everything. 2022-04-13 22:36:19 | [Mutex] isItemNotified: received:node:761e1c0d-28ac-4643-8228-451820037848:localhost:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:Node 0238c56b-8ba1-4d5a-b91e-27353cfe07e2 :: false |
createNodes | 1.586s |
2022-04-13 22:36:16 |
2022-04-13 22:36:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:16 | ------------------------------------ 2022-04-13 22:36:16 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "pubsub#title": "Node 0238c56b-8ba1-4d5a-b91e-27353cfe07e2" } 2022-04-13 22:36:16 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:36:17 | [Mutex] waiting for: [received:nodes:96f25b0b-ea39-4b11-a38c-db293aeeab6f:localhost] 2022-04-13 22:36:17 | [Mutex] received everything. 2022-04-13 22:36:17 | [Mutex] isItemNotified: received:node:96f25b0b-ea39-4b11-a38c-db293aeeab6f:localhost:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:Node 0238c56b-8ba1-4d5a-b91e-27353cfe07e2 :: true |
createSubnodes | 1.026s |
2022-04-13 22:36:17 |
2022-04-13 22:36:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:17 | ------------------------------------ 2022-04-13 22:36:17 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-743cd118-4be4-423f-9630-b8078283f2b8", "pubsub#title": "Node 743cd118-4be4-423f-9630-b8078283f2b8" } 2022-04-13 22:36:17 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:36:18 | [Mutex] waiting for: [received:nodes:c36b76ee-138f-49a9-bba4-4bab229d24b7:localhost] 2022-04-13 22:36:18 | [Mutex] received everything. 2022-04-13 22:36:18 | [Mutex] isItemNotified: received:node:c36b76ee-138f-49a9-bba4-4bab229d24b7:localhost:node-743cd118-4be4-423f-9630-b8078283f2b8:Node 743cd118-4be4-423f-9630-b8078283f2b8 :: true |
deleteNodes | 1.020s |
2022-04-13 22:36:23 |
2022-04-13 22:36:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:23 | ------------------------------------ 2022-04-13 22:36:23 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-743cd118-4be4-423f-9630-b8078283f2b8" } 2022-04-13 22:36:23 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:36:24 | [Mutex] waiting for: [received:nodes:a8477324-6327-488a-bfdd-f84848e9b98e:localhost] 2022-04-13 22:36:24 | [Mutex] received everything. 2022-04-13 22:36:24 | [Mutex] isItemNotified: received:node:a8477324-6327-488a-bfdd-f84848e9b98e:localhost:node-743cd118-4be4-423f-9630-b8078283f2b8:Node 743cd118-4be4-423f-9630-b8078283f2b8 :: false |
deleteSubnodes | 1.026s |
2022-04-13 22:36:22 |
2022-04-13 22:36:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:22 | ------------------------------------ 2022-04-13 22:36:22 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2" } 2022-04-13 22:36:22 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-04-13 22:36:23 | [Mutex] waiting for: [received:nodes:f569b634-54b7-483c-b74c-721206b178ac:localhost] 2022-04-13 22:36:23 | [Mutex] received everything. 2022-04-13 22:36:23 | [Mutex] isItemNotified: received:node:f569b634-54b7-483c-b74c-721206b178ac:localhost:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:Node 0238c56b-8ba1-4d5a-b91e-27353cfe07e2 :: false 2022-04-13 22:36:23 | [Mutex] waiting for: [received:nodes:94d9b156-7f55-4057-8c91-d56ece996a2c:localhost] 2022-04-13 22:36:23 | [Mutex] received everything. 2022-04-13 22:36:23 | [Mutex] isItemNotified: received:node:94d9b156-7f55-4057-8c91-d56ece996a2c:localhost:node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2:Node 0238c56b-8ba1-4d5a-b91e-27353cfe07e2 :: false |
publishItemsToNodes | 0.031s |
2022-04-13 22:36:20 |
2022-04-13 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:20 | ------------------------------------ 2022-04-13 22:36:20 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "entry": "<test>item-95922500-0c8b-4ac2-be6d-aa6cb569eb99</test>", "item-id": "item-95922500-0c8b-4ac2-be6d-aa6cb569eb99" } 2022-04-13 22:36:20 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-95922500-0c8b-4ac2-be6d-aa6cb569eb99" } 2022-04-13 22:36:20 | [Mutex] waiting for: [published:item:notifieditem-95922500-0c8b-4ac2-be6d-aa6cb569eb99:admin@test-domain.com] 2022-04-13 22:36:20 | [Mutex] received everything. 2022-04-13 22:36:20 | [Mutex] isItemNotified: published:item:notifieditem-95922500-0c8b-4ac2-be6d-aa6cb569eb99:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-04-13 22:36:21 |
2022-04-13 22:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:21 | ------------------------------------ 2022-04-13 22:36:21 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "item-id": "item-95922500-0c8b-4ac2-be6d-aa6cb569eb99" } 2022-04-13 22:36:21 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-95922500-0c8b-4ac2-be6d-aa6cb569eb99" } 2022-04-13 22:36:21 | [Mutex] received everything. 2022-04-13 22:36:21 | [Mutex] isItemNotified: retracted:item:notifieditem-95922500-0c8b-4ac2-be6d-aa6cb569eb99:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.073s |
2022-04-13 22:36:20 |
2022-04-13 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:20 | ------------------------------------ 2022-04-13 22:36:20 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "item-id": "item-95922500-0c8b-4ac2-be6d-aa6cb569eb99" } 2022-04-13 22:36:20 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "item-id": "item-95922500-0c8b-4ac2-be6d-aa6cb569eb99", "item": [ "<item id=\"item-95922500-0c8b-4ac2-be6d-aa6cb569eb99\"><test>item-95922500-0c8b-4ac2-be6d-aa6cb569eb99</test></item>" ] } 2022-04-13 22:36:20 | [Mutex] notify: [retrieved:item:item-95922500-0c8b-4ac2-be6d-aa6cb569eb99:payload-matches:true:localhost] 2022-04-13 22:36:20 | [Mutex] received everything. 2022-04-13 22:36:20 | [Mutex] isItemNotified: retrieved:item:item-95922500-0c8b-4ac2-be6d-aa6cb569eb99:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-04-13 22:36:20 |
2022-04-13 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:20 | ------------------------------------ 2022-04-13 22:36:20 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-04-13 22:36:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "node-743cd118-4be4-423f-9630-b8078283f2b8" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2022-04-13 22:36:20 |
2022-04-13 22:36:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:20 | ------------------------------------ 2022-04-13 22:36:20 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2)" } 2022-04-13 22:36:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.013s |
2022-04-13 22:36:19 |
2022-04-13 22:36:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:19 | ------------------------------------ 2022-04-13 22:36:19 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "jids": [ "admin@test-domain.com" ] } 2022-04-13 22:36:19 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.051s |
2022-04-13 22:36:21 |
2022-04-13 22:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-04-13 22:36:21 | ------------------------------------ 2022-04-13 22:36:21 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-0238c56b-8ba1-4d5a-b91e-27353cfe07e2", "jids": [ "admin@test-domain.com" ] } 2022-04-13 22:36:21 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |