Test duration : 10.138s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2021-03-21 22:56:19 |
2021-03-21 22:56:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:19 | ------------------------------------ 2021-03-21 22:56:19 | [Mutex] waiting for: [configured:node:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:node-980ab17d-97a1-4aa7-9017-8e46328ddca1] 2021-03-21 22:56:19 | [Mutex] received everything. 2021-03-21 22:56:19 | [Mutex] isItemNotified: configured:node:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:node-980ab17d-97a1-4aa7-9017-8e46328ddca1 :: true 2021-03-21 22:56:20 | [Mutex] waiting for: [received:nodes:c9d32e36-ec80-4f47-965d-7d70d05bc533:localhost] 2021-03-21 22:56:20 | [Mutex] received everything. 2021-03-21 22:56:20 | [Mutex] isItemNotified: received:node:c9d32e36-ec80-4f47-965d-7d70d05bc533:localhost:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:Node aba6fa37-00e8-4477-9fba-e2ee68377e41 :: true 2021-03-21 22:56:20 | [Mutex] waiting for: [received:nodes:15891e11-2544-4688-9485-5551e5bf4745:localhost] 2021-03-21 22:56:20 | [Mutex] waiting for: [received:nodes:15891e11-2544-4688-9485-5551e5bf4745:localhost] 2021-03-21 22:56:20 | [Mutex] received everything. 2021-03-21 22:56:20 | [Mutex] isItemNotified: received:node:15891e11-2544-4688-9485-5551e5bf4745:localhost:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:Node aba6fa37-00e8-4477-9fba-e2ee68377e41 :: false |
createNodes | 1.435s |
2021-03-21 22:56:17 |
2021-03-21 22:56:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:17 | ------------------------------------ 2021-03-21 22:56:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aba6fa37-00e8-4477-9fba-e2ee68377e41</title></pubsub></data> 2021-03-21 22:56:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-21 22:56:18 | [Mutex] waiting for: [received:nodes:b411a0c3-613c-4906-9f8a-2a7d8fef2c63:localhost] 2021-03-21 22:56:18 | [Mutex] waiting for: [received:nodes:b411a0c3-613c-4906-9f8a-2a7d8fef2c63:localhost] 2021-03-21 22:56:18 | [Mutex] received everything. 2021-03-21 22:56:18 | [Mutex] isItemNotified: received:node:b411a0c3-613c-4906-9f8a-2a7d8fef2c63:localhost:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:Node aba6fa37-00e8-4477-9fba-e2ee68377e41 :: true |
createSubnodes | 1.032s |
2021-03-21 22:56:18 |
2021-03-21 22:56:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:18 | ------------------------------------ 2021-03-21 22:56:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-980ab17d-97a1-4aa7-9017-8e46328ddca1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 980ab17d-97a1-4aa7-9017-8e46328ddca1</title></pubsub></data> 2021-03-21 22:56:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-21 22:56:19 | [Mutex] waiting for: [received:nodes:66f98fdb-22f7-485a-a6c7-aff98f63f8f8:localhost] 2021-03-21 22:56:19 | [Mutex] waiting for: [received:nodes:66f98fdb-22f7-485a-a6c7-aff98f63f8f8:localhost] 2021-03-21 22:56:19 | [Mutex] waiting for: [received:nodes:66f98fdb-22f7-485a-a6c7-aff98f63f8f8:localhost] 2021-03-21 22:56:19 | [Mutex] received everything. 2021-03-21 22:56:19 | [Mutex] isItemNotified: received:node:66f98fdb-22f7-485a-a6c7-aff98f63f8f8:localhost:node-980ab17d-97a1-4aa7-9017-8e46328ddca1:Node 980ab17d-97a1-4aa7-9017-8e46328ddca1 :: true |
deleteNodes | 1.023s |
2021-03-21 22:56:25 |
2021-03-21 22:56:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:25 | ------------------------------------ 2021-03-21 22:56:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-980ab17d-97a1-4aa7-9017-8e46328ddca1</node></data> 2021-03-21 22:56:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-21 22:56:26 | [Mutex] waiting for: [received:nodes:045f36cb-e7fb-44fe-acc4-2668623d1814:localhost] 2021-03-21 22:56:26 | [Mutex] received everything. 2021-03-21 22:56:26 | [Mutex] isItemNotified: received:node:045f36cb-e7fb-44fe-acc4-2668623d1814:localhost:node-980ab17d-97a1-4aa7-9017-8e46328ddca1:Node 980ab17d-97a1-4aa7-9017-8e46328ddca1 :: false |
deleteSubnodes | 1.147s |
2021-03-21 22:56:24 |
2021-03-21 22:56:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:24 | ------------------------------------ 2021-03-21 22:56:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node></data> 2021-03-21 22:56:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-21 22:56:25 | [Mutex] waiting for: [received:nodes:143dc0a4-8444-48ed-9d0f-ba47c46c9987:localhost] 2021-03-21 22:56:25 | [Mutex] received everything. 2021-03-21 22:56:25 | [Mutex] isItemNotified: received:node:143dc0a4-8444-48ed-9d0f-ba47c46c9987:localhost:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:Node aba6fa37-00e8-4477-9fba-e2ee68377e41 :: false 2021-03-21 22:56:25 | [Mutex] waiting for: [received:nodes:7e764c15-cd21-43ac-97aa-33f37435c0ac:localhost] 2021-03-21 22:56:25 | [Mutex] received everything. 2021-03-21 22:56:25 | [Mutex] isItemNotified: received:node:7e764c15-cd21-43ac-97aa-33f37435c0ac:localhost:node-aba6fa37-00e8-4477-9fba-e2ee68377e41:Node aba6fa37-00e8-4477-9fba-e2ee68377e41 :: false |
publishItemsToNodes | 0.223s |
2021-03-21 22:56:22 |
2021-03-21 22:56:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:22 | ------------------------------------ 2021-03-21 22:56:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node><item-id>item-b4ae34eb-53dd-4109-806a-e4bead9716ac</item-id><entry><test>item-b4ae34eb-53dd-4109-806a-e4bead9716ac</test></entry></data> 2021-03-21 22:56:22 | 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-b4ae34eb-53dd-4109-806a-e4bead9716ac</value></item-id></result> 2021-03-21 22:56:22 | [Mutex] waiting for: [published:item:notifieditem-b4ae34eb-53dd-4109-806a-e4bead9716ac:admin@test-domain.com] 2021-03-21 22:56:22 | [Mutex] received everything. 2021-03-21 22:56:22 | [Mutex] isItemNotified: published:item:notifieditem-b4ae34eb-53dd-4109-806a-e4bead9716ac:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2021-03-21 22:56:22 |
2021-03-21 22:56:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:22 | ------------------------------------ 2021-03-21 22:56:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node><item-id>item-b4ae34eb-53dd-4109-806a-e4bead9716ac</item-id></data> 2021-03-21 22:56:23 | 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-b4ae34eb-53dd-4109-806a-e4bead9716ac</value></item-id></result> 2021-03-21 22:56:23 | [Mutex] received everything. 2021-03-21 22:56:23 | [Mutex] isItemNotified: retracted:item:notifieditem-b4ae34eb-53dd-4109-806a-e4bead9716ac:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.395s |
2021-03-21 22:56:22 |
2021-03-21 22:56:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:22 | ------------------------------------ 2021-03-21 22:56:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node><item-id>item-b4ae34eb-53dd-4109-806a-e4bead9716ac</item-id></data> 2021-03-21 22:56:22 | 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-aba6fa37-00e8-4477-9fba-e2ee68377e41</value></node><item-id label="Item ID" type="text-single"><value>item-b4ae34eb-53dd-4109-806a-e4bead9716ac</value></item-id><item label="Item" type="text-multi"><value><item id="item-b4ae34eb-53dd-4109-806a-e4bead9716ac"><test>item-b4ae34eb-53dd-4109-806a-e4bead9716ac</test></item></value></item></result> 2021-03-21 22:56:22 | [Mutex] notify: [retrieved:item:item-b4ae34eb-53dd-4109-806a-e4bead9716ac:payload-matches:true:localhost] 2021-03-21 22:56:22 | [Mutex] received everything. 2021-03-21 22:56:22 | [Mutex] isItemNotified: retrieved:item:item-b4ae34eb-53dd-4109-806a-e4bead9716ac:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2021-03-21 22:56:22 |
2021-03-21 22:56:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:22 | ------------------------------------ 2021-03-21 22:56:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-21 22:56:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-980ab17d-97a1-4aa7-9017-8e46328ddca1</value><value>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.067s |
2021-03-21 22:56:22 |
2021-03-21 22:56:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:22 | ------------------------------------ 2021-03-21 22:56:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aba6fa37-00e8-4477-9fba-e2ee68377e41)</node-pattern></data> 2021-03-21 22:56:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.131s |
2021-03-21 22:56:20 |
2021-03-21 22:56:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:20 | ------------------------------------ 2021-03-21 22:56:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-21 22:56:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.359s |
2021-03-21 22:56:23 |
2021-03-21 22:56:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-21 22:56:23 | ------------------------------------ 2021-03-21 22:56:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-aba6fa37-00e8-4477-9fba-e2ee68377e41</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-21 22:56:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |