Test duration : 8.632s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.088s |
2023-08-27 23:02:09 |
2023-08-27 23:02:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:09 | ------------------------------------ 2023-08-27 23:02:09 | [Mutex] waiting for: [configured:node:node-0f249f83-8f86-49d0-982e-8a631c459ab0:node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040] 2023-08-27 23:02:09 | [Mutex] received everything. 2023-08-27 23:02:09 | [Mutex] isItemNotified: configured:node:node-0f249f83-8f86-49d0-982e-8a631c459ab0:node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040 :: true 2023-08-27 23:02:10 | [Mutex] waiting for: [received:nodes:9c96d96e-e60e-470e-b2f1-0c35dffdfe0c:localhost] 2023-08-27 23:02:10 | [Mutex] received everything. 2023-08-27 23:02:10 | [Mutex] isItemNotified: received:node:9c96d96e-e60e-470e-b2f1-0c35dffdfe0c:localhost:node-0f249f83-8f86-49d0-982e-8a631c459ab0:Node 0f249f83-8f86-49d0-982e-8a631c459ab0 :: true 2023-08-27 23:02:10 | [Mutex] waiting for: [received:nodes:404a34e2-48a9-47ad-abdd-0d81bc22246d:localhost] 2023-08-27 23:02:10 | [Mutex] waiting for: [received:nodes:404a34e2-48a9-47ad-abdd-0d81bc22246d:localhost] 2023-08-27 23:02:10 | [Mutex] waiting for: [received:nodes:404a34e2-48a9-47ad-abdd-0d81bc22246d:localhost] 2023-08-27 23:02:10 | [Mutex] waiting for: [received:nodes:404a34e2-48a9-47ad-abdd-0d81bc22246d:localhost] 2023-08-27 23:02:10 | [Mutex] received everything. 2023-08-27 23:02:10 | [Mutex] isItemNotified: received:node:404a34e2-48a9-47ad-abdd-0d81bc22246d:localhost:node-0f249f83-8f86-49d0-982e-8a631c459ab0:Node 0f249f83-8f86-49d0-982e-8a631c459ab0 :: false |
createNodes | 1.724s |
2023-08-27 23:02:06 |
2023-08-27 23:02:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:06 | ------------------------------------ 2023-08-27 23:02:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "pubsub#title": "Node 0f249f83-8f86-49d0-982e-8a631c459ab0" } 2023-08-27 23:02:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 23:02:08 | [Mutex] waiting for: [received:nodes:85a610be-e79c-4829-ab6c-70f786ceec8b:localhost] 2023-08-27 23:02:08 | [Mutex] received everything. 2023-08-27 23:02:08 | [Mutex] isItemNotified: received:node:85a610be-e79c-4829-ab6c-70f786ceec8b:localhost:node-0f249f83-8f86-49d0-982e-8a631c459ab0:Node 0f249f83-8f86-49d0-982e-8a631c459ab0 :: true |
createSubnodes | 1.020s |
2023-08-27 23:02:08 |
2023-08-27 23:02:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:08 | ------------------------------------ 2023-08-27 23:02:08 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040", "pubsub#title": "Node afb2b73c-8c53-4eb9-97dd-4c02c2a65040" } 2023-08-27 23:02:08 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 23:02:09 | [Mutex] waiting for: [received:nodes:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost] 2023-08-27 23:02:09 | [Mutex] waiting for: [received:nodes:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost] 2023-08-27 23:02:09 | [Mutex] waiting for: [received:nodes:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost] 2023-08-27 23:02:09 | [Mutex] waiting for: [received:nodes:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost] 2023-08-27 23:02:09 | [Mutex] waiting for: [received:nodes:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost] 2023-08-27 23:02:09 | [Mutex] waiting for: [received:nodes:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost] 2023-08-27 23:02:09 | [Mutex] received everything. 2023-08-27 23:02:09 | [Mutex] isItemNotified: received:node:895e56cf-9dff-4498-82b7-8abb84d91df4:localhost:node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040:Node afb2b73c-8c53-4eb9-97dd-4c02c2a65040 :: true |
deleteNodes | 1.019s |
2023-08-27 23:02:13 |
2023-08-27 23:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:13 | ------------------------------------ 2023-08-27 23:02:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040" } 2023-08-27 23:02:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 23:02:14 | [Mutex] waiting for: [received:nodes:fd24928c-452f-469a-af98-1b4eb5740a66:localhost] 2023-08-27 23:02:14 | [Mutex] waiting for: [received:nodes:fd24928c-452f-469a-af98-1b4eb5740a66:localhost] 2023-08-27 23:02:14 | [Mutex] waiting for: [received:nodes:fd24928c-452f-469a-af98-1b4eb5740a66:localhost] 2023-08-27 23:02:14 | [Mutex] received everything. 2023-08-27 23:02:14 | [Mutex] isItemNotified: received:node:fd24928c-452f-469a-af98-1b4eb5740a66:localhost:node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040:Node afb2b73c-8c53-4eb9-97dd-4c02c2a65040 :: false |
deleteSubnodes | 1.022s |
2023-08-27 23:02:12 |
2023-08-27 23:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:12 | ------------------------------------ 2023-08-27 23:02:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0" } 2023-08-27 23:02:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 23:02:13 | [Mutex] waiting for: [received:nodes:3eb1f2b1-b9fd-49b7-bfb7-31f561887d63:localhost] 2023-08-27 23:02:13 | [Mutex] waiting for: [received:nodes:3eb1f2b1-b9fd-49b7-bfb7-31f561887d63:localhost] 2023-08-27 23:02:13 | [Mutex] waiting for: [received:nodes:3eb1f2b1-b9fd-49b7-bfb7-31f561887d63:localhost] 2023-08-27 23:02:13 | [Mutex] waiting for: [received:nodes:3eb1f2b1-b9fd-49b7-bfb7-31f561887d63:localhost] 2023-08-27 23:02:13 | [Mutex] received everything. 2023-08-27 23:02:13 | [Mutex] isItemNotified: received:node:3eb1f2b1-b9fd-49b7-bfb7-31f561887d63:localhost:node-0f249f83-8f86-49d0-982e-8a631c459ab0:Node 0f249f83-8f86-49d0-982e-8a631c459ab0 :: false 2023-08-27 23:02:13 | [Mutex] waiting for: [received:nodes:d74cac22-d40b-495a-a6de-c7e4f1835076:localhost] 2023-08-27 23:02:13 | [Mutex] received everything. 2023-08-27 23:02:13 | [Mutex] isItemNotified: received:node:d74cac22-d40b-495a-a6de-c7e4f1835076:localhost:node-0f249f83-8f86-49d0-982e-8a631c459ab0:Node 0f249f83-8f86-49d0-982e-8a631c459ab0 :: false |
publishItemsToNodes | 0.082s |
2023-08-27 23:02:11 |
2023-08-27 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:11 | ------------------------------------ 2023-08-27 23:02:11 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "entry": "<test>item-95e3d3ec-d9c1-4e91-b5de-7887ace31152</test>", "item-id": "item-95e3d3ec-d9c1-4e91-b5de-7887ace31152" } 2023-08-27 23:02:11 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-95e3d3ec-d9c1-4e91-b5de-7887ace31152" } 2023-08-27 23:02:11 | [Mutex] waiting for: [published:item:notifieditem-95e3d3ec-d9c1-4e91-b5de-7887ace31152:admin@test-domain.com] 2023-08-27 23:02:11 | [Mutex] received everything. 2023-08-27 23:02:11 | [Mutex] isItemNotified: published:item:notifieditem-95e3d3ec-d9c1-4e91-b5de-7887ace31152:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2023-08-27 23:02:11 |
2023-08-27 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:11 | ------------------------------------ 2023-08-27 23:02:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "item-id": "item-95e3d3ec-d9c1-4e91-b5de-7887ace31152" } 2023-08-27 23:02:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-95e3d3ec-d9c1-4e91-b5de-7887ace31152" } 2023-08-27 23:02:11 | [Mutex] received everything. 2023-08-27 23:02:11 | [Mutex] isItemNotified: retracted:item:notifieditem-95e3d3ec-d9c1-4e91-b5de-7887ace31152:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.013s |
2023-08-27 23:02:11 |
2023-08-27 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:11 | ------------------------------------ 2023-08-27 23:02:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "item-id": "item-95e3d3ec-d9c1-4e91-b5de-7887ace31152" } 2023-08-27 23:02:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "item-id": "item-95e3d3ec-d9c1-4e91-b5de-7887ace31152", "item": [ "<item id=\"item-95e3d3ec-d9c1-4e91-b5de-7887ace31152\"><test>item-95e3d3ec-d9c1-4e91-b5de-7887ace31152</test></item>" ] } 2023-08-27 23:02:11 | [Mutex] notify: [retrieved:item:item-95e3d3ec-d9c1-4e91-b5de-7887ace31152:payload-matches:true:localhost] 2023-08-27 23:02:11 | [Mutex] received everything. 2023-08-27 23:02:11 | [Mutex] isItemNotified: retrieved:item:item-95e3d3ec-d9c1-4e91-b5de-7887ace31152:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.046s |
2023-08-27 23:02:11 |
2023-08-27 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:11 | ------------------------------------ 2023-08-27 23:02:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-08-27 23:02:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "test", "node-afb2b73c-8c53-4eb9-97dd-4c02c2a65040" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2023-08-27 23:02:11 |
2023-08-27 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:11 | ------------------------------------ 2023-08-27 23:02:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-0f249f83-8f86-49d0-982e-8a631c459ab0)" } 2023-08-27 23:02:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2023-08-27 23:02:10 |
2023-08-27 23:02:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:10 | ------------------------------------ 2023-08-27 23:02:10 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "jids": [ "admin@test-domain.com" ] } 2023-08-27 23:02:10 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.059s |
2023-08-27 23:02:11 |
2023-08-27 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 23:02:11 | ------------------------------------ 2023-08-27 23:02:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-0f249f83-8f86-49d0-982e-8a631c459ab0", "jids": [ "admin@test-domain.com" ] } 2023-08-27 23:02:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |