Test duration : 9.467s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.085s |
2022-08-08 22:34:03 |
2022-08-08 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:03 | ------------------------------------ 2022-08-08 22:34:03 | [Mutex] waiting for: [configured:node:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:node-fefdb30b-1b26-45a2-9771-ed24c64ce5b3] 2022-08-08 22:34:03 | [Mutex] received everything. 2022-08-08 22:34:03 | [Mutex] isItemNotified: configured:node:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:node-fefdb30b-1b26-45a2-9771-ed24c64ce5b3 :: true 2022-08-08 22:34:04 | [Mutex] waiting for: [received:nodes:14a230cc-a490-4adc-a262-8602245553b4:localhost] 2022-08-08 22:34:04 | [Mutex] waiting for: [received:nodes:14a230cc-a490-4adc-a262-8602245553b4:localhost] 2022-08-08 22:34:04 | [Mutex] received everything. 2022-08-08 22:34:04 | [Mutex] isItemNotified: received:node:14a230cc-a490-4adc-a262-8602245553b4:localhost:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:Node fb28f70d-1876-4653-8f56-27e1b0d0086a :: true 2022-08-08 22:34:04 | [Mutex] waiting for: [received:nodes:e2d39c2d-1dfb-4cea-8bc4-6ddc0551983b:localhost] 2022-08-08 22:34:04 | [Mutex] waiting for: [received:nodes:e2d39c2d-1dfb-4cea-8bc4-6ddc0551983b:localhost] 2022-08-08 22:34:04 | [Mutex] received everything. 2022-08-08 22:34:04 | [Mutex] isItemNotified: received:node:e2d39c2d-1dfb-4cea-8bc4-6ddc0551983b:localhost:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:Node fb28f70d-1876-4653-8f56-27e1b0d0086a :: false |
createNodes | 1.398s |
2022-08-08 22:34:00 |
2022-08-08 22:34:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:00 | ------------------------------------ 2022-08-08 22:34:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fb28f70d-1876-4653-8f56-27e1b0d0086a</title></pubsub></data> 2022-08-08 22:34:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-08 22:34:02 | [Mutex] waiting for: [received:nodes:b5d26090-55a5-43f9-9c5e-d3a08ab5dae7:localhost] 2022-08-08 22:34:02 | [Mutex] received everything. 2022-08-08 22:34:02 | [Mutex] isItemNotified: received:node:b5d26090-55a5-43f9-9c5e-d3a08ab5dae7:localhost:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:Node fb28f70d-1876-4653-8f56-27e1b0d0086a :: true |
createSubnodes | 1.030s |
2022-08-08 22:34:02 |
2022-08-08 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:02 | ------------------------------------ 2022-08-08 22:34:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fefdb30b-1b26-45a2-9771-ed24c64ce5b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fefdb30b-1b26-45a2-9771-ed24c64ce5b3</title></pubsub></data> 2022-08-08 22:34:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-08 22:34:03 | [Mutex] waiting for: [received:nodes:32674021-63f7-4f7d-a6eb-9563f631aea6:localhost] 2022-08-08 22:34:03 | [Mutex] waiting for: [received:nodes:32674021-63f7-4f7d-a6eb-9563f631aea6:localhost] 2022-08-08 22:34:03 | [Mutex] received everything. 2022-08-08 22:34:03 | [Mutex] isItemNotified: received:node:32674021-63f7-4f7d-a6eb-9563f631aea6:localhost:node-fefdb30b-1b26-45a2-9771-ed24c64ce5b3:Node fefdb30b-1b26-45a2-9771-ed24c64ce5b3 :: true |
deleteNodes | 1.018s |
2022-08-08 22:34:08 |
2022-08-08 22:34:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:08 | ------------------------------------ 2022-08-08 22:34:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fefdb30b-1b26-45a2-9771-ed24c64ce5b3</node></data> 2022-08-08 22:34:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-08 22:34:09 | [Mutex] waiting for: [received:nodes:a0e84798-4f6b-4639-8051-58b7c60dcfa0:localhost] 2022-08-08 22:34:09 | [Mutex] received everything. 2022-08-08 22:34:09 | [Mutex] isItemNotified: received:node:a0e84798-4f6b-4639-8051-58b7c60dcfa0:localhost:node-fefdb30b-1b26-45a2-9771-ed24c64ce5b3:Node fefdb30b-1b26-45a2-9771-ed24c64ce5b3 :: false |
deleteSubnodes | 1.129s |
2022-08-08 22:34:07 |
2022-08-08 22:34:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:07 | ------------------------------------ 2022-08-08 22:34:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node></data> 2022-08-08 22:34:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-08 22:34:08 | [Mutex] waiting for: [received:nodes:e02703d4-5882-4f22-b56e-33b098bd7452:localhost] 2022-08-08 22:34:08 | [Mutex] received everything. 2022-08-08 22:34:08 | [Mutex] isItemNotified: received:node:e02703d4-5882-4f22-b56e-33b098bd7452:localhost:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:Node fb28f70d-1876-4653-8f56-27e1b0d0086a :: false 2022-08-08 22:34:08 | [Mutex] waiting for: [received:nodes:362118fe-d8a7-4d91-8246-b0932ff87f4c:localhost] 2022-08-08 22:34:08 | [Mutex] received everything. 2022-08-08 22:34:08 | [Mutex] isItemNotified: received:node:362118fe-d8a7-4d91-8246-b0932ff87f4c:localhost:node-fb28f70d-1876-4653-8f56-27e1b0d0086a:Node fb28f70d-1876-4653-8f56-27e1b0d0086a :: false |
publishItemsToNodes | 0.276s |
2022-08-08 22:34:05 |
2022-08-08 22:34:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:05 | ------------------------------------ 2022-08-08 22:34:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node><item-id>item-8876f13f-1ba7-4811-a4ec-1a3c612395cf</item-id><entry><test>item-8876f13f-1ba7-4811-a4ec-1a3c612395cf</test></entry></data> 2022-08-08 22:34: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-8876f13f-1ba7-4811-a4ec-1a3c612395cf</value></item-id></result> 2022-08-08 22:34:05 | [Mutex] waiting for: [published:item:notifieditem-8876f13f-1ba7-4811-a4ec-1a3c612395cf:admin@test-domain.com] 2022-08-08 22:34:05 | [Mutex] received everything. 2022-08-08 22:34:05 | [Mutex] isItemNotified: published:item:notifieditem-8876f13f-1ba7-4811-a4ec-1a3c612395cf:admin@test-domain.com :: true |
retractItemsFromNodes | 0.248s |
2022-08-08 22:34:06 |
2022-08-08 22:34:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:06 | ------------------------------------ 2022-08-08 22:34:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node><item-id>item-8876f13f-1ba7-4811-a4ec-1a3c612395cf</item-id></data> 2022-08-08 22:34:06 | 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-8876f13f-1ba7-4811-a4ec-1a3c612395cf</value></item-id></result> 2022-08-08 22:34:06 | [Mutex] received everything. 2022-08-08 22:34:06 | [Mutex] isItemNotified: retracted:item:notifieditem-8876f13f-1ba7-4811-a4ec-1a3c612395cf:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.271s |
2022-08-08 22:34:05 |
2022-08-08 22:34:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:05 | ------------------------------------ 2022-08-08 22:34:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node><item-id>item-8876f13f-1ba7-4811-a4ec-1a3c612395cf</item-id></data> 2022-08-08 22:34: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-fb28f70d-1876-4653-8f56-27e1b0d0086a</value></node><item-id type="text-single" label="Item ID"><value>item-8876f13f-1ba7-4811-a4ec-1a3c612395cf</value></item-id><item type="text-multi" label="Item"><value><item id="item-8876f13f-1ba7-4811-a4ec-1a3c612395cf"><test>item-8876f13f-1ba7-4811-a4ec-1a3c612395cf</test></item></value></item></result> 2022-08-08 22:34:05 | [Mutex] notify: [retrieved:item:item-8876f13f-1ba7-4811-a4ec-1a3c612395cf:payload-matches:true:localhost] 2022-08-08 22:34:05 | [Mutex] received everything. 2022-08-08 22:34:05 | [Mutex] isItemNotified: retrieved:item:item-8876f13f-1ba7-4811-a4ec-1a3c612395cf:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-08 22:34:05 |
2022-08-08 22:34:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:05 | ------------------------------------ 2022-08-08 22:34:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-08 22:34:06 | 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-fefdb30b-1b26-45a2-9771-ed24c64ce5b3</value><value>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-08-08 22:34:06 |
2022-08-08 22:34:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:06 | ------------------------------------ 2022-08-08 22:34:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fb28f70d-1876-4653-8f56-27e1b0d0086a)</node-pattern></data> 2022-08-08 22:34:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.106s |
2022-08-08 22:34:04 |
2022-08-08 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:04 | ------------------------------------ 2022-08-08 22:34:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-08 22:34:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2022-08-08 22:34:06 |
2022-08-08 22:34:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-08 22:34:06 | ------------------------------------ 2022-08-08 22:34:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fb28f70d-1876-4653-8f56-27e1b0d0086a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-08 22:34:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |