Test duration : 8.643s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.088s |
2022-08-01 22:34:13 |
2022-08-01 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:13 | ------------------------------------ 2022-08-01 22:34:13 | [Mutex] waiting for: [configured:node:node-947712a2-cd8c-4158-ac7b-dab4578dd134:node-601ea93d-2eba-4baf-bf78-852f844fd15c] 2022-08-01 22:34:13 | [Mutex] received everything. 2022-08-01 22:34:13 | [Mutex] isItemNotified: configured:node:node-947712a2-cd8c-4158-ac7b-dab4578dd134:node-601ea93d-2eba-4baf-bf78-852f844fd15c :: true 2022-08-01 22:34:14 | [Mutex] waiting for: [received:nodes:7c348e18-900d-4955-b750-95b69ee86b04:localhost] 2022-08-01 22:34:14 | [Mutex] received everything. 2022-08-01 22:34:14 | [Mutex] isItemNotified: received:node:7c348e18-900d-4955-b750-95b69ee86b04:localhost:node-947712a2-cd8c-4158-ac7b-dab4578dd134:Node 947712a2-cd8c-4158-ac7b-dab4578dd134 :: true 2022-08-01 22:34:14 | [Mutex] waiting for: [received:nodes:4a7c042c-c5bc-4372-a81c-ae2b00241d52:localhost] 2022-08-01 22:34:14 | [Mutex] waiting for: [received:nodes:4a7c042c-c5bc-4372-a81c-ae2b00241d52:localhost] 2022-08-01 22:34:14 | [Mutex] received everything. 2022-08-01 22:34:14 | [Mutex] isItemNotified: received:node:4a7c042c-c5bc-4372-a81c-ae2b00241d52:localhost:node-947712a2-cd8c-4158-ac7b-dab4578dd134:Node 947712a2-cd8c-4158-ac7b-dab4578dd134 :: false |
createNodes | 1.607s |
2022-08-01 22:34:11 |
2022-08-01 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:11 | ------------------------------------ 2022-08-01 22:34:11 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "pubsub#title": "Node 947712a2-cd8c-4158-ac7b-dab4578dd134" } 2022-08-01 22:34:11 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 22:34:12 | [Mutex] waiting for: [received:nodes:ae97fea1-c0c0-4c55-a208-af9818f1ab40:localhost] 2022-08-01 22:34:12 | [Mutex] received everything. 2022-08-01 22:34:12 | [Mutex] isItemNotified: received:node:ae97fea1-c0c0-4c55-a208-af9818f1ab40:localhost:node-947712a2-cd8c-4158-ac7b-dab4578dd134:Node 947712a2-cd8c-4158-ac7b-dab4578dd134 :: true |
createSubnodes | 1.024s |
2022-08-01 22:34:12 |
2022-08-01 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:12 | ------------------------------------ 2022-08-01 22:34:12 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-601ea93d-2eba-4baf-bf78-852f844fd15c", "pubsub#title": "Node 601ea93d-2eba-4baf-bf78-852f844fd15c" } 2022-08-01 22:34:12 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 22:34:13 | [Mutex] waiting for: [received:nodes:5c770c35-5b39-48e9-a199-6047b61c500a:localhost] 2022-08-01 22:34:13 | [Mutex] received everything. 2022-08-01 22:34:13 | [Mutex] isItemNotified: received:node:5c770c35-5b39-48e9-a199-6047b61c500a:localhost:node-601ea93d-2eba-4baf-bf78-852f844fd15c:Node 601ea93d-2eba-4baf-bf78-852f844fd15c :: true |
deleteNodes | 1.020s |
2022-08-01 22:34:18 |
2022-08-01 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:18 | ------------------------------------ 2022-08-01 22:34:18 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-601ea93d-2eba-4baf-bf78-852f844fd15c" } 2022-08-01 22:34:18 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 22:34:19 | [Mutex] waiting for: [received:nodes:0507c928-9c6f-4310-9807-b4ae3f3af6e3:localhost] 2022-08-01 22:34:19 | [Mutex] received everything. 2022-08-01 22:34:19 | [Mutex] isItemNotified: received:node:0507c928-9c6f-4310-9807-b4ae3f3af6e3:localhost:node-601ea93d-2eba-4baf-bf78-852f844fd15c:Node 601ea93d-2eba-4baf-bf78-852f844fd15c :: false |
deleteSubnodes | 1.029s |
2022-08-01 22:34:17 |
2022-08-01 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:17 | ------------------------------------ 2022-08-01 22:34:17 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134" } 2022-08-01 22:34:17 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 22:34:18 | [Mutex] waiting for: [received:nodes:d9584894-2705-4b1c-a9bb-358ee7dac694:localhost] 2022-08-01 22:34:18 | [Mutex] waiting for: [received:nodes:d9584894-2705-4b1c-a9bb-358ee7dac694:localhost] 2022-08-01 22:34:18 | [Mutex] received everything. 2022-08-01 22:34:18 | [Mutex] isItemNotified: received:node:d9584894-2705-4b1c-a9bb-358ee7dac694:localhost:node-947712a2-cd8c-4158-ac7b-dab4578dd134:Node 947712a2-cd8c-4158-ac7b-dab4578dd134 :: false 2022-08-01 22:34:18 | [Mutex] waiting for: [received:nodes:828abc4d-854e-47b9-828c-62911695e815:localhost] 2022-08-01 22:34:18 | [Mutex] received everything. 2022-08-01 22:34:18 | [Mutex] isItemNotified: received:node:828abc4d-854e-47b9-828c-62911695e815:localhost:node-947712a2-cd8c-4158-ac7b-dab4578dd134:Node 947712a2-cd8c-4158-ac7b-dab4578dd134 :: false |
publishItemsToNodes | 0.045s |
2022-08-01 22:34:15 |
2022-08-01 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:15 | ------------------------------------ 2022-08-01 22:34:15 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "entry": "<test>item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba</test>", "item-id": "item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba" } 2022-08-01 22:34:15 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba" } 2022-08-01 22:34:15 | [Mutex] waiting for: [published:item:notifieditem-c5e4f6bc-adb6-42a4-938b-973ce858f6ba:admin@test-domain.com] 2022-08-01 22:34:15 | [Mutex] received everything. 2022-08-01 22:34:15 | [Mutex] isItemNotified: published:item:notifieditem-c5e4f6bc-adb6-42a4-938b-973ce858f6ba:admin@test-domain.com :: true |
retractItemsFromNodes | 0.051s |
2022-08-01 22:34:16 |
2022-08-01 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:16 | ------------------------------------ 2022-08-01 22:34:16 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "item-id": "item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba" } 2022-08-01 22:34:16 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba" } 2022-08-01 22:34:16 | [Mutex] received everything. 2022-08-01 22:34:16 | [Mutex] isItemNotified: retracted:item:notifieditem-c5e4f6bc-adb6-42a4-938b-973ce858f6ba:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.057s |
2022-08-01 22:34:15 |
2022-08-01 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:15 | ------------------------------------ 2022-08-01 22:34:15 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "item-id": "item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba" } 2022-08-01 22:34:15 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "item-id": "item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba", "item": [ "<item id=\"item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba\"><test>item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba</test></item>" ] } 2022-08-01 22:34:15 | [Mutex] notify: [retrieved:item:item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba:payload-matches:true:localhost] 2022-08-01 22:34:15 | [Mutex] received everything. 2022-08-01 22:34:15 | [Mutex] isItemNotified: retrieved:item:item-c5e4f6bc-adb6-42a4-938b-973ce858f6ba:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-08-01 22:34:15 |
2022-08-01 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:15 | ------------------------------------ 2022-08-01 22:34:15 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-01 22:34:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-601ea93d-2eba-4baf-bf78-852f844fd15c", "node-947712a2-cd8c-4158-ac7b-dab4578dd134" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-08-01 22:34:15 |
2022-08-01 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:15 | ------------------------------------ 2022-08-01 22:34:15 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-947712a2-cd8c-4158-ac7b-dab4578dd134)" } 2022-08-01 22:34:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-08-01 22:34:14 |
2022-08-01 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:14 | ------------------------------------ 2022-08-01 22:34:14 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "jids": [ "admin@test-domain.com" ] } 2022-08-01 22:34:14 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.087s |
2022-08-01 22:34:16 |
2022-08-01 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 22:34:16 | ------------------------------------ 2022-08-01 22:34:16 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-947712a2-cd8c-4158-ac7b-dab4578dd134", "jids": [ "admin@test-domain.com" ] } 2022-08-01 22:34:16 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |