Test duration : 8.627s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.103s |
2022-07-12 07:44:46 |
2022-07-12 07:44:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:46 | ------------------------------------ 2022-07-12 07:44:46 | [Mutex] waiting for: [configured:node:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:node-d217a6a6-c614-4687-8a0a-da725124facc] 2022-07-12 07:44:46 | [Mutex] received everything. 2022-07-12 07:44:46 | [Mutex] isItemNotified: configured:node:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:node-d217a6a6-c614-4687-8a0a-da725124facc :: true 2022-07-12 07:44:47 | [Mutex] waiting for: [received:nodes:fa70bde6-dc0b-4227-b7ab-b1ea9072106a:localhost] 2022-07-12 07:44:47 | [Mutex] received everything. 2022-07-12 07:44:47 | [Mutex] isItemNotified: received:node:fa70bde6-dc0b-4227-b7ab-b1ea9072106a:localhost:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:Node 5207a921-92c7-4975-b0cb-8c93c8628a8e :: true 2022-07-12 07:44:47 | [Mutex] waiting for: [received:nodes:28a81ce1-64c2-4af8-af4d-d9149f37ab1b:localhost] 2022-07-12 07:44:47 | [Mutex] received everything. 2022-07-12 07:44:47 | [Mutex] isItemNotified: received:node:28a81ce1-64c2-4af8-af4d-d9149f37ab1b:localhost:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:Node 5207a921-92c7-4975-b0cb-8c93c8628a8e :: false |
createNodes | 1.566s |
2022-07-12 07:44:43 |
2022-07-12 07:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:43 | ------------------------------------ 2022-07-12 07:44:44 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "pubsub#title": "Node 5207a921-92c7-4975-b0cb-8c93c8628a8e" } 2022-07-12 07:44:44 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-12 07:44:45 | [Mutex] waiting for: [received:nodes:b0a5e77d-63f4-4a10-9993-b87664b2a54f:localhost] 2022-07-12 07:44:45 | [Mutex] waiting for: [received:nodes:b0a5e77d-63f4-4a10-9993-b87664b2a54f:localhost] 2022-07-12 07:44:45 | [Mutex] received everything. 2022-07-12 07:44:45 | [Mutex] isItemNotified: received:node:b0a5e77d-63f4-4a10-9993-b87664b2a54f:localhost:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:Node 5207a921-92c7-4975-b0cb-8c93c8628a8e :: true |
createSubnodes | 1.024s |
2022-07-12 07:44:45 |
2022-07-12 07:44:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:45 | ------------------------------------ 2022-07-12 07:44:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-d217a6a6-c614-4687-8a0a-da725124facc", "pubsub#title": "Node d217a6a6-c614-4687-8a0a-da725124facc" } 2022-07-12 07:44:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-12 07:44:46 | [Mutex] waiting for: [received:nodes:956c9335-0b27-44d5-afc9-533edd7fe5f3:localhost] 2022-07-12 07:44:46 | [Mutex] received everything. 2022-07-12 07:44:46 | [Mutex] isItemNotified: received:node:956c9335-0b27-44d5-afc9-533edd7fe5f3:localhost:node-d217a6a6-c614-4687-8a0a-da725124facc:Node d217a6a6-c614-4687-8a0a-da725124facc :: true |
deleteNodes | 1.025s |
2022-07-12 07:44:50 |
2022-07-12 07:44:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:50 | ------------------------------------ 2022-07-12 07:44:50 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d217a6a6-c614-4687-8a0a-da725124facc" } 2022-07-12 07:44:50 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-12 07:44:51 | [Mutex] waiting for: [received:nodes:bccf2932-bf47-470d-995d-36da6614e80d:localhost] 2022-07-12 07:44:51 | [Mutex] waiting for: [received:nodes:bccf2932-bf47-470d-995d-36da6614e80d:localhost] 2022-07-12 07:44:51 | [Mutex] waiting for: [received:nodes:bccf2932-bf47-470d-995d-36da6614e80d:localhost] 2022-07-12 07:44:51 | [Mutex] waiting for: [received:nodes:bccf2932-bf47-470d-995d-36da6614e80d:localhost] 2022-07-12 07:44:51 | [Mutex] received everything. 2022-07-12 07:44:51 | [Mutex] isItemNotified: received:node:bccf2932-bf47-470d-995d-36da6614e80d:localhost:node-d217a6a6-c614-4687-8a0a-da725124facc:Node d217a6a6-c614-4687-8a0a-da725124facc :: false |
deleteSubnodes | 1.024s |
2022-07-12 07:44:49 |
2022-07-12 07:44:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:49 | ------------------------------------ 2022-07-12 07:44:49 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e" } 2022-07-12 07:44:49 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-12 07:44:50 | [Mutex] waiting for: [received:nodes:a71d7107-cd4b-4900-af80-f42efda00625:localhost] 2022-07-12 07:44:50 | [Mutex] received everything. 2022-07-12 07:44:50 | [Mutex] isItemNotified: received:node:a71d7107-cd4b-4900-af80-f42efda00625:localhost:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:Node 5207a921-92c7-4975-b0cb-8c93c8628a8e :: false 2022-07-12 07:44:50 | [Mutex] waiting for: [received:nodes:c9bc3f68-3b1f-48b8-8ac0-7e91464d9882:localhost] 2022-07-12 07:44:50 | [Mutex] received everything. 2022-07-12 07:44:50 | [Mutex] isItemNotified: received:node:c9bc3f68-3b1f-48b8-8ac0-7e91464d9882:localhost:node-5207a921-92c7-4975-b0cb-8c93c8628a8e:Node 5207a921-92c7-4975-b0cb-8c93c8628a8e :: false |
publishItemsToNodes | 0.030s |
2022-07-12 07:44:48 |
2022-07-12 07:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:48 | ------------------------------------ 2022-07-12 07:44:48 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "entry": "<test>item-db104e55-f252-4ae6-9e3a-b21bd7d8b444</test>", "item-id": "item-db104e55-f252-4ae6-9e3a-b21bd7d8b444" } 2022-07-12 07:44:48 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-db104e55-f252-4ae6-9e3a-b21bd7d8b444" } 2022-07-12 07:44:48 | [Mutex] waiting for: [published:item:notifieditem-db104e55-f252-4ae6-9e3a-b21bd7d8b444:admin@test-domain.com] 2022-07-12 07:44:48 | [Mutex] received everything. 2022-07-12 07:44:48 | [Mutex] isItemNotified: published:item:notifieditem-db104e55-f252-4ae6-9e3a-b21bd7d8b444:admin@test-domain.com :: true |
retractItemsFromNodes | 0.075s |
2022-07-12 07:44:48 |
2022-07-12 07:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:48 | ------------------------------------ 2022-07-12 07:44:48 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "item-id": "item-db104e55-f252-4ae6-9e3a-b21bd7d8b444" } 2022-07-12 07:44:48 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-db104e55-f252-4ae6-9e3a-b21bd7d8b444" } 2022-07-12 07:44:48 | [Mutex] waiting for: [retracted:item:notifieditem-db104e55-f252-4ae6-9e3a-b21bd7d8b444:admin@test-domain.com] 2022-07-12 07:44:48 | [Mutex] received everything. 2022-07-12 07:44:48 | [Mutex] isItemNotified: retracted:item:notifieditem-db104e55-f252-4ae6-9e3a-b21bd7d8b444:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.064s |
2022-07-12 07:44:48 |
2022-07-12 07:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:48 | ------------------------------------ 2022-07-12 07:44:48 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "item-id": "item-db104e55-f252-4ae6-9e3a-b21bd7d8b444" } 2022-07-12 07:44:48 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "item-id": "item-db104e55-f252-4ae6-9e3a-b21bd7d8b444", "item": [ "<item id=\"item-db104e55-f252-4ae6-9e3a-b21bd7d8b444\"><test>item-db104e55-f252-4ae6-9e3a-b21bd7d8b444</test></item>" ] } 2022-07-12 07:44:48 | [Mutex] notify: [retrieved:item:item-db104e55-f252-4ae6-9e3a-b21bd7d8b444:payload-matches:true:localhost] 2022-07-12 07:44:48 | [Mutex] received everything. 2022-07-12 07:44:48 | [Mutex] isItemNotified: retrieved:item:item-db104e55-f252-4ae6-9e3a-b21bd7d8b444:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.046s |
2022-07-12 07:44:48 |
2022-07-12 07:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:48 | ------------------------------------ 2022-07-12 07:44:48 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-07-12 07:44:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "test", "node-d217a6a6-c614-4687-8a0a-da725124facc" ] } |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-07-12 07:44:48 |
2022-07-12 07:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:48 | ------------------------------------ 2022-07-12 07:44:48 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-5207a921-92c7-4975-b0cb-8c93c8628a8e)" } 2022-07-12 07:44:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2022-07-12 07:44:47 |
2022-07-12 07:44:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:47 | ------------------------------------ 2022-07-12 07:44:47 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "jids": [ "admin@test-domain.com" ] } 2022-07-12 07:44:47 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.051s |
2022-07-12 07:44:48 |
2022-07-12 07:44:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-12 07:44:48 | ------------------------------------ 2022-07-12 07:44:48 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-5207a921-92c7-4975-b0cb-8c93c8628a8e", "jids": [ "admin@test-domain.com" ] } 2022-07-12 07:44:48 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |