Test duration : 9.539s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-07-26 22:32:48 |
2022-07-26 22:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:48 | ------------------------------------ 2022-07-26 22:32:48 | [Mutex] waiting for: [configured:node:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:node-7f98b1e6-56e9-4041-810a-0af1c64bbc53] 2022-07-26 22:32:48 | [Mutex] received everything. 2022-07-26 22:32:48 | [Mutex] isItemNotified: configured:node:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:node-7f98b1e6-56e9-4041-810a-0af1c64bbc53 :: true 2022-07-26 22:32:49 | [Mutex] waiting for: [received:nodes:d12ee7ea-ce3e-4768-9bfb-679f448b3ae3:localhost] 2022-07-26 22:32:49 | [Mutex] received everything. 2022-07-26 22:32:49 | [Mutex] isItemNotified: received:node:d12ee7ea-ce3e-4768-9bfb-679f448b3ae3:localhost:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:Node 65c78e1b-b3e1-43c5-b8f0-3093de4d587b :: true 2022-07-26 22:32:49 | [Mutex] waiting for: [received:nodes:a3831468-cc0e-4739-b941-86acec0d0721:localhost] 2022-07-26 22:32:49 | [Mutex] waiting for: [received:nodes:a3831468-cc0e-4739-b941-86acec0d0721:localhost] 2022-07-26 22:32:49 | [Mutex] received everything. 2022-07-26 22:32:49 | [Mutex] isItemNotified: received:node:a3831468-cc0e-4739-b941-86acec0d0721:localhost:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:Node 65c78e1b-b3e1-43c5-b8f0-3093de4d587b :: false |
createNodes | 1.446s |
2022-07-26 22:32:46 |
2022-07-26 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:46 | ------------------------------------ 2022-07-26 22:32:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 65c78e1b-b3e1-43c5-b8f0-3093de4d587b</title></pubsub></data> 2022-07-26 22:32:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:47 | [Mutex] waiting for: [received:nodes:889521b6-2666-4f14-9181-739b9d0bcc1f:localhost] 2022-07-26 22:32:47 | [Mutex] waiting for: [received:nodes:889521b6-2666-4f14-9181-739b9d0bcc1f:localhost] 2022-07-26 22:32:47 | [Mutex] received everything. 2022-07-26 22:32:47 | [Mutex] isItemNotified: received:node:889521b6-2666-4f14-9181-739b9d0bcc1f:localhost:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:Node 65c78e1b-b3e1-43c5-b8f0-3093de4d587b :: true |
createSubnodes | 1.022s |
2022-07-26 22:32:47 |
2022-07-26 22:32:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:47 | ------------------------------------ 2022-07-26 22:32:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7f98b1e6-56e9-4041-810a-0af1c64bbc53</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7f98b1e6-56e9-4041-810a-0af1c64bbc53</title></pubsub></data> 2022-07-26 22:32:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:48 | [Mutex] waiting for: [received:nodes:57820e6c-d24f-4200-87cc-ca786359f49d:localhost] 2022-07-26 22:32:48 | [Mutex] waiting for: [received:nodes:57820e6c-d24f-4200-87cc-ca786359f49d:localhost] 2022-07-26 22:32:48 | [Mutex] received everything. 2022-07-26 22:32:48 | [Mutex] isItemNotified: received:node:57820e6c-d24f-4200-87cc-ca786359f49d:localhost:node-7f98b1e6-56e9-4041-810a-0af1c64bbc53:Node 7f98b1e6-56e9-4041-810a-0af1c64bbc53 :: true |
deleteNodes | 1.021s |
2022-07-26 22:32:54 |
2022-07-26 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:54 | ------------------------------------ 2022-07-26 22:32:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7f98b1e6-56e9-4041-810a-0af1c64bbc53</node></data> 2022-07-26 22:32:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:55 | [Mutex] waiting for: [received:nodes:5b1d4bd7-ed4c-45ac-8447-d0c02cced710:localhost] 2022-07-26 22:32:55 | [Mutex] received everything. 2022-07-26 22:32:55 | [Mutex] isItemNotified: received:node:5b1d4bd7-ed4c-45ac-8447-d0c02cced710:localhost:node-7f98b1e6-56e9-4041-810a-0af1c64bbc53:Node 7f98b1e6-56e9-4041-810a-0af1c64bbc53 :: false |
deleteSubnodes | 1.149s |
2022-07-26 22:32:52 |
2022-07-26 22:32:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:52 | ------------------------------------ 2022-07-26 22:32:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node></data> 2022-07-26 22:32:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-26 22:32:54 | [Mutex] waiting for: [received:nodes:72a45a16-3c2e-495d-b0ce-d84b073bb519:localhost] 2022-07-26 22:32:54 | [Mutex] received everything. 2022-07-26 22:32:54 | [Mutex] isItemNotified: received:node:72a45a16-3c2e-495d-b0ce-d84b073bb519:localhost:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:Node 65c78e1b-b3e1-43c5-b8f0-3093de4d587b :: false 2022-07-26 22:32:54 | [Mutex] waiting for: [received:nodes:838ead0e-e5a4-405b-91bf-7bdf8d6c9df1:localhost] 2022-07-26 22:32:54 | [Mutex] received everything. 2022-07-26 22:32:54 | [Mutex] isItemNotified: received:node:838ead0e-e5a4-405b-91bf-7bdf8d6c9df1:localhost:node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b:Node 65c78e1b-b3e1-43c5-b8f0-3093de4d587b :: false |
publishItemsToNodes | 0.269s |
2022-07-26 22:32:50 |
2022-07-26 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:50 | ------------------------------------ 2022-07-26 22:32:50 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node><item-id>item-30eef527-d71d-409a-a7cf-8155d83b4b79</item-id><entry><test>item-30eef527-d71d-409a-a7cf-8155d83b4b79</test></entry></data> 2022-07-26 22:32:51 | 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-30eef527-d71d-409a-a7cf-8155d83b4b79</value></item-id></result> 2022-07-26 22:32:51 | [Mutex] waiting for: [published:item:notifieditem-30eef527-d71d-409a-a7cf-8155d83b4b79:admin@test-domain.com] 2022-07-26 22:32:51 | [Mutex] received everything. 2022-07-26 22:32:51 | [Mutex] isItemNotified: published:item:notifieditem-30eef527-d71d-409a-a7cf-8155d83b4b79:admin@test-domain.com :: true |
retractItemsFromNodes | 0.187s |
2022-07-26 22:32:51 |
2022-07-26 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:51 | ------------------------------------ 2022-07-26 22:32:51 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node><item-id>item-30eef527-d71d-409a-a7cf-8155d83b4b79</item-id></data> 2022-07-26 22:32:51 | 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-30eef527-d71d-409a-a7cf-8155d83b4b79</value></item-id></result> 2022-07-26 22:32:51 | [Mutex] waiting for: [retracted:item:notifieditem-30eef527-d71d-409a-a7cf-8155d83b4b79:admin@test-domain.com] 2022-07-26 22:32:51 | [Mutex] received everything. 2022-07-26 22:32:51 | [Mutex] isItemNotified: retracted:item:notifieditem-30eef527-d71d-409a-a7cf-8155d83b4b79:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-07-26 22:32:51 |
2022-07-26 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:51 | ------------------------------------ 2022-07-26 22:32:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node><item-id>item-30eef527-d71d-409a-a7cf-8155d83b4b79</item-id></data> 2022-07-26 22:32:51 | 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-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</value></node><item-id label="Item ID" type="text-single"><value>item-30eef527-d71d-409a-a7cf-8155d83b4b79</value></item-id><item label="Item" type="text-multi"><value><item id="item-30eef527-d71d-409a-a7cf-8155d83b4b79"><test>item-30eef527-d71d-409a-a7cf-8155d83b4b79</test></item></value></item></result> 2022-07-26 22:32:51 | [Mutex] notify: [retrieved:item:item-30eef527-d71d-409a-a7cf-8155d83b4b79:payload-matches:true:localhost] 2022-07-26 22:32:51 | [Mutex] received everything. 2022-07-26 22:32:51 | [Mutex] isItemNotified: retrieved:item:item-30eef527-d71d-409a-a7cf-8155d83b4b79:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-07-26 22:32:51 |
2022-07-26 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:51 | ------------------------------------ 2022-07-26 22:32:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-26 22:32:51 | 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-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</value><value>node-7f98b1e6-56e9-4041-810a-0af1c64bbc53</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-26 22:32:51 |
2022-07-26 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:51 | ------------------------------------ 2022-07-26 22:32:51 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b)</node-pattern></data> 2022-07-26 22:32:51 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.134s |
2022-07-26 22:32:49 |
2022-07-26 22:32:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:49 | ------------------------------------ 2022-07-26 22:32:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-26 22:32:49 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.231s |
2022-07-26 22:32:51 |
2022-07-26 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-26 22:32:51 | ------------------------------------ 2022-07-26 22:32:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-65c78e1b-b3e1-43c5-b8f0-3093de4d587b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-26 22:32:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |