Test duration : 9.491s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2023-05-04 22:30:07 |
2023-05-04 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:07 | ------------------------------------ 2023-05-04 22:30:07 | [Mutex] waiting for: [configured:node:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:node-87c783d9-148c-43ee-8c2c-e4f5142fc2a0] 2023-05-04 22:30:07 | [Mutex] received everything. 2023-05-04 22:30:07 | [Mutex] isItemNotified: configured:node:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:node-87c783d9-148c-43ee-8c2c-e4f5142fc2a0 :: true 2023-05-04 22:30:08 | [Mutex] waiting for: [received:nodes:8d5de210-b436-45fc-b78a-edf1d61f5c88:localhost] 2023-05-04 22:30:08 | [Mutex] received everything. 2023-05-04 22:30:08 | [Mutex] isItemNotified: received:node:8d5de210-b436-45fc-b78a-edf1d61f5c88:localhost:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:Node ece8f33f-8d0c-4b16-a0f2-c718aba7e149 :: true 2023-05-04 22:30:08 | [Mutex] waiting for: [received:nodes:33f09d1e-6cdb-4698-a1b1-937b8e64dba5:localhost] 2023-05-04 22:30:08 | [Mutex] waiting for: [received:nodes:33f09d1e-6cdb-4698-a1b1-937b8e64dba5:localhost] 2023-05-04 22:30:08 | [Mutex] waiting for: [received:nodes:33f09d1e-6cdb-4698-a1b1-937b8e64dba5:localhost] 2023-05-04 22:30:08 | [Mutex] received everything. 2023-05-04 22:30:08 | [Mutex] isItemNotified: received:node:33f09d1e-6cdb-4698-a1b1-937b8e64dba5:localhost:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:Node ece8f33f-8d0c-4b16-a0f2-c718aba7e149 :: false |
createNodes | 1.418s |
2023-05-04 22:30:04 |
2023-05-04 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:04 | ------------------------------------ 2023-05-04 22:30:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ece8f33f-8d0c-4b16-a0f2-c718aba7e149</title></pubsub></data> 2023-05-04 22:30:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 22:30:06 | [Mutex] waiting for: [received:nodes:b949d065-682b-49c1-97d8-a4d0a71972cb:localhost] 2023-05-04 22:30:06 | [Mutex] received everything. 2023-05-04 22:30:06 | [Mutex] isItemNotified: received:node:b949d065-682b-49c1-97d8-a4d0a71972cb:localhost:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:Node ece8f33f-8d0c-4b16-a0f2-c718aba7e149 :: true |
createSubnodes | 1.031s |
2023-05-04 22:30:06 |
2023-05-04 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:06 | ------------------------------------ 2023-05-04 22:30:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-87c783d9-148c-43ee-8c2c-e4f5142fc2a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 87c783d9-148c-43ee-8c2c-e4f5142fc2a0</title></pubsub></data> 2023-05-04 22:30:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 22:30:07 | [Mutex] waiting for: [received:nodes:81e1fa66-edf3-447a-9a7e-66110b26f772:localhost] 2023-05-04 22:30:07 | [Mutex] waiting for: [received:nodes:81e1fa66-edf3-447a-9a7e-66110b26f772:localhost] 2023-05-04 22:30:07 | [Mutex] waiting for: [received:nodes:81e1fa66-edf3-447a-9a7e-66110b26f772:localhost] 2023-05-04 22:30:07 | [Mutex] waiting for: [received:nodes:81e1fa66-edf3-447a-9a7e-66110b26f772:localhost] 2023-05-04 22:30:07 | [Mutex] waiting for: [received:nodes:81e1fa66-edf3-447a-9a7e-66110b26f772:localhost] 2023-05-04 22:30:07 | [Mutex] received everything. 2023-05-04 22:30:07 | [Mutex] isItemNotified: received:node:81e1fa66-edf3-447a-9a7e-66110b26f772:localhost:node-87c783d9-148c-43ee-8c2c-e4f5142fc2a0:Node 87c783d9-148c-43ee-8c2c-e4f5142fc2a0 :: true |
deleteNodes | 1.017s |
2023-05-04 22:30:12 |
2023-05-04 22:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:12 | ------------------------------------ 2023-05-04 22:30:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-87c783d9-148c-43ee-8c2c-e4f5142fc2a0</node></data> 2023-05-04 22:30:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 22:30:13 | [Mutex] waiting for: [received:nodes:3722be80-dbb0-42eb-8ebd-40779fe98366:localhost] 2023-05-04 22:30:13 | [Mutex] waiting for: [received:nodes:3722be80-dbb0-42eb-8ebd-40779fe98366:localhost] 2023-05-04 22:30:13 | [Mutex] received everything. 2023-05-04 22:30:13 | [Mutex] isItemNotified: received:node:3722be80-dbb0-42eb-8ebd-40779fe98366:localhost:node-87c783d9-148c-43ee-8c2c-e4f5142fc2a0:Node 87c783d9-148c-43ee-8c2c-e4f5142fc2a0 :: false |
deleteSubnodes | 1.155s |
2023-05-04 22:30:11 |
2023-05-04 22:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:11 | ------------------------------------ 2023-05-04 22:30:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node></data> 2023-05-04 22:30:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 22:30:12 | [Mutex] waiting for: [received:nodes:22299122-ca9a-4fe4-a1d4-27ac4dc27367:localhost] 2023-05-04 22:30:12 | [Mutex] waiting for: [received:nodes:22299122-ca9a-4fe4-a1d4-27ac4dc27367:localhost] 2023-05-04 22:30:12 | [Mutex] waiting for: [received:nodes:22299122-ca9a-4fe4-a1d4-27ac4dc27367:localhost] 2023-05-04 22:30:12 | [Mutex] waiting for: [received:nodes:22299122-ca9a-4fe4-a1d4-27ac4dc27367:localhost] 2023-05-04 22:30:12 | [Mutex] received everything. 2023-05-04 22:30:12 | [Mutex] isItemNotified: received:node:22299122-ca9a-4fe4-a1d4-27ac4dc27367:localhost:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:Node ece8f33f-8d0c-4b16-a0f2-c718aba7e149 :: false 2023-05-04 22:30:12 | [Mutex] waiting for: [received:nodes:0beed82e-6818-48e4-8366-f171d849541b:localhost] 2023-05-04 22:30:12 | [Mutex] received everything. 2023-05-04 22:30:12 | [Mutex] isItemNotified: received:node:0beed82e-6818-48e4-8366-f171d849541b:localhost:node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149:Node ece8f33f-8d0c-4b16-a0f2-c718aba7e149 :: false |
publishItemsToNodes | 0.236s |
2023-05-04 22:30:09 |
2023-05-04 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:09 | ------------------------------------ 2023-05-04 22:30:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node><item-id>item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</item-id><entry><test>item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</test></entry></data> 2023-05-04 22:30:09 | 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-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</value></item-id></result> 2023-05-04 22:30:09 | [Mutex] received everything. 2023-05-04 22:30:09 | [Mutex] isItemNotified: published:item:notifieditem-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.249s |
2023-05-04 22:30:10 |
2023-05-04 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:10 | ------------------------------------ 2023-05-04 22:30:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node><item-id>item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</item-id></data> 2023-05-04 22:30:10 | 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-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</value></item-id></result> 2023-05-04 22:30:10 | [Mutex] waiting for: [retracted:item:notifieditem-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc:admin@test-domain.com] 2023-05-04 22:30:10 | [Mutex] received everything. 2023-05-04 22:30:10 | [Mutex] isItemNotified: retracted:item:notifieditem-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.303s |
2023-05-04 22:30:09 |
2023-05-04 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:09 | ------------------------------------ 2023-05-04 22:30:09 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node><item-id>item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</item-id></data> 2023-05-04 22:30:09 | 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-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</value></node><item-id label="Item ID" type="text-single"><value>item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</value></item-id><item label="Item" type="text-multi"><value><item id="item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc"><test>item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc</test></item></value></item></result> 2023-05-04 22:30:09 | [Mutex] notify: [retrieved:item:item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc:payload-matches:true:localhost] 2023-05-04 22:30:09 | [Mutex] received everything. 2023-05-04 22:30:09 | [Mutex] isItemNotified: retrieved:item:item-d0f011a8-f5d7-4cac-9b55-6a6e61ab8abc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-05-04 22:30:09 |
2023-05-04 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:09 | ------------------------------------ 2023-05-04 22:30:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-05-04 22:30:10 | 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-87c783d9-148c-43ee-8c2c-e4f5142fc2a0</value><value>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-05-04 22:30:10 |
2023-05-04 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:10 | ------------------------------------ 2023-05-04 22:30:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149)</node-pattern></data> 2023-05-04 22:30:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.102s |
2023-05-04 22:30:08 |
2023-05-04 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:08 | ------------------------------------ 2023-05-04 22:30:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node><jids><value>admin@test-domain.com</value></jids></data> 2023-05-04 22:30:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.189s |
2023-05-04 22:30:10 |
2023-05-04 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 22:30:10 | ------------------------------------ 2023-05-04 22:30:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ece8f33f-8d0c-4b16-a0f2-c718aba7e149</node><jids><value>admin@test-domain.com</value></jids></data> 2023-05-04 22:30:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |