Test duration : 9.325s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.105s |
2022-01-19 22:12:08 |
2022-01-19 22:12:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:08 | ------------------------------------ 2022-01-19 22:12:08 | [Mutex] waiting for: [configured:node:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:node-318fa63e-91fb-400b-94fa-6de9f7065e81] 2022-01-19 22:12:08 | [Mutex] received everything. 2022-01-19 22:12:08 | [Mutex] isItemNotified: configured:node:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:node-318fa63e-91fb-400b-94fa-6de9f7065e81 :: true 2022-01-19 22:12:09 | [Mutex] waiting for: [received:nodes:b6c02418-cbe2-4d22-84a2-a837330d3b70:localhost] 2022-01-19 22:12:09 | [Mutex] waiting for: [received:nodes:b6c02418-cbe2-4d22-84a2-a837330d3b70:localhost] 2022-01-19 22:12:09 | [Mutex] received everything. 2022-01-19 22:12:09 | [Mutex] isItemNotified: received:node:b6c02418-cbe2-4d22-84a2-a837330d3b70:localhost:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:Node 9fdc028b-da0e-4c4c-8d52-1c24403a31da :: true 2022-01-19 22:12:09 | [Mutex] waiting for: [received:nodes:4012300e-00e6-49f2-b178-9fe2921c5169:localhost] 2022-01-19 22:12:09 | [Mutex] received everything. 2022-01-19 22:12:09 | [Mutex] isItemNotified: received:node:4012300e-00e6-49f2-b178-9fe2921c5169:localhost:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:Node 9fdc028b-da0e-4c4c-8d52-1c24403a31da :: false |
createNodes | 1.924s |
2022-01-19 22:12:05 |
2022-01-19 22:12:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:05 | ------------------------------------ 2022-01-19 22:12:06 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "pubsub#title": "Node 9fdc028b-da0e-4c4c-8d52-1c24403a31da" } 2022-01-19 22:12:06 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-01-19 22:12:07 | [Mutex] waiting for: [received:nodes:76267a9a-390e-4359-89bc-ec8cf1ae7a89:localhost] 2022-01-19 22:12:07 | [Mutex] waiting for: [received:nodes:76267a9a-390e-4359-89bc-ec8cf1ae7a89:localhost] 2022-01-19 22:12:07 | [Mutex] waiting for: [received:nodes:76267a9a-390e-4359-89bc-ec8cf1ae7a89:localhost] 2022-01-19 22:12:07 | [Mutex] received everything. 2022-01-19 22:12:07 | [Mutex] isItemNotified: received:node:76267a9a-390e-4359-89bc-ec8cf1ae7a89:localhost:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:Node 9fdc028b-da0e-4c4c-8d52-1c24403a31da :: true |
createSubnodes | 1.025s |
2022-01-19 22:12:07 |
2022-01-19 22:12:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:07 | ------------------------------------ 2022-01-19 22:12:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-318fa63e-91fb-400b-94fa-6de9f7065e81", "pubsub#title": "Node 318fa63e-91fb-400b-94fa-6de9f7065e81" } 2022-01-19 22:12:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-01-19 22:12:08 | [Mutex] waiting for: [received:nodes:f660605f-9c25-4ac0-a0a9-8a3900a7a82a:localhost] 2022-01-19 22:12:08 | [Mutex] received everything. 2022-01-19 22:12:08 | [Mutex] isItemNotified: received:node:f660605f-9c25-4ac0-a0a9-8a3900a7a82a:localhost:node-318fa63e-91fb-400b-94fa-6de9f7065e81:Node 318fa63e-91fb-400b-94fa-6de9f7065e81 :: true |
deleteNodes | 1.029s |
2022-01-19 22:12:13 |
2022-01-19 22:12:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:13 | ------------------------------------ 2022-01-19 22:12:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-318fa63e-91fb-400b-94fa-6de9f7065e81" } 2022-01-19 22:12:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-01-19 22:12:14 | [Mutex] waiting for: [received:nodes:e392bac1-0883-4c16-b070-8c7326caf29b:localhost] 2022-01-19 22:12:14 | [Mutex] received everything. 2022-01-19 22:12:14 | [Mutex] isItemNotified: received:node:e392bac1-0883-4c16-b070-8c7326caf29b:localhost:node-318fa63e-91fb-400b-94fa-6de9f7065e81:Node 318fa63e-91fb-400b-94fa-6de9f7065e81 :: false |
deleteSubnodes | 1.026s |
2022-01-19 22:12:12 |
2022-01-19 22:12:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:12 | ------------------------------------ 2022-01-19 22:12:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da" } 2022-01-19 22:12:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-01-19 22:12:13 | [Mutex] waiting for: [received:nodes:a0a1c8a9-5a19-4fee-a2d7-5da0d75e1b59:localhost] 2022-01-19 22:12:13 | [Mutex] received everything. 2022-01-19 22:12:13 | [Mutex] isItemNotified: received:node:a0a1c8a9-5a19-4fee-a2d7-5da0d75e1b59:localhost:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:Node 9fdc028b-da0e-4c4c-8d52-1c24403a31da :: false 2022-01-19 22:12:13 | [Mutex] waiting for: [received:nodes:e8819a05-d1ac-47ad-a256-074d44961c69:localhost] 2022-01-19 22:12:13 | [Mutex] received everything. 2022-01-19 22:12:13 | [Mutex] isItemNotified: received:node:e8819a05-d1ac-47ad-a256-074d44961c69:localhost:node-9fdc028b-da0e-4c4c-8d52-1c24403a31da:Node 9fdc028b-da0e-4c4c-8d52-1c24403a31da :: false |
publishItemsToNodes | 0.044s |
2022-01-19 22:12:10 |
2022-01-19 22:12:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:10 | ------------------------------------ 2022-01-19 22:12:10 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "entry": "<test>item-3cb77535-60d5-4a9b-8973-5dcba4405358</test>", "item-id": "item-3cb77535-60d5-4a9b-8973-5dcba4405358" } 2022-01-19 22:12:10 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3cb77535-60d5-4a9b-8973-5dcba4405358" } 2022-01-19 22:12:10 | [Mutex] waiting for: [published:item:notifieditem-3cb77535-60d5-4a9b-8973-5dcba4405358:admin@test-domain.com] 2022-01-19 22:12:11 | [Mutex] received everything. 2022-01-19 22:12:11 | [Mutex] isItemNotified: published:item:notifieditem-3cb77535-60d5-4a9b-8973-5dcba4405358:admin@test-domain.com :: true |
retractItemsFromNodes | 0.087s |
2022-01-19 22:12:11 |
2022-01-19 22:12:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:11 | ------------------------------------ 2022-01-19 22:12:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "item-id": "item-3cb77535-60d5-4a9b-8973-5dcba4405358" } 2022-01-19 22:12:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-3cb77535-60d5-4a9b-8973-5dcba4405358" } 2022-01-19 22:12:11 | [Mutex] received everything. 2022-01-19 22:12:11 | [Mutex] isItemNotified: retracted:item:notifieditem-3cb77535-60d5-4a9b-8973-5dcba4405358:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.075s |
2022-01-19 22:12:11 |
2022-01-19 22:12:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:11 | ------------------------------------ 2022-01-19 22:12:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "item-id": "item-3cb77535-60d5-4a9b-8973-5dcba4405358" } 2022-01-19 22:12:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "item-id": "item-3cb77535-60d5-4a9b-8973-5dcba4405358", "item": [ "<item id=\"item-3cb77535-60d5-4a9b-8973-5dcba4405358\"><test>item-3cb77535-60d5-4a9b-8973-5dcba4405358</test></item>" ] } 2022-01-19 22:12:11 | [Mutex] notify: [retrieved:item:item-3cb77535-60d5-4a9b-8973-5dcba4405358:payload-matches:true:localhost] 2022-01-19 22:12:11 | [Mutex] received everything. 2022-01-19 22:12:11 | [Mutex] isItemNotified: retrieved:item:item-3cb77535-60d5-4a9b-8973-5dcba4405358:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-01-19 22:12:11 |
2022-01-19 22:12:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:11 | ------------------------------------ 2022-01-19 22:12:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-01-19 22:12:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-318fa63e-91fb-400b-94fa-6de9f7065e81", "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2022-01-19 22:12:11 |
2022-01-19 22:12:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:11 | ------------------------------------ 2022-01-19 22:12:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-9fdc028b-da0e-4c4c-8d52-1c24403a31da)" } 2022-01-19 22:12:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.016s |
2022-01-19 22:12:09 |
2022-01-19 22:12:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:09 | ------------------------------------ 2022-01-19 22:12:09 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "jids": [ "admin@test-domain.com" ] } 2022-01-19 22:12:09 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2022-01-19 22:12:11 |
2022-01-19 22:12:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-01-19 22:12:11 | ------------------------------------ 2022-01-19 22:12:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-9fdc028b-da0e-4c4c-8d52-1c24403a31da", "jids": [ "admin@test-domain.com" ] } 2022-01-19 22:12:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |