Test duration : 8.515s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.077s |
2022-11-24 22:06:39 |
2022-11-24 22:06:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:39 | ------------------------------------ 2022-11-24 22:06:39 | [Mutex] waiting for: [configured:node:node-b7a70326-941c-4bab-84e9-52d59adcac5c:node-f805a649-03c9-434f-9c93-5afab0e06b2f] 2022-11-24 22:06:39 | [Mutex] received everything. 2022-11-24 22:06:39 | [Mutex] isItemNotified: configured:node:node-b7a70326-941c-4bab-84e9-52d59adcac5c:node-f805a649-03c9-434f-9c93-5afab0e06b2f :: true 2022-11-24 22:06:40 | [Mutex] waiting for: [received:nodes:302ffa69-8417-4044-828e-3f1e1e9d4acb:localhost] 2022-11-24 22:06:40 | [Mutex] received everything. 2022-11-24 22:06:40 | [Mutex] isItemNotified: received:node:302ffa69-8417-4044-828e-3f1e1e9d4acb:localhost:node-b7a70326-941c-4bab-84e9-52d59adcac5c:Node b7a70326-941c-4bab-84e9-52d59adcac5c :: true 2022-11-24 22:06:40 | [Mutex] waiting for: [received:nodes:afde6434-b75f-4817-bdee-3aa03a1cc8c1:localhost] 2022-11-24 22:06:40 | [Mutex] received everything. 2022-11-24 22:06:40 | [Mutex] isItemNotified: received:node:afde6434-b75f-4817-bdee-3aa03a1cc8c1:localhost:node-b7a70326-941c-4bab-84e9-52d59adcac5c:Node b7a70326-941c-4bab-84e9-52d59adcac5c :: false |
createNodes | 1.527s |
2022-11-24 22:06:36 |
2022-11-24 22:06:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:36 | ------------------------------------ 2022-11-24 22:06:37 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "pubsub#title": "Node b7a70326-941c-4bab-84e9-52d59adcac5c" } 2022-11-24 22:06:37 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-11-24 22:06:38 | [Mutex] waiting for: [received:nodes:ec396035-d4a4-4bcc-9873-183b4924727c:localhost] 2022-11-24 22:06:38 | [Mutex] received everything. 2022-11-24 22:06:38 | [Mutex] isItemNotified: received:node:ec396035-d4a4-4bcc-9873-183b4924727c:localhost:node-b7a70326-941c-4bab-84e9-52d59adcac5c:Node b7a70326-941c-4bab-84e9-52d59adcac5c :: true |
createSubnodes | 1.022s |
2022-11-24 22:06:38 |
2022-11-24 22:06:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:38 | ------------------------------------ 2022-11-24 22:06:38 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-f805a649-03c9-434f-9c93-5afab0e06b2f", "pubsub#title": "Node f805a649-03c9-434f-9c93-5afab0e06b2f" } 2022-11-24 22:06:38 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-11-24 22:06:39 | [Mutex] waiting for: [received:nodes:8f779839-191b-478b-9327-dbd8e2d26091:localhost] 2022-11-24 22:06:39 | [Mutex] waiting for: [received:nodes:8f779839-191b-478b-9327-dbd8e2d26091:localhost] 2022-11-24 22:06:39 | [Mutex] received everything. 2022-11-24 22:06:39 | [Mutex] isItemNotified: received:node:8f779839-191b-478b-9327-dbd8e2d26091:localhost:node-f805a649-03c9-434f-9c93-5afab0e06b2f:Node f805a649-03c9-434f-9c93-5afab0e06b2f :: true |
deleteNodes | 1.018s |
2022-11-24 22:06:43 |
2022-11-24 22:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:43 | ------------------------------------ 2022-11-24 22:06:43 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-f805a649-03c9-434f-9c93-5afab0e06b2f" } 2022-11-24 22:06:43 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-11-24 22:06:44 | [Mutex] waiting for: [received:nodes:9b1dedc1-5a26-4da3-a966-51aea0e510ec:localhost] 2022-11-24 22:06:44 | [Mutex] waiting for: [received:nodes:9b1dedc1-5a26-4da3-a966-51aea0e510ec:localhost] 2022-11-24 22:06:44 | [Mutex] received everything. 2022-11-24 22:06:44 | [Mutex] isItemNotified: received:node:9b1dedc1-5a26-4da3-a966-51aea0e510ec:localhost:node-f805a649-03c9-434f-9c93-5afab0e06b2f:Node f805a649-03c9-434f-9c93-5afab0e06b2f :: false |
deleteSubnodes | 1.030s |
2022-11-24 22:06:42 |
2022-11-24 22:06:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:42 | ------------------------------------ 2022-11-24 22:06:42 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c" } 2022-11-24 22:06:42 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-11-24 22:06:43 | [Mutex] waiting for: [received:nodes:dbac14be-d315-4aea-bc33-22f2c2c9f0ea:localhost] 2022-11-24 22:06:43 | [Mutex] received everything. 2022-11-24 22:06:43 | [Mutex] isItemNotified: received:node:dbac14be-d315-4aea-bc33-22f2c2c9f0ea:localhost:node-b7a70326-941c-4bab-84e9-52d59adcac5c:Node b7a70326-941c-4bab-84e9-52d59adcac5c :: false 2022-11-24 22:06:43 | [Mutex] waiting for: [received:nodes:2a3b700a-6053-4ec5-9c03-d22ff1d0e2cb:localhost] 2022-11-24 22:06:43 | [Mutex] received everything. 2022-11-24 22:06:43 | [Mutex] isItemNotified: received:node:2a3b700a-6053-4ec5-9c03-d22ff1d0e2cb:localhost:node-b7a70326-941c-4bab-84e9-52d59adcac5c:Node b7a70326-941c-4bab-84e9-52d59adcac5c :: false |
publishItemsToNodes | 0.045s |
2022-11-24 22:06:41 |
2022-11-24 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:41 | ------------------------------------ 2022-11-24 22:06:41 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "entry": "<test>item-aae51684-64d8-434a-8a5d-5c21aa583af1</test>", "item-id": "item-aae51684-64d8-434a-8a5d-5c21aa583af1" } 2022-11-24 22:06:41 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-aae51684-64d8-434a-8a5d-5c21aa583af1" } 2022-11-24 22:06:41 | [Mutex] waiting for: [published:item:notifieditem-aae51684-64d8-434a-8a5d-5c21aa583af1:admin@test-domain.com] 2022-11-24 22:06:41 | [Mutex] received everything. 2022-11-24 22:06:41 | [Mutex] isItemNotified: published:item:notifieditem-aae51684-64d8-434a-8a5d-5c21aa583af1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-11-24 22:06:41 |
2022-11-24 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:41 | ------------------------------------ 2022-11-24 22:06:41 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "item-id": "item-aae51684-64d8-434a-8a5d-5c21aa583af1" } 2022-11-24 22:06:41 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-aae51684-64d8-434a-8a5d-5c21aa583af1" } 2022-11-24 22:06:41 | [Mutex] received everything. 2022-11-24 22:06:41 | [Mutex] isItemNotified: retracted:item:notifieditem-aae51684-64d8-434a-8a5d-5c21aa583af1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.058s |
2022-11-24 22:06:41 |
2022-11-24 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:41 | ------------------------------------ 2022-11-24 22:06:41 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "item-id": "item-aae51684-64d8-434a-8a5d-5c21aa583af1" } 2022-11-24 22:06:41 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "item-id": "item-aae51684-64d8-434a-8a5d-5c21aa583af1", "item": [ "<item id=\"item-aae51684-64d8-434a-8a5d-5c21aa583af1\"><test>item-aae51684-64d8-434a-8a5d-5c21aa583af1</test></item>" ] } 2022-11-24 22:06:41 | [Mutex] notify: [retrieved:item:item-aae51684-64d8-434a-8a5d-5c21aa583af1:payload-matches:true:localhost] 2022-11-24 22:06:41 | [Mutex] received everything. 2022-11-24 22:06:41 | [Mutex] isItemNotified: retrieved:item:item-aae51684-64d8-434a-8a5d-5c21aa583af1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-11-24 22:06:41 |
2022-11-24 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:41 | ------------------------------------ 2022-11-24 22:06:41 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-11-24 22:06:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-f805a649-03c9-434f-9c93-5afab0e06b2f", "node-b7a70326-941c-4bab-84e9-52d59adcac5c" ] } |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-11-24 22:06:41 |
2022-11-24 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:41 | ------------------------------------ 2022-11-24 22:06:41 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-b7a70326-941c-4bab-84e9-52d59adcac5c)" } 2022-11-24 22:06:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-11-24 22:06:40 |
2022-11-24 22:06:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:40 | ------------------------------------ 2022-11-24 22:06:40 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "jids": [ "admin@test-domain.com" ] } 2022-11-24 22:06:40 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.079s |
2022-11-24 22:06:41 |
2022-11-24 22:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-11-24 22:06:41 | ------------------------------------ 2022-11-24 22:06:41 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-b7a70326-941c-4bab-84e9-52d59adcac5c", "jids": [ "admin@test-domain.com" ] } 2022-11-24 22:06:41 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |