Test duration : 8.631s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.094s |
2022-12-16 21:31:04 |
2022-12-16 21:31:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:04 | ------------------------------------ 2022-12-16 21:31:04 | [Mutex] waiting for: [configured:node:node-70bddee0-17a0-4845-b193-3ad747fd7d55:node-027c26af-15b5-4f3a-8e84-45e063af7d5e] 2022-12-16 21:31:04 | [Mutex] received everything. 2022-12-16 21:31:04 | [Mutex] isItemNotified: configured:node:node-70bddee0-17a0-4845-b193-3ad747fd7d55:node-027c26af-15b5-4f3a-8e84-45e063af7d5e :: true 2022-12-16 21:31:05 | [Mutex] waiting for: [received:nodes:cb2039ac-98b2-4548-8425-f333e45fda75:localhost] 2022-12-16 21:31:05 | [Mutex] received everything. 2022-12-16 21:31:05 | [Mutex] isItemNotified: received:node:cb2039ac-98b2-4548-8425-f333e45fda75:localhost:node-70bddee0-17a0-4845-b193-3ad747fd7d55:Node 70bddee0-17a0-4845-b193-3ad747fd7d55 :: true 2022-12-16 21:31:05 | [Mutex] waiting for: [received:nodes:86612352-0574-45de-b70d-20ddc97bbd8f:localhost] 2022-12-16 21:31:05 | [Mutex] received everything. 2022-12-16 21:31:05 | [Mutex] isItemNotified: received:node:86612352-0574-45de-b70d-20ddc97bbd8f:localhost:node-70bddee0-17a0-4845-b193-3ad747fd7d55:Node 70bddee0-17a0-4845-b193-3ad747fd7d55 :: false |
createNodes | 1.533s |
2022-12-16 21:31:01 |
2022-12-16 21:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:01 | ------------------------------------ 2022-12-16 21:31:02 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "pubsub#title": "Node 70bddee0-17a0-4845-b193-3ad747fd7d55" } 2022-12-16 21:31:02 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 21:31:03 | [Mutex] waiting for: [received:nodes:f4df6992-6227-48e9-9d89-5a0b9f354477:localhost] 2022-12-16 21:31:03 | [Mutex] waiting for: [received:nodes:f4df6992-6227-48e9-9d89-5a0b9f354477:localhost] 2022-12-16 21:31:03 | [Mutex] waiting for: [received:nodes:f4df6992-6227-48e9-9d89-5a0b9f354477:localhost] 2022-12-16 21:31:03 | [Mutex] waiting for: [received:nodes:f4df6992-6227-48e9-9d89-5a0b9f354477:localhost] 2022-12-16 21:31:03 | [Mutex] received everything. 2022-12-16 21:31:03 | [Mutex] isItemNotified: received:node:f4df6992-6227-48e9-9d89-5a0b9f354477:localhost:node-70bddee0-17a0-4845-b193-3ad747fd7d55:Node 70bddee0-17a0-4845-b193-3ad747fd7d55 :: true |
createSubnodes | 1.023s |
2022-12-16 21:31:03 |
2022-12-16 21:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:03 | ------------------------------------ 2022-12-16 21:31:03 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-027c26af-15b5-4f3a-8e84-45e063af7d5e", "pubsub#title": "Node 027c26af-15b5-4f3a-8e84-45e063af7d5e" } 2022-12-16 21:31:03 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 21:31:04 | [Mutex] waiting for: [received:nodes:8eebcd15-689f-4ee6-9f48-2aeeb1b6f13c:localhost] 2022-12-16 21:31:04 | [Mutex] waiting for: [received:nodes:8eebcd15-689f-4ee6-9f48-2aeeb1b6f13c:localhost] 2022-12-16 21:31:04 | [Mutex] waiting for: [received:nodes:8eebcd15-689f-4ee6-9f48-2aeeb1b6f13c:localhost] 2022-12-16 21:31:04 | [Mutex] waiting for: [received:nodes:8eebcd15-689f-4ee6-9f48-2aeeb1b6f13c:localhost] 2022-12-16 21:31:04 | [Mutex] waiting for: [received:nodes:8eebcd15-689f-4ee6-9f48-2aeeb1b6f13c:localhost] 2022-12-16 21:31:04 | [Mutex] received everything. 2022-12-16 21:31:04 | [Mutex] isItemNotified: received:node:8eebcd15-689f-4ee6-9f48-2aeeb1b6f13c:localhost:node-027c26af-15b5-4f3a-8e84-45e063af7d5e:Node 027c26af-15b5-4f3a-8e84-45e063af7d5e :: true |
deleteNodes | 1.024s |
2022-12-16 21:31:08 |
2022-12-16 21:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:08 | ------------------------------------ 2022-12-16 21:31:08 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-027c26af-15b5-4f3a-8e84-45e063af7d5e" } 2022-12-16 21:31:08 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 21:31:09 | [Mutex] waiting for: [received:nodes:392c228e-0279-4863-b7b1-c9037a8ec1ee:localhost] 2022-12-16 21:31:09 | [Mutex] waiting for: [received:nodes:392c228e-0279-4863-b7b1-c9037a8ec1ee:localhost] 2022-12-16 21:31:09 | [Mutex] waiting for: [received:nodes:392c228e-0279-4863-b7b1-c9037a8ec1ee:localhost] 2022-12-16 21:31:09 | [Mutex] received everything. 2022-12-16 21:31:09 | [Mutex] isItemNotified: received:node:392c228e-0279-4863-b7b1-c9037a8ec1ee:localhost:node-027c26af-15b5-4f3a-8e84-45e063af7d5e:Node 027c26af-15b5-4f3a-8e84-45e063af7d5e :: false |
deleteSubnodes | 1.023s |
2022-12-16 21:31:07 |
2022-12-16 21:31:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:07 | ------------------------------------ 2022-12-16 21:31:07 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55" } 2022-12-16 21:31:07 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-12-16 21:31:08 | [Mutex] waiting for: [received:nodes:0aea6e4c-37cc-4d26-88d4-969a7cccc8c4:localhost] 2022-12-16 21:31:08 | [Mutex] waiting for: [received:nodes:0aea6e4c-37cc-4d26-88d4-969a7cccc8c4:localhost] 2022-12-16 21:31:08 | [Mutex] waiting for: [received:nodes:0aea6e4c-37cc-4d26-88d4-969a7cccc8c4:localhost] 2022-12-16 21:31:08 | [Mutex] received everything. 2022-12-16 21:31:08 | [Mutex] isItemNotified: received:node:0aea6e4c-37cc-4d26-88d4-969a7cccc8c4:localhost:node-70bddee0-17a0-4845-b193-3ad747fd7d55:Node 70bddee0-17a0-4845-b193-3ad747fd7d55 :: false 2022-12-16 21:31:08 | [Mutex] waiting for: [received:nodes:6de9bf7f-27e8-432f-ab6f-a92364fde2b5:localhost] 2022-12-16 21:31:08 | [Mutex] received everything. 2022-12-16 21:31:08 | [Mutex] isItemNotified: received:node:6de9bf7f-27e8-432f-ab6f-a92364fde2b5:localhost:node-70bddee0-17a0-4845-b193-3ad747fd7d55:Node 70bddee0-17a0-4845-b193-3ad747fd7d55 :: false |
publishItemsToNodes | 0.040s |
2022-12-16 21:31:06 |
2022-12-16 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:06 | ------------------------------------ 2022-12-16 21:31:06 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "entry": "<test>item-b121571c-1e2d-4357-ac1a-e0f1d18f7071</test>", "item-id": "item-b121571c-1e2d-4357-ac1a-e0f1d18f7071" } 2022-12-16 21:31:06 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b121571c-1e2d-4357-ac1a-e0f1d18f7071" } 2022-12-16 21:31:06 | [Mutex] waiting for: [published:item:notifieditem-b121571c-1e2d-4357-ac1a-e0f1d18f7071:admin@test-domain.com] 2022-12-16 21:31:06 | [Mutex] received everything. 2022-12-16 21:31:06 | [Mutex] isItemNotified: published:item:notifieditem-b121571c-1e2d-4357-ac1a-e0f1d18f7071:admin@test-domain.com :: true |
retractItemsFromNodes | 0.056s |
2022-12-16 21:31:06 |
2022-12-16 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:06 | ------------------------------------ 2022-12-16 21:31:06 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "item-id": "item-b121571c-1e2d-4357-ac1a-e0f1d18f7071" } 2022-12-16 21:31:06 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b121571c-1e2d-4357-ac1a-e0f1d18f7071" } 2022-12-16 21:31:06 | [Mutex] received everything. 2022-12-16 21:31:06 | [Mutex] isItemNotified: retracted:item:notifieditem-b121571c-1e2d-4357-ac1a-e0f1d18f7071:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.060s |
2022-12-16 21:31:06 |
2022-12-16 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:06 | ------------------------------------ 2022-12-16 21:31:06 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "item-id": "item-b121571c-1e2d-4357-ac1a-e0f1d18f7071" } 2022-12-16 21:31:06 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "item-id": "item-b121571c-1e2d-4357-ac1a-e0f1d18f7071", "item": [ "<item id=\"item-b121571c-1e2d-4357-ac1a-e0f1d18f7071\"><test>item-b121571c-1e2d-4357-ac1a-e0f1d18f7071</test></item>" ] } 2022-12-16 21:31:06 | [Mutex] notify: [retrieved:item:item-b121571c-1e2d-4357-ac1a-e0f1d18f7071:payload-matches:true:localhost] 2022-12-16 21:31:06 | [Mutex] received everything. 2022-12-16 21:31:06 | [Mutex] isItemNotified: retrieved:item:item-b121571c-1e2d-4357-ac1a-e0f1d18f7071:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2022-12-16 21:31:06 |
2022-12-16 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:06 | ------------------------------------ 2022-12-16 21:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-12-16 21:31:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-027c26af-15b5-4f3a-8e84-45e063af7d5e", "node-70bddee0-17a0-4845-b193-3ad747fd7d55" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-12-16 21:31:06 |
2022-12-16 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:06 | ------------------------------------ 2022-12-16 21:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-70bddee0-17a0-4845-b193-3ad747fd7d55)" } 2022-12-16 21:31:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.011s |
2022-12-16 21:31:05 |
2022-12-16 21:31:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:05 | ------------------------------------ 2022-12-16 21:31:05 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "jids": [ "admin@test-domain.com" ] } 2022-12-16 21:31:05 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.070s |
2022-12-16 21:31:06 |
2022-12-16 21:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-12-16 21:31:06 | ------------------------------------ 2022-12-16 21:31:06 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-70bddee0-17a0-4845-b193-3ad747fd7d55", "jids": [ "admin@test-domain.com" ] } 2022-12-16 21:31:06 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |