Test duration : 9.463s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2023-03-24 22:30:01 |
2023-03-24 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:01 | ------------------------------------ 2023-03-24 22:30:01 | [Mutex] waiting for: [configured:node:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:node-1dd253d8-89fa-446c-b673-bd684130a459] 2023-03-24 22:30:01 | [Mutex] received everything. 2023-03-24 22:30:01 | [Mutex] isItemNotified: configured:node:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:node-1dd253d8-89fa-446c-b673-bd684130a459 :: true 2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:a862622b-5bd1-48f4-8b04-722fdcc3bf6a:localhost] 2023-03-24 22:30:02 | [Mutex] received everything. 2023-03-24 22:30:02 | [Mutex] isItemNotified: received:node:a862622b-5bd1-48f4-8b04-722fdcc3bf6a:localhost:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:Node 39ab8494-7a66-473d-8d92-69de3d3e37ee :: true 2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:3e178b0b-381e-4175-8618-0e414d60ddaf:localhost] 2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:3e178b0b-381e-4175-8618-0e414d60ddaf:localhost] 2023-03-24 22:30:02 | [Mutex] waiting for: [received:nodes:3e178b0b-381e-4175-8618-0e414d60ddaf:localhost] 2023-03-24 22:30:02 | [Mutex] received everything. 2023-03-24 22:30:02 | [Mutex] isItemNotified: received:node:3e178b0b-381e-4175-8618-0e414d60ddaf:localhost:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:Node 39ab8494-7a66-473d-8d92-69de3d3e37ee :: false |
createNodes | 1.410s |
2023-03-24 22:29:59 |
2023-03-24 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:29:59 | ------------------------------------ 2023-03-24 22:29:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 39ab8494-7a66-473d-8d92-69de3d3e37ee</title></pubsub></data> 2023-03-24 22:29:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:00 | [Mutex] waiting for: [received:nodes:bb25060a-d116-4737-8707-8fc35683046a:localhost] 2023-03-24 22:30:00 | [Mutex] waiting for: [received:nodes:bb25060a-d116-4737-8707-8fc35683046a:localhost] 2023-03-24 22:30:00 | [Mutex] waiting for: [received:nodes:bb25060a-d116-4737-8707-8fc35683046a:localhost] 2023-03-24 22:30:00 | [Mutex] waiting for: [received:nodes:bb25060a-d116-4737-8707-8fc35683046a:localhost] 2023-03-24 22:30:00 | [Mutex] received everything. 2023-03-24 22:30:00 | [Mutex] isItemNotified: received:node:bb25060a-d116-4737-8707-8fc35683046a:localhost:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:Node 39ab8494-7a66-473d-8d92-69de3d3e37ee :: true |
createSubnodes | 1.030s |
2023-03-24 22:30:00 |
2023-03-24 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:00 | ------------------------------------ 2023-03-24 22:30:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1dd253d8-89fa-446c-b673-bd684130a459</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1dd253d8-89fa-446c-b673-bd684130a459</title></pubsub></data> 2023-03-24 22:30:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:f03dcb66-8e0f-43be-95d0-77977f02650e:localhost] 2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:f03dcb66-8e0f-43be-95d0-77977f02650e:localhost] 2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:f03dcb66-8e0f-43be-95d0-77977f02650e:localhost] 2023-03-24 22:30:01 | [Mutex] waiting for: [received:nodes:f03dcb66-8e0f-43be-95d0-77977f02650e:localhost] 2023-03-24 22:30:01 | [Mutex] received everything. 2023-03-24 22:30:01 | [Mutex] isItemNotified: received:node:f03dcb66-8e0f-43be-95d0-77977f02650e:localhost:node-1dd253d8-89fa-446c-b673-bd684130a459:Node 1dd253d8-89fa-446c-b673-bd684130a459 :: true |
deleteNodes | 1.018s |
2023-03-24 22:30:07 |
2023-03-24 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:07 | ------------------------------------ 2023-03-24 22:30:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1dd253d8-89fa-446c-b673-bd684130a459</node></data> 2023-03-24 22:30:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:08 | [Mutex] waiting for: [received:nodes:bc1ca465-eb16-450d-a719-ad22227f5729:localhost] 2023-03-24 22:30:08 | [Mutex] waiting for: [received:nodes:bc1ca465-eb16-450d-a719-ad22227f5729:localhost] 2023-03-24 22:30:08 | [Mutex] waiting for: [received:nodes:bc1ca465-eb16-450d-a719-ad22227f5729:localhost] 2023-03-24 22:30:08 | [Mutex] received everything. 2023-03-24 22:30:08 | [Mutex] isItemNotified: received:node:bc1ca465-eb16-450d-a719-ad22227f5729:localhost:node-1dd253d8-89fa-446c-b673-bd684130a459:Node 1dd253d8-89fa-446c-b673-bd684130a459 :: false |
deleteSubnodes | 1.130s |
2023-03-24 22:30:05 |
2023-03-24 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:05 | ------------------------------------ 2023-03-24 22:30:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node></data> 2023-03-24 22:30:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:07 | [Mutex] waiting for: [received:nodes:619b05e0-0702-4425-8660-d2ef8eed5d9a:localhost] 2023-03-24 22:30:07 | [Mutex] waiting for: [received:nodes:619b05e0-0702-4425-8660-d2ef8eed5d9a:localhost] 2023-03-24 22:30:07 | [Mutex] waiting for: [received:nodes:619b05e0-0702-4425-8660-d2ef8eed5d9a:localhost] 2023-03-24 22:30:07 | [Mutex] received everything. 2023-03-24 22:30:07 | [Mutex] isItemNotified: received:node:619b05e0-0702-4425-8660-d2ef8eed5d9a:localhost:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:Node 39ab8494-7a66-473d-8d92-69de3d3e37ee :: false 2023-03-24 22:30:07 | [Mutex] waiting for: [received:nodes:71c5a4a3-477f-4dd3-9184-af9aa70834ea:localhost] 2023-03-24 22:30:07 | [Mutex] received everything. 2023-03-24 22:30:07 | [Mutex] isItemNotified: received:node:71c5a4a3-477f-4dd3-9184-af9aa70834ea:localhost:node-39ab8494-7a66-473d-8d92-69de3d3e37ee:Node 39ab8494-7a66-473d-8d92-69de3d3e37ee :: false |
publishItemsToNodes | 0.214s |
2023-03-24 22:30:03 |
2023-03-24 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:03 | ------------------------------------ 2023-03-24 22:30:03 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node><item-id>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</item-id><entry><test>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</test></entry></data> 2023-03-24 22:30:04 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</value></item-id></result> 2023-03-24 22:30:04 | [Mutex] waiting for: [published:item:notifieditem-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d:admin@test-domain.com] 2023-03-24 22:30:04 | [Mutex] received everything. 2023-03-24 22:30:04 | [Mutex] isItemNotified: published:item:notifieditem-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2023-03-24 22:30:04 |
2023-03-24 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:04 | ------------------------------------ 2023-03-24 22:30:04 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node><item-id>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</item-id></data> 2023-03-24 22:30:04 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</value></item-id></result> 2023-03-24 22:30:04 | [Mutex] received everything. 2023-03-24 22:30:04 | [Mutex] isItemNotified: retracted:item:notifieditem-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2023-03-24 22:30:04 |
2023-03-24 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:04 | ------------------------------------ 2023-03-24 22:30:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node><item-id>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</item-id></data> 2023-03-24 22:30:04 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</value></node><item-id type="text-single" label="Item ID"><value>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</value></item-id><item type="text-multi" label="Item"><value><item id="item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d"><test>item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d</test></item></value></item></result> 2023-03-24 22:30:04 | [Mutex] notify: [retrieved:item:item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d:payload-matches:true:localhost] 2023-03-24 22:30:04 | [Mutex] received everything. 2023-03-24 22:30:04 | [Mutex] isItemNotified: retrieved:item:item-deeb5ab4-a130-4ad9-ad97-9977c1b5a94d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-24 22:30:04 |
2023-03-24 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:04 | ------------------------------------ 2023-03-24 22:30:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-24 22:30:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</value><value>node-1dd253d8-89fa-446c-b673-bd684130a459</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2023-03-24 22:30:04 |
2023-03-24 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:04 | ------------------------------------ 2023-03-24 22:30:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-39ab8494-7a66-473d-8d92-69de3d3e37ee)</node-pattern></data> 2023-03-24 22:30:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.150s |
2023-03-24 22:30:02 |
2023-03-24 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:02 | ------------------------------------ 2023-03-24 22:30:02 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-24 22:30:02 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.204s |
2023-03-24 22:30:04 |
2023-03-24 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:04 | ------------------------------------ 2023-03-24 22:30:04 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-39ab8494-7a66-473d-8d92-69de3d3e37ee</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-24 22:30:04 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |