Test duration : 10.599s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2021-04-25 22:30:05 |
2021-04-25 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:05 | ------------------------------------ 2021-04-25 22:30:05 | [Mutex] waiting for: [configured:node:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:node-e4dabab0-f643-49e1-9d9b-a8e46179fc61] 2021-04-25 22:30:05 | [Mutex] received everything. 2021-04-25 22:30:05 | [Mutex] isItemNotified: configured:node:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:node-e4dabab0-f643-49e1-9d9b-a8e46179fc61 :: true 2021-04-25 22:30:06 | [Mutex] waiting for: [received:nodes:5250376b-af3b-46cb-81ee-e00483300ed6:localhost] 2021-04-25 22:30:06 | [Mutex] received everything. 2021-04-25 22:30:06 | [Mutex] isItemNotified: received:node:5250376b-af3b-46cb-81ee-e00483300ed6:localhost:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:Node 8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e :: true 2021-04-25 22:30:06 | [Mutex] waiting for: [received:nodes:6df9e3a4-ad27-4392-a75f-9dd39183234a:localhost] 2021-04-25 22:30:06 | [Mutex] received everything. 2021-04-25 22:30:06 | [Mutex] isItemNotified: received:node:6df9e3a4-ad27-4392-a75f-9dd39183234a:localhost:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:Node 8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e :: false |
createNodes | 1.486s |
2021-04-25 22:30:03 |
2021-04-25 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:03 | ------------------------------------ 2021-04-25 22:30:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</title></pubsub></data> 2021-04-25 22:30:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:30:04 | [Mutex] waiting for: [received:nodes:a3b6b0ca-b7b2-4b89-9d14-bae2ce7729b9:localhost] 2021-04-25 22:30:04 | [Mutex] received everything. 2021-04-25 22:30:04 | [Mutex] isItemNotified: received:node:a3b6b0ca-b7b2-4b89-9d14-bae2ce7729b9:localhost:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:Node 8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e :: true |
createSubnodes | 1.025s |
2021-04-25 22:30:04 |
2021-04-25 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:04 | ------------------------------------ 2021-04-25 22:30:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e4dabab0-f643-49e1-9d9b-a8e46179fc61</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e4dabab0-f643-49e1-9d9b-a8e46179fc61</title></pubsub></data> 2021-04-25 22:30:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:30:05 | [Mutex] waiting for: [received:nodes:9bf0d511-b353-4984-98cc-bbfc30832bde:localhost] 2021-04-25 22:30:05 | [Mutex] received everything. 2021-04-25 22:30:05 | [Mutex] isItemNotified: received:node:9bf0d511-b353-4984-98cc-bbfc30832bde:localhost:node-e4dabab0-f643-49e1-9d9b-a8e46179fc61:Node e4dabab0-f643-49e1-9d9b-a8e46179fc61 :: true |
deleteNodes | 1.017s |
2021-04-25 22:30:11 |
2021-04-25 22:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:11 | ------------------------------------ 2021-04-25 22:30:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e4dabab0-f643-49e1-9d9b-a8e46179fc61</node></data> 2021-04-25 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> 2021-04-25 22:30:12 | [Mutex] waiting for: [received:nodes:8c8d7bb4-f7dd-4cb3-bb3e-891e8d5e3ef7:localhost] 2021-04-25 22:30:12 | [Mutex] received everything. 2021-04-25 22:30:12 | [Mutex] isItemNotified: received:node:8c8d7bb4-f7dd-4cb3-bb3e-891e8d5e3ef7:localhost:node-e4dabab0-f643-49e1-9d9b-a8e46179fc61:Node e4dabab0-f643-49e1-9d9b-a8e46179fc61 :: false |
deleteSubnodes | 1.208s |
2021-04-25 22:30:10 |
2021-04-25 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:10 | ------------------------------------ 2021-04-25 22:30:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node></data> 2021-04-25 22:30:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:30:11 | [Mutex] waiting for: [received:nodes:4cab0cc2-761b-4274-9a21-26d6b066b904:localhost] 2021-04-25 22:30:11 | [Mutex] received everything. 2021-04-25 22:30:11 | [Mutex] isItemNotified: received:node:4cab0cc2-761b-4274-9a21-26d6b066b904:localhost:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:Node 8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e :: false 2021-04-25 22:30:11 | [Mutex] waiting for: [received:nodes:9ef13630-3bf7-4342-97cd-98e954fff8e6:localhost] 2021-04-25 22:30:11 | [Mutex] received everything. 2021-04-25 22:30:11 | [Mutex] isItemNotified: received:node:9ef13630-3bf7-4342-97cd-98e954fff8e6:localhost:node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e:Node 8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e :: false |
publishItemsToNodes | 0.276s |
2021-04-25 22:30:07 |
2021-04-25 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:07 | ------------------------------------ 2021-04-25 22:30:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node><item-id>item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</item-id><entry><test>item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</test></entry></data> 2021-04-25 22:30:08 | 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-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</value></item-id></result> 2021-04-25 22:30:08 | [Mutex] waiting for: [published:item:notifieditem-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa:admin@test-domain.com] 2021-04-25 22:30:08 | [Mutex] received everything. 2021-04-25 22:30:08 | [Mutex] isItemNotified: published:item:notifieditem-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2021-04-25 22:30:08 |
2021-04-25 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:08 | ------------------------------------ 2021-04-25 22:30:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node><item-id>item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</item-id></data> 2021-04-25 22:30:08 | 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-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</value></item-id></result> 2021-04-25 22:30:08 | [Mutex] received everything. 2021-04-25 22:30:08 | [Mutex] isItemNotified: retracted:item:notifieditem-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.343s |
2021-04-25 22:30:08 |
2021-04-25 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:08 | ------------------------------------ 2021-04-25 22:30:08 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node><item-id>item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</item-id></data> 2021-04-25 22:30:08 | 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-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</value></node><item-id type="text-single" label="Item ID"><value>item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</value></item-id><item type="text-multi" label="Item"><value><item id="item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa"><test>item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa</test></item></value></item></result> 2021-04-25 22:30:08 | [Mutex] notify: [retrieved:item:item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa:payload-matches:true:localhost] 2021-04-25 22:30:08 | [Mutex] received everything. 2021-04-25 22:30:08 | [Mutex] isItemNotified: retrieved:item:item-f9227640-c8d9-4234-aef6-4d5a9ad3f5fa:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-04-25 22:30:08 |
2021-04-25 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:08 | ------------------------------------ 2021-04-25 22:30:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-25 22:30:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e4dabab0-f643-49e1-9d9b-a8e46179fc61</value><value>test</value><value>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-04-25 22:30:08 |
2021-04-25 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:08 | ------------------------------------ 2021-04-25 22:30:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e)</node-pattern></data> 2021-04-25 22:30:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.174s |
2021-04-25 22:30:06 |
2021-04-25 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:06 | ------------------------------------ 2021-04-25 22:30:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-25 22:30:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2021-04-25 22:30:08 |
2021-04-25 22:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:30:08 | ------------------------------------ 2021-04-25 22:30:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8b5e32ed-4c4d-4e69-8c60-6e0561f64f3e</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-25 22:30:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |