Test duration : 8.678s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.097s |
2022-05-09 22:37:19 |
2022-05-09 22:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:19 | ------------------------------------ 2022-05-09 22:37:19 | [Mutex] waiting for: [configured:node:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa] 2022-05-09 22:37:19 | [Mutex] received everything. 2022-05-09 22:37:19 | [Mutex] isItemNotified: configured:node:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa :: true 2022-05-09 22:37:20 | [Mutex] waiting for: [received:nodes:86e793d2-578b-494d-b4db-44657b68a7d1:localhost] 2022-05-09 22:37:20 | [Mutex] received everything. 2022-05-09 22:37:20 | [Mutex] isItemNotified: received:node:86e793d2-578b-494d-b4db-44657b68a7d1:localhost:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:Node 7f3dd924-391e-40a8-814e-0d86d9d2aa3f :: true 2022-05-09 22:37:20 | [Mutex] waiting for: [received:nodes:61d68474-0a49-4dc2-8d47-b72f1966dd15:localhost] 2022-05-09 22:37:20 | [Mutex] received everything. 2022-05-09 22:37:20 | [Mutex] isItemNotified: received:node:61d68474-0a49-4dc2-8d47-b72f1966dd15:localhost:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:Node 7f3dd924-391e-40a8-814e-0d86d9d2aa3f :: false |
createNodes | 1.612s |
2022-05-09 22:37:17 |
2022-05-09 22:37:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:17 | ------------------------------------ 2022-05-09 22:37:17 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "pubsub#title": "Node 7f3dd924-391e-40a8-814e-0d86d9d2aa3f" } 2022-05-09 22:37:17 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-05-09 22:37:18 | [Mutex] waiting for: [received:nodes:69c652da-4ac1-493f-bab6-219801fdbc42:localhost] 2022-05-09 22:37:18 | [Mutex] received everything. 2022-05-09 22:37:18 | [Mutex] isItemNotified: received:node:69c652da-4ac1-493f-bab6-219801fdbc42:localhost:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:Node 7f3dd924-391e-40a8-814e-0d86d9d2aa3f :: true |
createSubnodes | 1.024s |
2022-05-09 22:37:18 |
2022-05-09 22:37:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:18 | ------------------------------------ 2022-05-09 22:37:18 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa", "pubsub#title": "Node 1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa" } 2022-05-09 22:37:18 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-05-09 22:37:19 | [Mutex] waiting for: [received:nodes:e4c125b3-c962-4ac0-b883-598aca536649:localhost] 2022-05-09 22:37:19 | [Mutex] received everything. 2022-05-09 22:37:19 | [Mutex] isItemNotified: received:node:e4c125b3-c962-4ac0-b883-598aca536649:localhost:node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa:Node 1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa :: true |
deleteNodes | 1.025s |
2022-05-09 22:37:24 |
2022-05-09 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:24 | ------------------------------------ 2022-05-09 22:37:24 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa" } 2022-05-09 22:37:24 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-05-09 22:37:25 | [Mutex] waiting for: [received:nodes:177f445a-fdbe-4155-8963-b88a3e1e17fb:localhost] 2022-05-09 22:37:25 | [Mutex] waiting for: [received:nodes:177f445a-fdbe-4155-8963-b88a3e1e17fb:localhost] 2022-05-09 22:37:25 | [Mutex] received everything. 2022-05-09 22:37:25 | [Mutex] isItemNotified: received:node:177f445a-fdbe-4155-8963-b88a3e1e17fb:localhost:node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa:Node 1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa :: false |
deleteSubnodes | 1.025s |
2022-05-09 22:37:23 |
2022-05-09 22:37:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:23 | ------------------------------------ 2022-05-09 22:37:23 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f" } 2022-05-09 22:37:23 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-05-09 22:37:24 | [Mutex] waiting for: [received:nodes:f8c13b1f-08cf-439d-84c7-1a87ff07f996:localhost] 2022-05-09 22:37:24 | [Mutex] received everything. 2022-05-09 22:37:24 | [Mutex] isItemNotified: received:node:f8c13b1f-08cf-439d-84c7-1a87ff07f996:localhost:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:Node 7f3dd924-391e-40a8-814e-0d86d9d2aa3f :: false 2022-05-09 22:37:24 | [Mutex] waiting for: [received:nodes:b893918e-5656-4ce7-8abe-222ed8f43d97:localhost] 2022-05-09 22:37:24 | [Mutex] received everything. 2022-05-09 22:37:24 | [Mutex] isItemNotified: received:node:b893918e-5656-4ce7-8abe-222ed8f43d97:localhost:node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f:Node 7f3dd924-391e-40a8-814e-0d86d9d2aa3f :: false |
publishItemsToNodes | 0.059s |
2022-05-09 22:37:21 |
2022-05-09 22:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:21 | ------------------------------------ 2022-05-09 22:37:21 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "entry": "<test>item-641cbc8d-4bbf-4058-886f-12a490eefe65</test>", "item-id": "item-641cbc8d-4bbf-4058-886f-12a490eefe65" } 2022-05-09 22:37:21 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-641cbc8d-4bbf-4058-886f-12a490eefe65" } 2022-05-09 22:37:21 | [Mutex] waiting for: [published:item:notifieditem-641cbc8d-4bbf-4058-886f-12a490eefe65:admin@test-domain.com] 2022-05-09 22:37:21 | [Mutex] received everything. 2022-05-09 22:37:21 | [Mutex] isItemNotified: published:item:notifieditem-641cbc8d-4bbf-4058-886f-12a490eefe65:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2022-05-09 22:37:21 |
2022-05-09 22:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:21 | ------------------------------------ 2022-05-09 22:37:21 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "item-id": "item-641cbc8d-4bbf-4058-886f-12a490eefe65" } 2022-05-09 22:37:22 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-641cbc8d-4bbf-4058-886f-12a490eefe65" } 2022-05-09 22:37:22 | [Mutex] received everything. 2022-05-09 22:37:22 | [Mutex] isItemNotified: retracted:item:notifieditem-641cbc8d-4bbf-4058-886f-12a490eefe65:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.029s |
2022-05-09 22:37:21 |
2022-05-09 22:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:21 | ------------------------------------ 2022-05-09 22:37:21 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "item-id": "item-641cbc8d-4bbf-4058-886f-12a490eefe65" } 2022-05-09 22:37:21 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "item-id": "item-641cbc8d-4bbf-4058-886f-12a490eefe65", "item": [ "<item id=\"item-641cbc8d-4bbf-4058-886f-12a490eefe65\"><test>item-641cbc8d-4bbf-4058-886f-12a490eefe65</test></item>" ] } 2022-05-09 22:37:21 | [Mutex] notify: [retrieved:item:item-641cbc8d-4bbf-4058-886f-12a490eefe65:payload-matches:true:localhost] 2022-05-09 22:37:21 | [Mutex] received everything. 2022-05-09 22:37:21 | [Mutex] isItemNotified: retrieved:item:item-641cbc8d-4bbf-4058-886f-12a490eefe65:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2022-05-09 22:37:21 |
2022-05-09 22:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:21 | ------------------------------------ 2022-05-09 22:37:21 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-05-09 22:37:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "node-1f90e3fb-7b6a-41aa-b6b4-f5d945ae9bfa" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-05-09 22:37:21 |
2022-05-09 22:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:21 | ------------------------------------ 2022-05-09 22:37:21 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f)" } 2022-05-09 22:37:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2022-05-09 22:37:20 |
2022-05-09 22:37:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:20 | ------------------------------------ 2022-05-09 22:37:20 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "jids": [ "admin@test-domain.com" ] } 2022-05-09 22:37:20 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.079s |
2022-05-09 22:37:22 |
2022-05-09 22:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-05-09 22:37:22 | ------------------------------------ 2022-05-09 22:37:22 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7f3dd924-391e-40a8-814e-0d86d9d2aa3f", "jids": [ "admin@test-domain.com" ] } 2022-05-09 22:37:22 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |