Test duration : 9.225s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.035s |
2023-03-24 23:00:18 |
2023-03-24 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:18 | ------------------------------------ 2023-03-24 23:00:18 | [Mutex] waiting for: [configured:node:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e] 2023-03-24 23:00:18 | [Mutex] received everything. 2023-03-24 23:00:18 | [Mutex] isItemNotified: configured:node:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e :: true 2023-03-24 23:00:19 | [Mutex] waiting for: [received:nodes:48df1b51-3f3c-4d19-a845-5558689a8205:localhost] 2023-03-24 23:00:19 | [Mutex] received everything. 2023-03-24 23:00:19 | [Mutex] isItemNotified: received:node:48df1b51-3f3c-4d19-a845-5558689a8205:localhost:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:Node 386fdcc9-6df5-423a-9a37-f1ef6e330659 :: true 2023-03-24 23:00:19 | [Mutex] waiting for: [received:nodes:16e2f549-865d-43be-81fa-ef452aa236ba:localhost] 2023-03-24 23:00:19 | [Mutex] waiting for: [received:nodes:16e2f549-865d-43be-81fa-ef452aa236ba:localhost] 2023-03-24 23:00:19 | [Mutex] waiting for: [received:nodes:16e2f549-865d-43be-81fa-ef452aa236ba:localhost] 2023-03-24 23:00:19 | [Mutex] waiting for: [received:nodes:16e2f549-865d-43be-81fa-ef452aa236ba:localhost] 2023-03-24 23:00:19 | [Mutex] received everything. 2023-03-24 23:00:19 | [Mutex] isItemNotified: received:node:16e2f549-865d-43be-81fa-ef452aa236ba:localhost:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:Node 386fdcc9-6df5-423a-9a37-f1ef6e330659 :: false |
createNodes | 1.398s |
2023-03-24 23:00:15 |
2023-03-24 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:15 | ------------------------------------ 2023-03-24 23:00:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 386fdcc9-6df5-423a-9a37-f1ef6e330659</title></pubsub></data> 2023-03-24 23:00:16 | 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 23:00:17 | [Mutex] waiting for: [received:nodes:edc12a13-6828-4ce1-8d0b-af9e02d6a1c1:localhost] 2023-03-24 23:00:17 | [Mutex] waiting for: [received:nodes:edc12a13-6828-4ce1-8d0b-af9e02d6a1c1:localhost] 2023-03-24 23:00:17 | [Mutex] received everything. 2023-03-24 23:00:17 | [Mutex] isItemNotified: received:node:edc12a13-6828-4ce1-8d0b-af9e02d6a1c1:localhost:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:Node 386fdcc9-6df5-423a-9a37-f1ef6e330659 :: true |
createSubnodes | 1.017s |
2023-03-24 23:00:17 |
2023-03-24 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:17 | ------------------------------------ 2023-03-24 23:00:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f2001cf-2b83-4efa-9871-96e8e31a7f9e</title></pubsub></data> 2023-03-24 23:00:17 | 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 23:00:18 | [Mutex] waiting for: [received:nodes:e75f19cc-8c8a-4527-8b3e-7a7f4925ac41:localhost] 2023-03-24 23:00:18 | [Mutex] waiting for: [received:nodes:e75f19cc-8c8a-4527-8b3e-7a7f4925ac41:localhost] 2023-03-24 23:00:18 | [Mutex] waiting for: [received:nodes:e75f19cc-8c8a-4527-8b3e-7a7f4925ac41:localhost] 2023-03-24 23:00:18 | [Mutex] waiting for: [received:nodes:e75f19cc-8c8a-4527-8b3e-7a7f4925ac41:localhost] 2023-03-24 23:00:18 | [Mutex] received everything. 2023-03-24 23:00:18 | [Mutex] isItemNotified: received:node:e75f19cc-8c8a-4527-8b3e-7a7f4925ac41:localhost:node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e:Node 2f2001cf-2b83-4efa-9871-96e8e31a7f9e :: true |
deleteNodes | 1.017s |
2023-03-24 23:00:23 |
2023-03-24 23:00:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:23 | ------------------------------------ 2023-03-24 23:00:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e</node></data> 2023-03-24 23:00:23 | 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 23:00:24 | [Mutex] waiting for: [received:nodes:32e16a94-8138-4b32-92c7-c4cb17019ec0:localhost] 2023-03-24 23:00:24 | [Mutex] waiting for: [received:nodes:32e16a94-8138-4b32-92c7-c4cb17019ec0:localhost] 2023-03-24 23:00:24 | [Mutex] waiting for: [received:nodes:32e16a94-8138-4b32-92c7-c4cb17019ec0:localhost] 2023-03-24 23:00:24 | [Mutex] received everything. 2023-03-24 23:00:24 | [Mutex] isItemNotified: received:node:32e16a94-8138-4b32-92c7-c4cb17019ec0:localhost:node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e:Node 2f2001cf-2b83-4efa-9871-96e8e31a7f9e :: false |
deleteSubnodes | 1.112s |
2023-03-24 23:00:22 |
2023-03-24 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:22 | ------------------------------------ 2023-03-24 23:00:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node></data> 2023-03-24 23:00:22 | 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 23:00:23 | [Mutex] waiting for: [received:nodes:b8c23976-b1bf-4242-bfdd-bbed29fcf553:localhost] 2023-03-24 23:00:23 | [Mutex] waiting for: [received:nodes:b8c23976-b1bf-4242-bfdd-bbed29fcf553:localhost] 2023-03-24 23:00:23 | [Mutex] waiting for: [received:nodes:b8c23976-b1bf-4242-bfdd-bbed29fcf553:localhost] 2023-03-24 23:00:23 | [Mutex] received everything. 2023-03-24 23:00:23 | [Mutex] isItemNotified: received:node:b8c23976-b1bf-4242-bfdd-bbed29fcf553:localhost:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:Node 386fdcc9-6df5-423a-9a37-f1ef6e330659 :: false 2023-03-24 23:00:23 | [Mutex] waiting for: [received:nodes:d912232c-8aee-46de-b587-0f9e1cc7a5b4:localhost] 2023-03-24 23:00:23 | [Mutex] received everything. 2023-03-24 23:00:23 | [Mutex] isItemNotified: received:node:d912232c-8aee-46de-b587-0f9e1cc7a5b4:localhost:node-386fdcc9-6df5-423a-9a37-f1ef6e330659:Node 386fdcc9-6df5-423a-9a37-f1ef6e330659 :: false |
publishItemsToNodes | 0.233s |
2023-03-24 23:00:20 |
2023-03-24 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:20 | ------------------------------------ 2023-03-24 23:00:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node><item-id>item-168e84ae-77e3-422a-8f9f-662f40b01e91</item-id><entry><test>item-168e84ae-77e3-422a-8f9f-662f40b01e91</test></entry></data> 2023-03-24 23:00:20 | 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-168e84ae-77e3-422a-8f9f-662f40b01e91</value></item-id></result> 2023-03-24 23:00:20 | [Mutex] waiting for: [published:item:notifieditem-168e84ae-77e3-422a-8f9f-662f40b01e91:admin@test-domain.com] 2023-03-24 23:00:20 | [Mutex] received everything. 2023-03-24 23:00:20 | [Mutex] isItemNotified: published:item:notifieditem-168e84ae-77e3-422a-8f9f-662f40b01e91:admin@test-domain.com :: true |
retractItemsFromNodes | 0.223s |
2023-03-24 23:00:20 |
2023-03-24 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:20 | ------------------------------------ 2023-03-24 23:00:20 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node><item-id>item-168e84ae-77e3-422a-8f9f-662f40b01e91</item-id></data> 2023-03-24 23:00:21 | 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-168e84ae-77e3-422a-8f9f-662f40b01e91</value></item-id></result> 2023-03-24 23:00:21 | [Mutex] received everything. 2023-03-24 23:00:21 | [Mutex] isItemNotified: retracted:item:notifieditem-168e84ae-77e3-422a-8f9f-662f40b01e91:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.182s |
2023-03-24 23:00:20 |
2023-03-24 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:20 | ------------------------------------ 2023-03-24 23:00:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node><item-id>item-168e84ae-77e3-422a-8f9f-662f40b01e91</item-id></data> 2023-03-24 23:00:20 | 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-386fdcc9-6df5-423a-9a37-f1ef6e330659</value></node><item-id label="Item ID" type="text-single"><value>item-168e84ae-77e3-422a-8f9f-662f40b01e91</value></item-id><item label="Item" type="text-multi"><value><item id="item-168e84ae-77e3-422a-8f9f-662f40b01e91"><test>item-168e84ae-77e3-422a-8f9f-662f40b01e91</test></item></value></item></result> 2023-03-24 23:00:20 | [Mutex] notify: [retrieved:item:item-168e84ae-77e3-422a-8f9f-662f40b01e91:payload-matches:true:localhost] 2023-03-24 23:00:20 | [Mutex] received everything. 2023-03-24 23:00:20 | [Mutex] isItemNotified: retrieved:item:item-168e84ae-77e3-422a-8f9f-662f40b01e91:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-24 23:00:20 |
2023-03-24 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:20 | ------------------------------------ 2023-03-24 23:00:20 | 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 23:00:20 | 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-386fdcc9-6df5-423a-9a37-f1ef6e330659</value><value>node-2f2001cf-2b83-4efa-9871-96e8e31a7f9e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-24 23:00:20 |
2023-03-24 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:20 | ------------------------------------ 2023-03-24 23:00:20 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-386fdcc9-6df5-423a-9a37-f1ef6e330659)</node-pattern></data> 2023-03-24 23:00:20 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.131s |
2023-03-24 23:00:19 |
2023-03-24 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:19 | ------------------------------------ 2023-03-24 23:00:19 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-24 23:00:19 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.183s |
2023-03-24 23:00:21 |
2023-03-24 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 23:00:21 | ------------------------------------ 2023-03-24 23:00:21 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-386fdcc9-6df5-423a-9a37-f1ef6e330659</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-24 23:00:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |