Test duration : 9.447s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.083s |
2023-02-17 22:03:45 |
2023-02-17 22:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:45 | ------------------------------------ 2023-02-17 22:03:45 | [Mutex] waiting for: [configured:node:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b] 2023-02-17 22:03:45 | [Mutex] received everything. 2023-02-17 22:03:45 | [Mutex] isItemNotified: configured:node:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b :: true 2023-02-17 22:03:46 | [Mutex] waiting for: [received:nodes:5bf38675-7eaa-4ed1-8460-b2554dcab826:localhost] 2023-02-17 22:03:46 | [Mutex] received everything. 2023-02-17 22:03:46 | [Mutex] isItemNotified: received:node:5bf38675-7eaa-4ed1-8460-b2554dcab826:localhost:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:Node 2c85453b-f82c-43c8-a420-d0e22cd1a650 :: true 2023-02-17 22:03:46 | [Mutex] waiting for: [received:nodes:c2696ebc-b72a-48d9-a52c-764113aa0b7c:localhost] 2023-02-17 22:03:46 | [Mutex] waiting for: [received:nodes:c2696ebc-b72a-48d9-a52c-764113aa0b7c:localhost] 2023-02-17 22:03:46 | [Mutex] waiting for: [received:nodes:c2696ebc-b72a-48d9-a52c-764113aa0b7c:localhost] 2023-02-17 22:03:46 | [Mutex] waiting for: [received:nodes:c2696ebc-b72a-48d9-a52c-764113aa0b7c:localhost] 2023-02-17 22:03:46 | [Mutex] received everything. 2023-02-17 22:03:46 | [Mutex] isItemNotified: received:node:c2696ebc-b72a-48d9-a52c-764113aa0b7c:localhost:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:Node 2c85453b-f82c-43c8-a420-d0e22cd1a650 :: false |
createNodes | 1.463s |
2023-02-17 22:03:43 |
2023-02-17 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:43 | ------------------------------------ 2023-02-17 22:03:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2c85453b-f82c-43c8-a420-d0e22cd1a650</title></pubsub></data> 2023-02-17 22:03:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 22:03:44 | [Mutex] waiting for: [received:nodes:488db104-fc07-4d18-91f1-0b7fe208d315:localhost] 2023-02-17 22:03:44 | [Mutex] waiting for: [received:nodes:488db104-fc07-4d18-91f1-0b7fe208d315:localhost] 2023-02-17 22:03:44 | [Mutex] waiting for: [received:nodes:488db104-fc07-4d18-91f1-0b7fe208d315:localhost] 2023-02-17 22:03:44 | [Mutex] waiting for: [received:nodes:488db104-fc07-4d18-91f1-0b7fe208d315:localhost] 2023-02-17 22:03:44 | [Mutex] received everything. 2023-02-17 22:03:44 | [Mutex] isItemNotified: received:node:488db104-fc07-4d18-91f1-0b7fe208d315:localhost:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:Node 2c85453b-f82c-43c8-a420-d0e22cd1a650 :: true |
createSubnodes | 1.025s |
2023-02-17 22:03:44 |
2023-02-17 22:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:44 | ------------------------------------ 2023-02-17 22:03:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b</title></pubsub></data> 2023-02-17 22:03:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 22:03:45 | [Mutex] waiting for: [received:nodes:790642d6-0729-4c3c-b253-9a17139f9e99:localhost] 2023-02-17 22:03:45 | [Mutex] waiting for: [received:nodes:790642d6-0729-4c3c-b253-9a17139f9e99:localhost] 2023-02-17 22:03:45 | [Mutex] waiting for: [received:nodes:790642d6-0729-4c3c-b253-9a17139f9e99:localhost] 2023-02-17 22:03:45 | [Mutex] waiting for: [received:nodes:790642d6-0729-4c3c-b253-9a17139f9e99:localhost] 2023-02-17 22:03:45 | [Mutex] received everything. 2023-02-17 22:03:45 | [Mutex] isItemNotified: received:node:790642d6-0729-4c3c-b253-9a17139f9e99:localhost:node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b:Node 1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b :: true |
deleteNodes | 1.022s |
2023-02-17 22:03:51 |
2023-02-17 22:03:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:51 | ------------------------------------ 2023-02-17 22:03:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b</node></data> 2023-02-17 22:03:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 22:03:52 | [Mutex] waiting for: [received:nodes:3ed945fd-8646-4e63-81de-a3ebd278aeca:localhost] 2023-02-17 22:03:52 | [Mutex] received everything. 2023-02-17 22:03:52 | [Mutex] isItemNotified: received:node:3ed945fd-8646-4e63-81de-a3ebd278aeca:localhost:node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b:Node 1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b :: false |
deleteSubnodes | 1.132s |
2023-02-17 22:03:49 |
2023-02-17 22:03:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:49 | ------------------------------------ 2023-02-17 22:03:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node></data> 2023-02-17 22:03:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 22:03:51 | [Mutex] waiting for: [received:nodes:716b4346-e11a-423b-977c-14627960a706:localhost] 2023-02-17 22:03:51 | [Mutex] waiting for: [received:nodes:716b4346-e11a-423b-977c-14627960a706:localhost] 2023-02-17 22:03:51 | [Mutex] waiting for: [received:nodes:716b4346-e11a-423b-977c-14627960a706:localhost] 2023-02-17 22:03:51 | [Mutex] received everything. 2023-02-17 22:03:51 | [Mutex] isItemNotified: received:node:716b4346-e11a-423b-977c-14627960a706:localhost:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:Node 2c85453b-f82c-43c8-a420-d0e22cd1a650 :: false 2023-02-17 22:03:51 | [Mutex] waiting for: [received:nodes:3af5a2fa-1b99-4997-9782-ce0ad4cf0a60:localhost] 2023-02-17 22:03:51 | [Mutex] received everything. 2023-02-17 22:03:51 | [Mutex] isItemNotified: received:node:3af5a2fa-1b99-4997-9782-ce0ad4cf0a60:localhost:node-2c85453b-f82c-43c8-a420-d0e22cd1a650:Node 2c85453b-f82c-43c8-a420-d0e22cd1a650 :: false |
publishItemsToNodes | 0.290s |
2023-02-17 22:03:47 |
2023-02-17 22:03:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:47 | ------------------------------------ 2023-02-17 22:03:47 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node><item-id>item-fd10c102-8568-483c-bbd9-84e35581ebdb</item-id><entry><test>item-fd10c102-8568-483c-bbd9-84e35581ebdb</test></entry></data> 2023-02-17 22:03:48 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-fd10c102-8568-483c-bbd9-84e35581ebdb</value></item-id></result> 2023-02-17 22:03:48 | [Mutex] waiting for: [published:item:notifieditem-fd10c102-8568-483c-bbd9-84e35581ebdb:admin@test-domain.com] 2023-02-17 22:03:48 | [Mutex] received everything. 2023-02-17 22:03:48 | [Mutex] isItemNotified: published:item:notifieditem-fd10c102-8568-483c-bbd9-84e35581ebdb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2023-02-17 22:03:48 |
2023-02-17 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:48 | ------------------------------------ 2023-02-17 22:03:48 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node><item-id>item-fd10c102-8568-483c-bbd9-84e35581ebdb</item-id></data> 2023-02-17 22:03:48 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-fd10c102-8568-483c-bbd9-84e35581ebdb</value></item-id></result> 2023-02-17 22:03:48 | [Mutex] received everything. 2023-02-17 22:03:48 | [Mutex] isItemNotified: retracted:item:notifieditem-fd10c102-8568-483c-bbd9-84e35581ebdb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.112s |
2023-02-17 22:03:48 |
2023-02-17 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:48 | ------------------------------------ 2023-02-17 22:03:48 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node><item-id>item-fd10c102-8568-483c-bbd9-84e35581ebdb</item-id></data> 2023-02-17 22:03:48 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</value></node><item-id label="Item ID" type="text-single"><value>item-fd10c102-8568-483c-bbd9-84e35581ebdb</value></item-id><item label="Item" type="text-multi"><value><item id="item-fd10c102-8568-483c-bbd9-84e35581ebdb"><test>item-fd10c102-8568-483c-bbd9-84e35581ebdb</test></item></value></item></result> 2023-02-17 22:03:48 | [Mutex] notify: [retrieved:item:item-fd10c102-8568-483c-bbd9-84e35581ebdb:payload-matches:true:localhost] 2023-02-17 22:03:48 | [Mutex] received everything. 2023-02-17 22:03:48 | [Mutex] isItemNotified: retrieved:item:item-fd10c102-8568-483c-bbd9-84e35581ebdb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2023-02-17 22:03:48 |
2023-02-17 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:48 | ------------------------------------ 2023-02-17 22:03:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-02-17 22:03:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-1b7d8a3c-1e38-4241-aa1d-6e5319c7fa2b</value><value>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-02-17 22:03:48 |
2023-02-17 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:48 | ------------------------------------ 2023-02-17 22:03:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2c85453b-f82c-43c8-a420-d0e22cd1a650)</node-pattern></data> 2023-02-17 22:03:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.103s |
2023-02-17 22:03:46 |
2023-02-17 22:03:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:46 | ------------------------------------ 2023-02-17 22:03:46 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-17 22:03:46 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.216s |
2023-02-17 22:03:48 |
2023-02-17 22:03:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 22:03:48 | ------------------------------------ 2023-02-17 22:03:48 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2c85453b-f82c-43c8-a420-d0e22cd1a650</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-17 22:03:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |