Test duration : 8.698s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.090s |
2023-08-27 22:31:43 |
2023-08-27 22:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:43 | ------------------------------------ 2023-08-27 22:31:43 | [Mutex] waiting for: [configured:node:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:node-eb2210b3-c79b-4258-a4d9-69f4854e4d43] 2023-08-27 22:31:44 | [Mutex] received everything. 2023-08-27 22:31:44 | [Mutex] isItemNotified: configured:node:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:node-eb2210b3-c79b-4258-a4d9-69f4854e4d43 :: true 2023-08-27 22:31:45 | [Mutex] waiting for: [received:nodes:f9905ade-0586-46d5-a192-9f304d609051:localhost] 2023-08-27 22:31:45 | [Mutex] received everything. 2023-08-27 22:31:45 | [Mutex] isItemNotified: received:node:f9905ade-0586-46d5-a192-9f304d609051:localhost:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:Node 61d72da1-052d-4c7a-8099-d3fc9afb0914 :: true 2023-08-27 22:31:45 | [Mutex] waiting for: [received:nodes:3c92a294-909a-4383-aaa8-107496b08ff2:localhost] 2023-08-27 22:31:45 | [Mutex] waiting for: [received:nodes:3c92a294-909a-4383-aaa8-107496b08ff2:localhost] 2023-08-27 22:31:45 | [Mutex] waiting for: [received:nodes:3c92a294-909a-4383-aaa8-107496b08ff2:localhost] 2023-08-27 22:31:45 | [Mutex] waiting for: [received:nodes:3c92a294-909a-4383-aaa8-107496b08ff2:localhost] 2023-08-27 22:31:45 | [Mutex] received everything. 2023-08-27 22:31:45 | [Mutex] isItemNotified: received:node:3c92a294-909a-4383-aaa8-107496b08ff2:localhost:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:Node 61d72da1-052d-4c7a-8099-d3fc9afb0914 :: false |
createNodes | 1.677s |
2023-08-27 22:31:41 |
2023-08-27 22:31:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:41 | ------------------------------------ 2023-08-27 22:31:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "pubsub#title": "Node 61d72da1-052d-4c7a-8099-d3fc9afb0914" } 2023-08-27 22:31:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:31:42 | [Mutex] waiting for: [received:nodes:620679c9-6995-4094-893e-8adf47bfdabd:localhost] 2023-08-27 22:31:42 | [Mutex] waiting for: [received:nodes:620679c9-6995-4094-893e-8adf47bfdabd:localhost] 2023-08-27 22:31:42 | [Mutex] waiting for: [received:nodes:620679c9-6995-4094-893e-8adf47bfdabd:localhost] 2023-08-27 22:31:42 | [Mutex] received everything. 2023-08-27 22:31:42 | [Mutex] isItemNotified: received:node:620679c9-6995-4094-893e-8adf47bfdabd:localhost:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:Node 61d72da1-052d-4c7a-8099-d3fc9afb0914 :: true |
createSubnodes | 1.029s |
2023-08-27 22:31:42 |
2023-08-27 22:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:42 | ------------------------------------ 2023-08-27 22:31:42 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-eb2210b3-c79b-4258-a4d9-69f4854e4d43", "pubsub#title": "Node eb2210b3-c79b-4258-a4d9-69f4854e4d43" } 2023-08-27 22:31:42 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:31:43 | [Mutex] waiting for: [received:nodes:26721534-3143-4e46-8e4b-e536f2bff99b:localhost] 2023-08-27 22:31:43 | [Mutex] waiting for: [received:nodes:26721534-3143-4e46-8e4b-e536f2bff99b:localhost] 2023-08-27 22:31:43 | [Mutex] waiting for: [received:nodes:26721534-3143-4e46-8e4b-e536f2bff99b:localhost] 2023-08-27 22:31:43 | [Mutex] waiting for: [received:nodes:26721534-3143-4e46-8e4b-e536f2bff99b:localhost] 2023-08-27 22:31:43 | [Mutex] waiting for: [received:nodes:26721534-3143-4e46-8e4b-e536f2bff99b:localhost] 2023-08-27 22:31:43 | [Mutex] received everything. 2023-08-27 22:31:43 | [Mutex] isItemNotified: received:node:26721534-3143-4e46-8e4b-e536f2bff99b:localhost:node-eb2210b3-c79b-4258-a4d9-69f4854e4d43:Node eb2210b3-c79b-4258-a4d9-69f4854e4d43 :: true |
deleteNodes | 1.017s |
2023-08-27 22:31:48 |
2023-08-27 22:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:48 | ------------------------------------ 2023-08-27 22:31:48 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-eb2210b3-c79b-4258-a4d9-69f4854e4d43" } 2023-08-27 22:31:48 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:a0ccdf28-7fc7-474d-a589-13b24c47ad78:localhost] 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:a0ccdf28-7fc7-474d-a589-13b24c47ad78:localhost] 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:a0ccdf28-7fc7-474d-a589-13b24c47ad78:localhost] 2023-08-27 22:31:49 | [Mutex] received everything. 2023-08-27 22:31:49 | [Mutex] isItemNotified: received:node:a0ccdf28-7fc7-474d-a589-13b24c47ad78:localhost:node-eb2210b3-c79b-4258-a4d9-69f4854e4d43:Node eb2210b3-c79b-4258-a4d9-69f4854e4d43 :: false |
deleteSubnodes | 1.027s |
2023-08-27 22:31:47 |
2023-08-27 22:31:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:47 | ------------------------------------ 2023-08-27 22:31:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914" } 2023-08-27 22:31:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:ceffa303-0373-4330-90c4-58d7eef05ceb:localhost] 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:ceffa303-0373-4330-90c4-58d7eef05ceb:localhost] 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:ceffa303-0373-4330-90c4-58d7eef05ceb:localhost] 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:ceffa303-0373-4330-90c4-58d7eef05ceb:localhost] 2023-08-27 22:31:48 | [Mutex] received everything. 2023-08-27 22:31:48 | [Mutex] isItemNotified: received:node:ceffa303-0373-4330-90c4-58d7eef05ceb:localhost:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:Node 61d72da1-052d-4c7a-8099-d3fc9afb0914 :: false 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:ce25fa75-7053-40a4-8085-523e4bce5f54:localhost] 2023-08-27 22:31:48 | [Mutex] received everything. 2023-08-27 22:31:48 | [Mutex] isItemNotified: received:node:ce25fa75-7053-40a4-8085-523e4bce5f54:localhost:node-61d72da1-052d-4c7a-8099-d3fc9afb0914:Node 61d72da1-052d-4c7a-8099-d3fc9afb0914 :: false |
publishItemsToNodes | 0.044s |
2023-08-27 22:31:46 |
2023-08-27 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:46 | ------------------------------------ 2023-08-27 22:31:46 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "entry": "<test>item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d</test>", "item-id": "item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d" } 2023-08-27 22:31:46 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d" } 2023-08-27 22:31:46 | [Mutex] waiting for: [published:item:notifieditem-37ccd71e-0984-41f4-b7ff-91aa89b70e4d:admin@test-domain.com] 2023-08-27 22:31:46 | [Mutex] received everything. 2023-08-27 22:31:46 | [Mutex] isItemNotified: published:item:notifieditem-37ccd71e-0984-41f4-b7ff-91aa89b70e4d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-08-27 22:31:46 |
2023-08-27 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:46 | ------------------------------------ 2023-08-27 22:31:46 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "item-id": "item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d" } 2023-08-27 22:31:46 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d" } 2023-08-27 22:31:46 | [Mutex] received everything. 2023-08-27 22:31:46 | [Mutex] isItemNotified: retracted:item:notifieditem-37ccd71e-0984-41f4-b7ff-91aa89b70e4d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.082s |
2023-08-27 22:31:46 |
2023-08-27 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:46 | ------------------------------------ 2023-08-27 22:31:46 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "item-id": "item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d" } 2023-08-27 22:31:46 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "item-id": "item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d", "item": [ "<item id=\"item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d\"><test>item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d</test></item>" ] } 2023-08-27 22:31:46 | [Mutex] notify: [retrieved:item:item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d:payload-matches:true:localhost] 2023-08-27 22:31:46 | [Mutex] received everything. 2023-08-27 22:31:46 | [Mutex] isItemNotified: retrieved:item:item-37ccd71e-0984-41f4-b7ff-91aa89b70e4d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-08-27 22:31:46 |
2023-08-27 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:46 | ------------------------------------ 2023-08-27 22:31:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-08-27 22:31:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-eb2210b3-c79b-4258-a4d9-69f4854e4d43", "node-61d72da1-052d-4c7a-8099-d3fc9afb0914" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2023-08-27 22:31:46 |
2023-08-27 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:46 | ------------------------------------ 2023-08-27 22:31:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-61d72da1-052d-4c7a-8099-d3fc9afb0914)" } 2023-08-27 22:31:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2023-08-27 22:31:45 |
2023-08-27 22:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:45 | ------------------------------------ 2023-08-27 22:31:45 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "jids": [ "admin@test-domain.com" ] } 2023-08-27 22:31:45 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2023-08-27 22:31:46 |
2023-08-27 22:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-08-27 22:31:46 | ------------------------------------ 2023-08-27 22:31:46 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-61d72da1-052d-4c7a-8099-d3fc9afb0914", "jids": [ "admin@test-domain.com" ] } 2023-08-27 22:31:46 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |