Test duration : 9.859s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2021-01-03 22:07:00 |
2021-01-03 22:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:00 | ------------------------------------ 2021-01-03 22:07:00 | [Mutex] waiting for: [configured:node:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:node-89650b06-f41f-4f59-9ef7-01ad56663c89] 2021-01-03 22:07:00 | [Mutex] received everything. 2021-01-03 22:07:00 | [Mutex] isItemNotified: configured:node:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:node-89650b06-f41f-4f59-9ef7-01ad56663c89 :: true 2021-01-03 22:07:01 | [Mutex] waiting for: [received:nodes:afbacb3d-32df-4f7e-9b61-fb34f938e7fa:localhost] 2021-01-03 22:07:01 | [Mutex] received everything. 2021-01-03 22:07:01 | [Mutex] isItemNotified: received:node:afbacb3d-32df-4f7e-9b61-fb34f938e7fa:localhost:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:Node c7f1b9e0-afac-43c0-986d-4e084d56bf31 :: true 2021-01-03 22:07:01 | [Mutex] waiting for: [received:nodes:3096e1ba-d731-4112-ad4c-f411c02986d3:localhost] 2021-01-03 22:07:01 | [Mutex] received everything. 2021-01-03 22:07:01 | [Mutex] isItemNotified: received:node:3096e1ba-d731-4112-ad4c-f411c02986d3:localhost:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:Node c7f1b9e0-afac-43c0-986d-4e084d56bf31 :: false |
createNodes | 1.395s |
2021-01-03 22:06:57 |
2021-01-03 22:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:06:57 | ------------------------------------ 2021-01-03 22:06:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c7f1b9e0-afac-43c0-986d-4e084d56bf31</title></pubsub></data> 2021-01-03 22:06:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 22:06:59 | [Mutex] waiting for: [received:nodes:a1db2abd-350b-489b-a414-6374c72ffcc4:localhost] 2021-01-03 22:06:59 | [Mutex] received everything. 2021-01-03 22:06:59 | [Mutex] isItemNotified: received:node:a1db2abd-350b-489b-a414-6374c72ffcc4:localhost:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:Node c7f1b9e0-afac-43c0-986d-4e084d56bf31 :: true |
createSubnodes | 1.023s |
2021-01-03 22:06:59 |
2021-01-03 22:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:06:59 | ------------------------------------ 2021-01-03 22:06:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-89650b06-f41f-4f59-9ef7-01ad56663c89</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 89650b06-f41f-4f59-9ef7-01ad56663c89</title></pubsub></data> 2021-01-03 22:06:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 22:07:00 | [Mutex] waiting for: [received:nodes:be19ffe5-46e8-44ae-9a86-c145d9c9ec37:localhost] 2021-01-03 22:07:00 | [Mutex] received everything. 2021-01-03 22:07:00 | [Mutex] isItemNotified: received:node:be19ffe5-46e8-44ae-9a86-c145d9c9ec37:localhost:node-89650b06-f41f-4f59-9ef7-01ad56663c89:Node 89650b06-f41f-4f59-9ef7-01ad56663c89 :: true |
deleteNodes | 1.025s |
2021-01-03 22:07:05 |
2021-01-03 22:07:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:05 | ------------------------------------ 2021-01-03 22:07:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-89650b06-f41f-4f59-9ef7-01ad56663c89</node></data> 2021-01-03 22:07:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 22:07:06 | [Mutex] waiting for: [received:nodes:84e7388f-94b5-4ea8-bf51-5bd36ae1085a:localhost] 2021-01-03 22:07:06 | [Mutex] received everything. 2021-01-03 22:07:06 | [Mutex] isItemNotified: received:node:84e7388f-94b5-4ea8-bf51-5bd36ae1085a:localhost:node-89650b06-f41f-4f59-9ef7-01ad56663c89:Node 89650b06-f41f-4f59-9ef7-01ad56663c89 :: false |
deleteSubnodes | 1.107s |
2021-01-03 22:07:04 |
2021-01-03 22:07:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:04 | ------------------------------------ 2021-01-03 22:07:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node></data> 2021-01-03 22:07:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-03 22:07:05 | [Mutex] waiting for: [received:nodes:2b237c40-5ed5-44f7-b513-f0d83e810e8e:localhost] 2021-01-03 22:07:05 | [Mutex] received everything. 2021-01-03 22:07:05 | [Mutex] isItemNotified: received:node:2b237c40-5ed5-44f7-b513-f0d83e810e8e:localhost:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:Node c7f1b9e0-afac-43c0-986d-4e084d56bf31 :: false 2021-01-03 22:07:05 | [Mutex] waiting for: [received:nodes:45a0cf6d-b204-49a7-9348-a235360cd82b:localhost] 2021-01-03 22:07:05 | [Mutex] received everything. 2021-01-03 22:07:05 | [Mutex] isItemNotified: received:node:45a0cf6d-b204-49a7-9348-a235360cd82b:localhost:node-c7f1b9e0-afac-43c0-986d-4e084d56bf31:Node c7f1b9e0-afac-43c0-986d-4e084d56bf31 :: false |
publishItemsToNodes | 0.189s |
2021-01-03 22:07:02 |
2021-01-03 22:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:02 | ------------------------------------ 2021-01-03 22:07:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node><item-id>item-2768532f-32e6-4711-86da-b459d8d499d5</item-id><entry><test>item-2768532f-32e6-4711-86da-b459d8d499d5</test></entry></data> 2021-01-03 22:07:02 | 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-2768532f-32e6-4711-86da-b459d8d499d5</value></item-id></result> 2021-01-03 22:07:02 | [Mutex] waiting for: [published:item:notifieditem-2768532f-32e6-4711-86da-b459d8d499d5:admin@test-domain.com] 2021-01-03 22:07:02 | [Mutex] received everything. 2021-01-03 22:07:02 | [Mutex] isItemNotified: published:item:notifieditem-2768532f-32e6-4711-86da-b459d8d499d5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2021-01-03 22:07:02 |
2021-01-03 22:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:02 | ------------------------------------ 2021-01-03 22:07:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node><item-id>item-2768532f-32e6-4711-86da-b459d8d499d5</item-id></data> 2021-01-03 22:07:03 | 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-2768532f-32e6-4711-86da-b459d8d499d5</value></item-id></result> 2021-01-03 22:07:03 | [Mutex] waiting for: [retracted:item:notifieditem-2768532f-32e6-4711-86da-b459d8d499d5:admin@test-domain.com] 2021-01-03 22:07:03 | [Mutex] received everything. 2021-01-03 22:07:03 | [Mutex] isItemNotified: retracted:item:notifieditem-2768532f-32e6-4711-86da-b459d8d499d5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.240s |
2021-01-03 22:07:02 |
2021-01-03 22:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:02 | ------------------------------------ 2021-01-03 22:07:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node><item-id>item-2768532f-32e6-4711-86da-b459d8d499d5</item-id></data> 2021-01-03 22:07:02 | 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-c7f1b9e0-afac-43c0-986d-4e084d56bf31</value></node><item-id label="Item ID" type="text-single"><value>item-2768532f-32e6-4711-86da-b459d8d499d5</value></item-id><item label="Item" type="text-multi"><value><item id="item-2768532f-32e6-4711-86da-b459d8d499d5"><test>item-2768532f-32e6-4711-86da-b459d8d499d5</test></item></value></item></result> 2021-01-03 22:07:02 | [Mutex] notify: [retrieved:item:item-2768532f-32e6-4711-86da-b459d8d499d5:payload-matches:true:localhost] 2021-01-03 22:07:02 | [Mutex] received everything. 2021-01-03 22:07:02 | [Mutex] isItemNotified: retrieved:item:item-2768532f-32e6-4711-86da-b459d8d499d5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2021-01-03 22:07:02 |
2021-01-03 22:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:02 | ------------------------------------ 2021-01-03 22:07:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-03 22:07:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</value><value>test</value><value>node-89650b06-f41f-4f59-9ef7-01ad56663c89</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-01-03 22:07:02 |
2021-01-03 22:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:02 | ------------------------------------ 2021-01-03 22:07:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c7f1b9e0-afac-43c0-986d-4e084d56bf31)</node-pattern></data> 2021-01-03 22:07:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.093s |
2021-01-03 22:07:01 |
2021-01-03 22:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:01 | ------------------------------------ 2021-01-03 22:07:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-03 22:07:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.312s |
2021-01-03 22:07:03 |
2021-01-03 22:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-03 22:07:03 | ------------------------------------ 2021-01-03 22:07:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c7f1b9e0-afac-43c0-986d-4e084d56bf31</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-03 22:07:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |