Test duration : 10.274s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2021-03-14 22:33:12 |
2021-03-14 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:12 | ------------------------------------ 2021-03-14 22:33:12 | [Mutex] waiting for: [configured:node:node-91a04817-b4a2-465e-970c-ef3a82258eb2:node-f34d4140-ded2-49c7-88ab-d2da29479ca8] 2021-03-14 22:33:12 | [Mutex] received everything. 2021-03-14 22:33:12 | [Mutex] isItemNotified: configured:node:node-91a04817-b4a2-465e-970c-ef3a82258eb2:node-f34d4140-ded2-49c7-88ab-d2da29479ca8 :: true 2021-03-14 22:33:13 | [Mutex] waiting for: [received:nodes:27916554-da47-43bc-b198-779bdde6f972:localhost] 2021-03-14 22:33:13 | [Mutex] received everything. 2021-03-14 22:33:13 | [Mutex] isItemNotified: received:node:27916554-da47-43bc-b198-779bdde6f972:localhost:node-91a04817-b4a2-465e-970c-ef3a82258eb2:Node 91a04817-b4a2-465e-970c-ef3a82258eb2 :: true 2021-03-14 22:33:13 | [Mutex] waiting for: [received:nodes:1a270fee-1537-46ff-b092-b91444476fc3:localhost] 2021-03-14 22:33:13 | [Mutex] received everything. 2021-03-14 22:33:13 | [Mutex] isItemNotified: received:node:1a270fee-1537-46ff-b092-b91444476fc3:localhost:node-91a04817-b4a2-465e-970c-ef3a82258eb2:Node 91a04817-b4a2-465e-970c-ef3a82258eb2 :: false |
createNodes | 1.535s |
2021-03-14 22:33:09 |
2021-03-14 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:09 | ------------------------------------ 2021-03-14 22:33:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 91a04817-b4a2-465e-970c-ef3a82258eb2</title></pubsub></data> 2021-03-14 22:33:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:33:11 | [Mutex] waiting for: [received:nodes:a818ba80-789c-407f-9a5c-82ad952e7c86:localhost] 2021-03-14 22:33:11 | [Mutex] received everything. 2021-03-14 22:33:11 | [Mutex] isItemNotified: received:node:a818ba80-789c-407f-9a5c-82ad952e7c86:localhost:node-91a04817-b4a2-465e-970c-ef3a82258eb2:Node 91a04817-b4a2-465e-970c-ef3a82258eb2 :: true |
createSubnodes | 1.033s |
2021-03-14 22:33:11 |
2021-03-14 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:11 | ------------------------------------ 2021-03-14 22:33:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f34d4140-ded2-49c7-88ab-d2da29479ca8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f34d4140-ded2-49c7-88ab-d2da29479ca8</title></pubsub></data> 2021-03-14 22:33:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:33:12 | [Mutex] waiting for: [received:nodes:622979a1-9a85-46f5-9508-cbb44e6693e5:localhost] 2021-03-14 22:33:12 | [Mutex] received everything. 2021-03-14 22:33:12 | [Mutex] isItemNotified: received:node:622979a1-9a85-46f5-9508-cbb44e6693e5:localhost:node-f34d4140-ded2-49c7-88ab-d2da29479ca8:Node f34d4140-ded2-49c7-88ab-d2da29479ca8 :: true |
deleteNodes | 1.020s |
2021-03-14 22:33:17 |
2021-03-14 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:17 | ------------------------------------ 2021-03-14 22:33:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f34d4140-ded2-49c7-88ab-d2da29479ca8</node></data> 2021-03-14 22:33:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:33:18 | [Mutex] waiting for: [received:nodes:288198d0-6f27-4aef-b9cf-42ac4a252b72:localhost] 2021-03-14 22:33:18 | [Mutex] received everything. 2021-03-14 22:33:18 | [Mutex] isItemNotified: received:node:288198d0-6f27-4aef-b9cf-42ac4a252b72:localhost:node-f34d4140-ded2-49c7-88ab-d2da29479ca8:Node f34d4140-ded2-49c7-88ab-d2da29479ca8 :: false |
deleteSubnodes | 1.116s |
2021-03-14 22:33:16 |
2021-03-14 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:16 | ------------------------------------ 2021-03-14 22:33:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node></data> 2021-03-14 22:33:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-14 22:33:17 | [Mutex] waiting for: [received:nodes:7c343296-47e9-48cf-841b-ac48f1a32a76:localhost] 2021-03-14 22:33:17 | [Mutex] received everything. 2021-03-14 22:33:17 | [Mutex] isItemNotified: received:node:7c343296-47e9-48cf-841b-ac48f1a32a76:localhost:node-91a04817-b4a2-465e-970c-ef3a82258eb2:Node 91a04817-b4a2-465e-970c-ef3a82258eb2 :: false 2021-03-14 22:33:17 | [Mutex] waiting for: [received:nodes:b04d1fca-eeb4-4c8b-beea-fff34cf4340d:localhost] 2021-03-14 22:33:17 | [Mutex] received everything. 2021-03-14 22:33:17 | [Mutex] isItemNotified: received:node:b04d1fca-eeb4-4c8b-beea-fff34cf4340d:localhost:node-91a04817-b4a2-465e-970c-ef3a82258eb2:Node 91a04817-b4a2-465e-970c-ef3a82258eb2 :: false |
publishItemsToNodes | 0.200s |
2021-03-14 22:33:14 |
2021-03-14 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:14 | ------------------------------------ 2021-03-14 22:33:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node><item-id>item-01d0cead-07c3-4d31-a74a-c995d685cccb</item-id><entry><test>item-01d0cead-07c3-4d31-a74a-c995d685cccb</test></entry></data> 2021-03-14 22:33:14 | 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-01d0cead-07c3-4d31-a74a-c995d685cccb</value></item-id></result> 2021-03-14 22:33:14 | [Mutex] waiting for: [published:item:notifieditem-01d0cead-07c3-4d31-a74a-c995d685cccb:admin@test-domain.com] 2021-03-14 22:33:14 | [Mutex] received everything. 2021-03-14 22:33:14 | [Mutex] isItemNotified: published:item:notifieditem-01d0cead-07c3-4d31-a74a-c995d685cccb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.341s |
2021-03-14 22:33:15 |
2021-03-14 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:15 | ------------------------------------ 2021-03-14 22:33:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node><item-id>item-01d0cead-07c3-4d31-a74a-c995d685cccb</item-id></data> 2021-03-14 22:33:15 | 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-01d0cead-07c3-4d31-a74a-c995d685cccb</value></item-id></result> 2021-03-14 22:33:15 | [Mutex] waiting for: [retracted:item:notifieditem-01d0cead-07c3-4d31-a74a-c995d685cccb:admin@test-domain.com] 2021-03-14 22:33:15 | [Mutex] received everything. 2021-03-14 22:33:15 | [Mutex] isItemNotified: retracted:item:notifieditem-01d0cead-07c3-4d31-a74a-c995d685cccb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.237s |
2021-03-14 22:33:14 |
2021-03-14 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:14 | ------------------------------------ 2021-03-14 22:33:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node><item-id>item-01d0cead-07c3-4d31-a74a-c995d685cccb</item-id></data> 2021-03-14 22:33:14 | 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-91a04817-b4a2-465e-970c-ef3a82258eb2</value></node><item-id label="Item ID" type="text-single"><value>item-01d0cead-07c3-4d31-a74a-c995d685cccb</value></item-id><item label="Item" type="text-multi"><value><item id="item-01d0cead-07c3-4d31-a74a-c995d685cccb"><test>item-01d0cead-07c3-4d31-a74a-c995d685cccb</test></item></value></item></result> 2021-03-14 22:33:14 | [Mutex] notify: [retrieved:item:item-01d0cead-07c3-4d31-a74a-c995d685cccb:payload-matches:true:localhost] 2021-03-14 22:33:14 | [Mutex] received everything. 2021-03-14 22:33:14 | [Mutex] isItemNotified: retrieved:item:item-01d0cead-07c3-4d31-a74a-c995d685cccb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-14 22:33:14 |
2021-03-14 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:14 | ------------------------------------ 2021-03-14 22:33:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-14 22:33:15 | 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-91a04817-b4a2-465e-970c-ef3a82258eb2</value><value>node-f34d4140-ded2-49c7-88ab-d2da29479ca8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-03-14 22:33:15 |
2021-03-14 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:15 | ------------------------------------ 2021-03-14 22:33:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-91a04817-b4a2-465e-970c-ef3a82258eb2)</node-pattern></data> 2021-03-14 22:33:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.145s |
2021-03-14 22:33:13 |
2021-03-14 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:13 | ------------------------------------ 2021-03-14 22:33:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-14 22:33:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.430s |
2021-03-14 22:33:15 |
2021-03-14 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-14 22:33:15 | ------------------------------------ 2021-03-14 22:33:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-91a04817-b4a2-465e-970c-ef3a82258eb2</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-14 22:33:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |