Test duration : 9.598s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.136s |
2022-09-23 06:16:25 |
2022-09-23 06:16:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:25 | ------------------------------------ 2022-09-23 06:16:25 | [Mutex] waiting for: [configured:node:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:node-6fed1f7e-00fe-4610-b6ff-548e99fd9716] 2022-09-23 06:16:25 | [Mutex] received everything. 2022-09-23 06:16:25 | [Mutex] isItemNotified: configured:node:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:node-6fed1f7e-00fe-4610-b6ff-548e99fd9716 :: true 2022-09-23 06:16:26 | [Mutex] waiting for: [received:nodes:ec49b1ea-44de-437c-adba-5104dc997ad5:localhost] 2022-09-23 06:16:26 | [Mutex] received everything. 2022-09-23 06:16:26 | [Mutex] isItemNotified: received:node:ec49b1ea-44de-437c-adba-5104dc997ad5:localhost:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:Node e3bb0f39-bc46-490f-ae38-c9948fcd4b00 :: true 2022-09-23 06:16:26 | [Mutex] waiting for: [received:nodes:e4bdc12e-b62f-4e97-8352-a42eb885bf74:localhost] 2022-09-23 06:16:26 | [Mutex] received everything. 2022-09-23 06:16:26 | [Mutex] isItemNotified: received:node:e4bdc12e-b62f-4e97-8352-a42eb885bf74:localhost:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:Node e3bb0f39-bc46-490f-ae38-c9948fcd4b00 :: false |
createNodes | 1.413s |
2022-09-23 06:16:22 |
2022-09-23 06:16:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:22 | ------------------------------------ 2022-09-23 06:16:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e3bb0f39-bc46-490f-ae38-c9948fcd4b00</title></pubsub></data> 2022-09-23 06:16:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:16:24 | [Mutex] waiting for: [received:nodes:e8a3e6b8-5ed4-458a-9c3f-ed04443c05a6:localhost] 2022-09-23 06:16:24 | [Mutex] waiting for: [received:nodes:e8a3e6b8-5ed4-458a-9c3f-ed04443c05a6:localhost] 2022-09-23 06:16:24 | [Mutex] received everything. 2022-09-23 06:16:24 | [Mutex] isItemNotified: received:node:e8a3e6b8-5ed4-458a-9c3f-ed04443c05a6:localhost:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:Node e3bb0f39-bc46-490f-ae38-c9948fcd4b00 :: true |
createSubnodes | 1.031s |
2022-09-23 06:16:24 |
2022-09-23 06:16:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:24 | ------------------------------------ 2022-09-23 06:16:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6fed1f7e-00fe-4610-b6ff-548e99fd9716</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6fed1f7e-00fe-4610-b6ff-548e99fd9716</title></pubsub></data> 2022-09-23 06:16:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:16:25 | [Mutex] waiting for: [received:nodes:ef95f658-a419-4abc-b900-6c833a0ef22a:localhost] 2022-09-23 06:16:25 | [Mutex] received everything. 2022-09-23 06:16:25 | [Mutex] isItemNotified: received:node:ef95f658-a419-4abc-b900-6c833a0ef22a:localhost:node-6fed1f7e-00fe-4610-b6ff-548e99fd9716:Node 6fed1f7e-00fe-4610-b6ff-548e99fd9716 :: true |
deleteNodes | 1.018s |
2022-09-23 06:16:30 |
2022-09-23 06:16:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:30 | ------------------------------------ 2022-09-23 06:16:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6fed1f7e-00fe-4610-b6ff-548e99fd9716</node></data> 2022-09-23 06:16:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:16:31 | [Mutex] waiting for: [received:nodes:1f28cb67-f576-4a3b-b67b-70179de2be30:localhost] 2022-09-23 06:16:31 | [Mutex] received everything. 2022-09-23 06:16:31 | [Mutex] isItemNotified: received:node:1f28cb67-f576-4a3b-b67b-70179de2be30:localhost:node-6fed1f7e-00fe-4610-b6ff-548e99fd9716:Node 6fed1f7e-00fe-4610-b6ff-548e99fd9716 :: false |
deleteSubnodes | 1.192s |
2022-09-23 06:16:29 |
2022-09-23 06:16:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:29 | ------------------------------------ 2022-09-23 06:16:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node></data> 2022-09-23 06:16:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-23 06:16:30 | [Mutex] waiting for: [received:nodes:4fd97d34-e20b-42fb-ad36-b3cbe9660f89:localhost] 2022-09-23 06:16:30 | [Mutex] waiting for: [received:nodes:4fd97d34-e20b-42fb-ad36-b3cbe9660f89:localhost] 2022-09-23 06:16:30 | [Mutex] received everything. 2022-09-23 06:16:30 | [Mutex] isItemNotified: received:node:4fd97d34-e20b-42fb-ad36-b3cbe9660f89:localhost:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:Node e3bb0f39-bc46-490f-ae38-c9948fcd4b00 :: false 2022-09-23 06:16:30 | [Mutex] waiting for: [received:nodes:12b45fda-cd79-4f31-a521-6403c4d1a479:localhost] 2022-09-23 06:16:30 | [Mutex] received everything. 2022-09-23 06:16:30 | [Mutex] isItemNotified: received:node:12b45fda-cd79-4f31-a521-6403c4d1a479:localhost:node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00:Node e3bb0f39-bc46-490f-ae38-c9948fcd4b00 :: false |
publishItemsToNodes | 0.194s |
2022-09-23 06:16:27 |
2022-09-23 06:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:27 | ------------------------------------ 2022-09-23 06:16:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node><item-id>item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</item-id><entry><test>item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</test></entry></data> 2022-09-23 06:16:27 | 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-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</value></item-id></result> 2022-09-23 06:16:27 | [Mutex] received everything. 2022-09-23 06:16:27 | [Mutex] isItemNotified: published:item:notifieditem-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-09-23 06:16:27 |
2022-09-23 06:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:27 | ------------------------------------ 2022-09-23 06:16:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node><item-id>item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</item-id></data> 2022-09-23 06:16:28 | 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-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</value></item-id></result> 2022-09-23 06:16:28 | [Mutex] received everything. 2022-09-23 06:16:28 | [Mutex] isItemNotified: retracted:item:notifieditem-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2022-09-23 06:16:27 |
2022-09-23 06:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:27 | ------------------------------------ 2022-09-23 06:16:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node><item-id>item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</item-id></data> 2022-09-23 06:16:27 | 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-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</value></node><item-id label="Item ID" type="text-single"><value>item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</value></item-id><item label="Item" type="text-multi"><value><item id="item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0"><test>item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0</test></item></value></item></result> 2022-09-23 06:16:27 | [Mutex] notify: [retrieved:item:item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0:payload-matches:true:localhost] 2022-09-23 06:16:27 | [Mutex] received everything. 2022-09-23 06:16:27 | [Mutex] isItemNotified: retrieved:item:item-2bd57a1f-6da0-41e0-849c-586d1cf0eeb0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-23 06:16:27 |
2022-09-23 06:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:27 | ------------------------------------ 2022-09-23 06:16:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-23 06:16:27 | 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-6fed1f7e-00fe-4610-b6ff-548e99fd9716</value><value>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-09-23 06:16:27 |
2022-09-23 06:16:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:27 | ------------------------------------ 2022-09-23 06:16:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00)</node-pattern></data> 2022-09-23 06:16:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.120s |
2022-09-23 06:16:26 |
2022-09-23 06:16:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:26 | ------------------------------------ 2022-09-23 06:16:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-23 06:16:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.247s |
2022-09-23 06:16:28 |
2022-09-23 06:16:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-23 06:16:28 | ------------------------------------ 2022-09-23 06:16:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e3bb0f39-bc46-490f-ae38-c9948fcd4b00</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-23 06:16:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |