Test duration : 8.965s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.099s |
2021-01-04 21:59:27 |
2021-01-04 21:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:27 | ------------------------------------ 2021-01-04 21:59:27 | [Mutex] waiting for: [configured:node:node-d9ad9715-7018-49dd-aa69-799004544df3:node-0772a024-f3b9-41a5-8880-bd23981bc394] 2021-01-04 21:59:27 | [Mutex] received everything. 2021-01-04 21:59:27 | [Mutex] isItemNotified: configured:node:node-d9ad9715-7018-49dd-aa69-799004544df3:node-0772a024-f3b9-41a5-8880-bd23981bc394 :: true 2021-01-04 21:59:28 | [Mutex] waiting for: [received:nodes:d5ee0ce6-2578-4411-a4e0-2797b307c7fd:localhost] 2021-01-04 21:59:28 | [Mutex] received everything. 2021-01-04 21:59:28 | [Mutex] isItemNotified: received:node:d5ee0ce6-2578-4411-a4e0-2797b307c7fd:localhost:node-d9ad9715-7018-49dd-aa69-799004544df3:Node d9ad9715-7018-49dd-aa69-799004544df3 :: true 2021-01-04 21:59:28 | [Mutex] waiting for: [received:nodes:59c2af58-9d6f-456a-b5a2-898ee77aff98:localhost] 2021-01-04 21:59:28 | [Mutex] received everything. 2021-01-04 21:59:28 | [Mutex] isItemNotified: received:node:59c2af58-9d6f-456a-b5a2-898ee77aff98:localhost:node-d9ad9715-7018-49dd-aa69-799004544df3:Node d9ad9715-7018-49dd-aa69-799004544df3 :: false |
createNodes | 1.603s |
2021-01-04 21:59:25 |
2021-01-04 21:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:25 | ------------------------------------ 2021-01-04 21:59:25 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "pubsub#title": "Node d9ad9715-7018-49dd-aa69-799004544df3" } 2021-01-04 21:59:25 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-04 21:59:26 | [Mutex] waiting for: [received:nodes:19a592b4-5ce6-4b0f-85af-9aa7e8e1f942:localhost] 2021-01-04 21:59:26 | [Mutex] waiting for: [received:nodes:19a592b4-5ce6-4b0f-85af-9aa7e8e1f942:localhost] 2021-01-04 21:59:26 | [Mutex] waiting for: [received:nodes:19a592b4-5ce6-4b0f-85af-9aa7e8e1f942:localhost] 2021-01-04 21:59:26 | [Mutex] received everything. 2021-01-04 21:59:26 | [Mutex] isItemNotified: received:node:19a592b4-5ce6-4b0f-85af-9aa7e8e1f942:localhost:node-d9ad9715-7018-49dd-aa69-799004544df3:Node d9ad9715-7018-49dd-aa69-799004544df3 :: true |
createSubnodes | 1.025s |
2021-01-04 21:59:26 |
2021-01-04 21:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:26 | ------------------------------------ 2021-01-04 21:59:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-0772a024-f3b9-41a5-8880-bd23981bc394", "pubsub#title": "Node 0772a024-f3b9-41a5-8880-bd23981bc394" } 2021-01-04 21:59:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-04 21:59:27 | [Mutex] waiting for: [received:nodes:e0ab3739-cb16-4047-8be4-24615b1c0105:localhost] 2021-01-04 21:59:27 | [Mutex] received everything. 2021-01-04 21:59:27 | [Mutex] isItemNotified: received:node:e0ab3739-cb16-4047-8be4-24615b1c0105:localhost:node-0772a024-f3b9-41a5-8880-bd23981bc394:Node 0772a024-f3b9-41a5-8880-bd23981bc394 :: true |
deleteNodes | 1.030s |
2021-01-04 21:59:32 |
2021-01-04 21:59:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:32 | ------------------------------------ 2021-01-04 21:59:32 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0772a024-f3b9-41a5-8880-bd23981bc394" } 2021-01-04 21:59:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-04 21:59:33 | [Mutex] waiting for: [received:nodes:57d2a3fe-d99b-4a53-8014-698d14f9071e:localhost] 2021-01-04 21:59:33 | [Mutex] received everything. 2021-01-04 21:59:33 | [Mutex] isItemNotified: received:node:57d2a3fe-d99b-4a53-8014-698d14f9071e:localhost:node-0772a024-f3b9-41a5-8880-bd23981bc394:Node 0772a024-f3b9-41a5-8880-bd23981bc394 :: false |
deleteSubnodes | 1.030s |
2021-01-04 21:59:31 |
2021-01-04 21:59:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:31 | ------------------------------------ 2021-01-04 21:59:31 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d9ad9715-7018-49dd-aa69-799004544df3" } 2021-01-04 21:59:31 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-04 21:59:32 | [Mutex] waiting for: [received:nodes:c2c89e3c-bb4f-4871-9444-d25c51bd8668:localhost] 2021-01-04 21:59:32 | [Mutex] waiting for: [received:nodes:c2c89e3c-bb4f-4871-9444-d25c51bd8668:localhost] 2021-01-04 21:59:32 | [Mutex] received everything. 2021-01-04 21:59:32 | [Mutex] isItemNotified: received:node:c2c89e3c-bb4f-4871-9444-d25c51bd8668:localhost:node-d9ad9715-7018-49dd-aa69-799004544df3:Node d9ad9715-7018-49dd-aa69-799004544df3 :: false 2021-01-04 21:59:32 | [Mutex] waiting for: [received:nodes:3a903f05-6634-4e06-a9b7-ce8a9d6df079:localhost] 2021-01-04 21:59:32 | [Mutex] received everything. 2021-01-04 21:59:32 | [Mutex] isItemNotified: received:node:3a903f05-6634-4e06-a9b7-ce8a9d6df079:localhost:node-d9ad9715-7018-49dd-aa69-799004544df3:Node d9ad9715-7018-49dd-aa69-799004544df3 :: false |
publishItemsToNodes | 0.060s |
2021-01-04 21:59:29 |
2021-01-04 21:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:29 | ------------------------------------ 2021-01-04 21:59:29 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "entry": "<test>item-228605f1-b352-4693-a16f-29afe240967c</test>", "item-id": "item-228605f1-b352-4693-a16f-29afe240967c" } 2021-01-04 21:59:29 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-228605f1-b352-4693-a16f-29afe240967c" } 2021-01-04 21:59:29 | [Mutex] waiting for: [published:item:notifieditem-228605f1-b352-4693-a16f-29afe240967c:admin@test-domain.com] 2021-01-04 21:59:29 | [Mutex] received everything. 2021-01-04 21:59:29 | [Mutex] isItemNotified: published:item:notifieditem-228605f1-b352-4693-a16f-29afe240967c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.111s |
2021-01-04 21:59:30 |
2021-01-04 21:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:30 | ------------------------------------ 2021-01-04 21:59:30 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "item-id": "item-228605f1-b352-4693-a16f-29afe240967c" } 2021-01-04 21:59:30 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-228605f1-b352-4693-a16f-29afe240967c" } 2021-01-04 21:59:30 | [Mutex] received everything. 2021-01-04 21:59:30 | [Mutex] isItemNotified: retracted:item:notifieditem-228605f1-b352-4693-a16f-29afe240967c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.050s |
2021-01-04 21:59:29 |
2021-01-04 21:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:29 | ------------------------------------ 2021-01-04 21:59:29 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "item-id": "item-228605f1-b352-4693-a16f-29afe240967c" } 2021-01-04 21:59:29 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "item-id": "item-228605f1-b352-4693-a16f-29afe240967c", "item": [ "<item id=\"item-228605f1-b352-4693-a16f-29afe240967c\"><test>item-228605f1-b352-4693-a16f-29afe240967c</test></item>" ] } 2021-01-04 21:59:29 | [Mutex] notify: [retrieved:item:item-228605f1-b352-4693-a16f-29afe240967c:payload-matches:true:localhost] 2021-01-04 21:59:29 | [Mutex] received everything. 2021-01-04 21:59:29 | [Mutex] isItemNotified: retrieved:item:item-228605f1-b352-4693-a16f-29afe240967c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2021-01-04 21:59:29 |
2021-01-04 21:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:29 | ------------------------------------ 2021-01-04 21:59:29 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-01-04 21:59:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-d9ad9715-7018-49dd-aa69-799004544df3", "node-0772a024-f3b9-41a5-8880-bd23981bc394" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2021-01-04 21:59:30 |
2021-01-04 21:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:30 | ------------------------------------ 2021-01-04 21:59:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d9ad9715-7018-49dd-aa69-799004544df3)" } 2021-01-04 21:59:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.015s |
2021-01-04 21:59:28 |
2021-01-04 21:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:28 | ------------------------------------ 2021-01-04 21:59:28 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "jids": [ "admin@test-domain.com" ] } 2021-01-04 21:59:28 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.055s |
2021-01-04 21:59:30 |
2021-01-04 21:59:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-04 21:59:30 | ------------------------------------ 2021-01-04 21:59:30 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d9ad9715-7018-49dd-aa69-799004544df3", "jids": [ "admin@test-domain.com" ] } 2021-01-04 21:59:30 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |