Test duration : 10.542s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.139s |
2022-02-03 02:29:02 |
2022-02-03 02:29:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:02 | ------------------------------------ 2022-02-03 02:29:02 | [Mutex] waiting for: [configured:node:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:node-f734f6dc-b647-4bec-8d34-6e035b3c54e3] 2022-02-03 02:29:02 | [Mutex] received everything. 2022-02-03 02:29:02 | [Mutex] isItemNotified: configured:node:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:node-f734f6dc-b647-4bec-8d34-6e035b3c54e3 :: true 2022-02-03 02:29:03 | [Mutex] waiting for: [received:nodes:cc2caba4-e908-40d4-808f-d1403b681aaf:localhost] 2022-02-03 02:29:03 | [Mutex] received everything. 2022-02-03 02:29:03 | [Mutex] isItemNotified: received:node:cc2caba4-e908-40d4-808f-d1403b681aaf:localhost:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:Node 6446f503-7b7e-4afa-8bcf-e2d7dd3efa62 :: true 2022-02-03 02:29:03 | [Mutex] waiting for: [received:nodes:f8363dfc-8727-4304-8ed2-4faa55123732:localhost] 2022-02-03 02:29:03 | [Mutex] waiting for: [received:nodes:f8363dfc-8727-4304-8ed2-4faa55123732:localhost] 2022-02-03 02:29:03 | [Mutex] waiting for: [received:nodes:f8363dfc-8727-4304-8ed2-4faa55123732:localhost] 2022-02-03 02:29:03 | [Mutex] waiting for: [received:nodes:f8363dfc-8727-4304-8ed2-4faa55123732:localhost] 2022-02-03 02:29:03 | [Mutex] received everything. 2022-02-03 02:29:03 | [Mutex] isItemNotified: received:node:f8363dfc-8727-4304-8ed2-4faa55123732:localhost:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:Node 6446f503-7b7e-4afa-8bcf-e2d7dd3efa62 :: false |
createNodes | 1.745s |
2022-02-03 02:28:59 |
2022-02-03 02:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:28:59 | ------------------------------------ 2022-02-03 02:28:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</title></pubsub></data> 2022-02-03 02:29:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 02:29:01 | [Mutex] waiting for: [received:nodes:13811763-2869-4f09-9e75-bf56a1e2aa15:localhost] 2022-02-03 02:29:01 | [Mutex] received everything. 2022-02-03 02:29:01 | [Mutex] isItemNotified: received:node:13811763-2869-4f09-9e75-bf56a1e2aa15:localhost:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:Node 6446f503-7b7e-4afa-8bcf-e2d7dd3efa62 :: true |
createSubnodes | 1.027s |
2022-02-03 02:29:01 |
2022-02-03 02:29:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:01 | ------------------------------------ 2022-02-03 02:29:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f734f6dc-b647-4bec-8d34-6e035b3c54e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f734f6dc-b647-4bec-8d34-6e035b3c54e3</title></pubsub></data> 2022-02-03 02:29:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 02:29:02 | [Mutex] waiting for: [received:nodes:921146c9-9c30-4310-84cf-bd76a2ebf842:localhost] 2022-02-03 02:29:02 | [Mutex] received everything. 2022-02-03 02:29:02 | [Mutex] isItemNotified: received:node:921146c9-9c30-4310-84cf-bd76a2ebf842:localhost:node-f734f6dc-b647-4bec-8d34-6e035b3c54e3:Node f734f6dc-b647-4bec-8d34-6e035b3c54e3 :: true |
deleteNodes | 1.018s |
2022-02-03 02:29:08 |
2022-02-03 02:29:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:08 | ------------------------------------ 2022-02-03 02:29:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f734f6dc-b647-4bec-8d34-6e035b3c54e3</node></data> 2022-02-03 02:29:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 02:29:09 | [Mutex] waiting for: [received:nodes:48cf034c-0737-47e3-ab65-86d275897dab:localhost] 2022-02-03 02:29:09 | [Mutex] received everything. 2022-02-03 02:29:09 | [Mutex] isItemNotified: received:node:48cf034c-0737-47e3-ab65-86d275897dab:localhost:node-f734f6dc-b647-4bec-8d34-6e035b3c54e3:Node f734f6dc-b647-4bec-8d34-6e035b3c54e3 :: false |
deleteSubnodes | 1.134s |
2022-02-03 02:29:07 |
2022-02-03 02:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:07 | ------------------------------------ 2022-02-03 02:29:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node></data> 2022-02-03 02:29:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 02:29:08 | [Mutex] waiting for: [received:nodes:6d0cb275-987f-4be1-8777-a70eecb939cc:localhost] 2022-02-03 02:29:08 | [Mutex] received everything. 2022-02-03 02:29:08 | [Mutex] isItemNotified: received:node:6d0cb275-987f-4be1-8777-a70eecb939cc:localhost:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:Node 6446f503-7b7e-4afa-8bcf-e2d7dd3efa62 :: false 2022-02-03 02:29:08 | [Mutex] waiting for: [received:nodes:ed538859-158c-41c5-ac0a-fdad861b6407:localhost] 2022-02-03 02:29:08 | [Mutex] received everything. 2022-02-03 02:29:08 | [Mutex] isItemNotified: received:node:ed538859-158c-41c5-ac0a-fdad861b6407:localhost:node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62:Node 6446f503-7b7e-4afa-8bcf-e2d7dd3efa62 :: false |
publishItemsToNodes | 0.292s |
2022-02-03 02:29:04 |
2022-02-03 02:29:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:04 | ------------------------------------ 2022-02-03 02:29:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node><item-id>item-426c1db1-06dd-4da7-8a1a-5ff6205045bb</item-id><entry><test>item-426c1db1-06dd-4da7-8a1a-5ff6205045bb</test></entry></data> 2022-02-03 02:29:05 | 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-426c1db1-06dd-4da7-8a1a-5ff6205045bb</value></item-id></result> 2022-02-03 02:29:05 | [Mutex] waiting for: [published:item:notifieditem-426c1db1-06dd-4da7-8a1a-5ff6205045bb:admin@test-domain.com] 2022-02-03 02:29:05 | [Mutex] received everything. 2022-02-03 02:29:05 | [Mutex] isItemNotified: published:item:notifieditem-426c1db1-06dd-4da7-8a1a-5ff6205045bb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.323s |
2022-02-03 02:29:05 |
2022-02-03 02:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:05 | ------------------------------------ 2022-02-03 02:29:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node><item-id>item-426c1db1-06dd-4da7-8a1a-5ff6205045bb</item-id></data> 2022-02-03 02:29:05 | 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-426c1db1-06dd-4da7-8a1a-5ff6205045bb</value></item-id></result> 2022-02-03 02:29:05 | [Mutex] waiting for: [retracted:item:notifieditem-426c1db1-06dd-4da7-8a1a-5ff6205045bb:admin@test-domain.com] 2022-02-03 02:29:06 | [Mutex] received everything. 2022-02-03 02:29:06 | [Mutex] isItemNotified: retracted:item:notifieditem-426c1db1-06dd-4da7-8a1a-5ff6205045bb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.359s |
2022-02-03 02:29:05 |
2022-02-03 02:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:05 | ------------------------------------ 2022-02-03 02:29:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node><item-id>item-426c1db1-06dd-4da7-8a1a-5ff6205045bb</item-id></data> 2022-02-03 02:29:05 | 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-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</value></node><item-id type="text-single" label="Item ID"><value>item-426c1db1-06dd-4da7-8a1a-5ff6205045bb</value></item-id><item type="text-multi" label="Item"><value><item id="item-426c1db1-06dd-4da7-8a1a-5ff6205045bb"><test>item-426c1db1-06dd-4da7-8a1a-5ff6205045bb</test></item></value></item></result> 2022-02-03 02:29:05 | [Mutex] notify: [retrieved:item:item-426c1db1-06dd-4da7-8a1a-5ff6205045bb:payload-matches:true:localhost] 2022-02-03 02:29:05 | [Mutex] received everything. 2022-02-03 02:29:05 | [Mutex] isItemNotified: retrieved:item:item-426c1db1-06dd-4da7-8a1a-5ff6205045bb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-02-03 02:29:05 |
2022-02-03 02:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:05 | ------------------------------------ 2022-02-03 02:29:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-03 02:29:05 | 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-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</value><value>node-f734f6dc-b647-4bec-8d34-6e035b3c54e3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-03 02:29:05 |
2022-02-03 02:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:05 | ------------------------------------ 2022-02-03 02:29:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62)</node-pattern></data> 2022-02-03 02:29:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.195s |
2022-02-03 02:29:03 |
2022-02-03 02:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:03 | ------------------------------------ 2022-02-03 02:29:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 02:29:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2022-02-03 02:29:06 |
2022-02-03 02:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 02:29:06 | ------------------------------------ 2022-02-03 02:29:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6446f503-7b7e-4afa-8bcf-e2d7dd3efa62</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 02:29:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |