Test duration : 8.642s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.112s |
2022-09-08 23:04:37 |
2022-09-08 23:04:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:37 | ------------------------------------ 2022-09-08 23:04:37 | [Mutex] waiting for: [configured:node:node-57bb2377-b72e-4320-ae51-023253f9a230:node-0eb5d7d0-73d2-4eb5-9708-a83e99734593] 2022-09-08 23:04:37 | [Mutex] received everything. 2022-09-08 23:04:37 | [Mutex] isItemNotified: configured:node:node-57bb2377-b72e-4320-ae51-023253f9a230:node-0eb5d7d0-73d2-4eb5-9708-a83e99734593 :: true 2022-09-08 23:04:38 | [Mutex] waiting for: [received:nodes:d8531a85-7159-4605-af71-70a4b6d90839:localhost] 2022-09-08 23:04:38 | [Mutex] received everything. 2022-09-08 23:04:38 | [Mutex] isItemNotified: received:node:d8531a85-7159-4605-af71-70a4b6d90839:localhost:node-57bb2377-b72e-4320-ae51-023253f9a230:Node 57bb2377-b72e-4320-ae51-023253f9a230 :: true 2022-09-08 23:04:38 | [Mutex] waiting for: [received:nodes:b0f5531e-9660-4e61-b588-bad143b09c06:localhost] 2022-09-08 23:04:38 | [Mutex] received everything. 2022-09-08 23:04:38 | [Mutex] isItemNotified: received:node:b0f5531e-9660-4e61-b588-bad143b09c06:localhost:node-57bb2377-b72e-4320-ae51-023253f9a230:Node 57bb2377-b72e-4320-ae51-023253f9a230 :: false |
createNodes | 1.569s |
2022-09-08 23:04:34 |
2022-09-08 23:04:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:34 | ------------------------------------ 2022-09-08 23:04:35 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "pubsub#title": "Node 57bb2377-b72e-4320-ae51-023253f9a230" } 2022-09-08 23:04:35 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-08 23:04:36 | [Mutex] waiting for: [received:nodes:ee05791d-eea0-41f7-883d-1be957cd4f50:localhost] 2022-09-08 23:04:36 | [Mutex] received everything. 2022-09-08 23:04:36 | [Mutex] isItemNotified: received:node:ee05791d-eea0-41f7-883d-1be957cd4f50:localhost:node-57bb2377-b72e-4320-ae51-023253f9a230:Node 57bb2377-b72e-4320-ae51-023253f9a230 :: true |
createSubnodes | 1.025s |
2022-09-08 23:04:36 |
2022-09-08 23:04:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:36 | ------------------------------------ 2022-09-08 23:04:36 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-0eb5d7d0-73d2-4eb5-9708-a83e99734593", "pubsub#title": "Node 0eb5d7d0-73d2-4eb5-9708-a83e99734593" } 2022-09-08 23:04:36 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-08 23:04:37 | [Mutex] waiting for: [received:nodes:d84ce7e0-e7a3-42b8-9201-57ac3303d0f9:localhost] 2022-09-08 23:04:37 | [Mutex] received everything. 2022-09-08 23:04:37 | [Mutex] isItemNotified: received:node:d84ce7e0-e7a3-42b8-9201-57ac3303d0f9:localhost:node-0eb5d7d0-73d2-4eb5-9708-a83e99734593:Node 0eb5d7d0-73d2-4eb5-9708-a83e99734593 :: true |
deleteNodes | 1.022s |
2022-09-08 23:04:41 |
2022-09-08 23:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:41 | ------------------------------------ 2022-09-08 23:04:41 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-0eb5d7d0-73d2-4eb5-9708-a83e99734593" } 2022-09-08 23:04:41 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-08 23:04:42 | [Mutex] waiting for: [received:nodes:7a582c6a-421a-4fa4-95d7-f9a11ff3d917:localhost] 2022-09-08 23:04:42 | [Mutex] waiting for: [received:nodes:7a582c6a-421a-4fa4-95d7-f9a11ff3d917:localhost] 2022-09-08 23:04:42 | [Mutex] waiting for: [received:nodes:7a582c6a-421a-4fa4-95d7-f9a11ff3d917:localhost] 2022-09-08 23:04:42 | [Mutex] received everything. 2022-09-08 23:04:42 | [Mutex] isItemNotified: received:node:7a582c6a-421a-4fa4-95d7-f9a11ff3d917:localhost:node-0eb5d7d0-73d2-4eb5-9708-a83e99734593:Node 0eb5d7d0-73d2-4eb5-9708-a83e99734593 :: false |
deleteSubnodes | 1.033s |
2022-09-08 23:04:40 |
2022-09-08 23:04:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:40 | ------------------------------------ 2022-09-08 23:04:40 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-57bb2377-b72e-4320-ae51-023253f9a230" } 2022-09-08 23:04:40 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-09-08 23:04:41 | [Mutex] waiting for: [received:nodes:26b2db5a-58e0-4d89-b69b-85c035e1f8e1:localhost] 2022-09-08 23:04:41 | [Mutex] received everything. 2022-09-08 23:04:41 | [Mutex] isItemNotified: received:node:26b2db5a-58e0-4d89-b69b-85c035e1f8e1:localhost:node-57bb2377-b72e-4320-ae51-023253f9a230:Node 57bb2377-b72e-4320-ae51-023253f9a230 :: false 2022-09-08 23:04:41 | [Mutex] waiting for: [received:nodes:8cde743e-dfe4-4bbe-93ac-2945062300df:localhost] 2022-09-08 23:04:41 | [Mutex] received everything. 2022-09-08 23:04:41 | [Mutex] isItemNotified: received:node:8cde743e-dfe4-4bbe-93ac-2945062300df:localhost:node-57bb2377-b72e-4320-ae51-023253f9a230:Node 57bb2377-b72e-4320-ae51-023253f9a230 :: false |
publishItemsToNodes | 0.037s |
2022-09-08 23:04:39 |
2022-09-08 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:39 | ------------------------------------ 2022-09-08 23:04:39 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "entry": "<test>item-34f9ab74-aa94-4829-b460-59417038c5db</test>", "item-id": "item-34f9ab74-aa94-4829-b460-59417038c5db" } 2022-09-08 23:04:39 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-34f9ab74-aa94-4829-b460-59417038c5db" } 2022-09-08 23:04:39 | [Mutex] waiting for: [published:item:notifieditem-34f9ab74-aa94-4829-b460-59417038c5db:admin@test-domain.com] 2022-09-08 23:04:39 | [Mutex] received everything. 2022-09-08 23:04:39 | [Mutex] isItemNotified: published:item:notifieditem-34f9ab74-aa94-4829-b460-59417038c5db:admin@test-domain.com :: true |
retractItemsFromNodes | 0.064s |
2022-09-08 23:04:39 |
2022-09-08 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:39 | ------------------------------------ 2022-09-08 23:04:39 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "item-id": "item-34f9ab74-aa94-4829-b460-59417038c5db" } 2022-09-08 23:04:39 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-34f9ab74-aa94-4829-b460-59417038c5db" } 2022-09-08 23:04:39 | [Mutex] received everything. 2022-09-08 23:04:39 | [Mutex] isItemNotified: retracted:item:notifieditem-34f9ab74-aa94-4829-b460-59417038c5db:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.079s |
2022-09-08 23:04:39 |
2022-09-08 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:39 | ------------------------------------ 2022-09-08 23:04:39 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "item-id": "item-34f9ab74-aa94-4829-b460-59417038c5db" } 2022-09-08 23:04:39 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "item-id": "item-34f9ab74-aa94-4829-b460-59417038c5db", "item": [ "<item id=\"item-34f9ab74-aa94-4829-b460-59417038c5db\"><test>item-34f9ab74-aa94-4829-b460-59417038c5db</test></item>" ] } 2022-09-08 23:04:39 | [Mutex] notify: [retrieved:item:item-34f9ab74-aa94-4829-b460-59417038c5db:payload-matches:true:localhost] 2022-09-08 23:04:39 | [Mutex] received everything. 2022-09-08 23:04:39 | [Mutex] isItemNotified: retrieved:item:item-34f9ab74-aa94-4829-b460-59417038c5db:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2022-09-08 23:04:39 |
2022-09-08 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:39 | ------------------------------------ 2022-09-08 23:04:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-09-08 23:04:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-0eb5d7d0-73d2-4eb5-9708-a83e99734593", "test", "node-57bb2377-b72e-4320-ae51-023253f9a230" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-09-08 23:04:39 |
2022-09-08 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:39 | ------------------------------------ 2022-09-08 23:04:39 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-57bb2377-b72e-4320-ae51-023253f9a230)" } 2022-09-08 23:04:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.008s |
2022-09-08 23:04:38 |
2022-09-08 23:04:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:38 | ------------------------------------ 2022-09-08 23:04:38 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "jids": [ "admin@test-domain.com" ] } 2022-09-08 23:04:38 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.092s |
2022-09-08 23:04:39 |
2022-09-08 23:04:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-09-08 23:04:39 | ------------------------------------ 2022-09-08 23:04:39 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-57bb2377-b72e-4320-ae51-023253f9a230", "jids": [ "admin@test-domain.com" ] } 2022-09-08 23:04:39 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |